• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

WTF

WTF::HashCountedSet

WTF::HashCountedSet< Value, HashFunctions, Traits > Class Template Reference

#include <HashCountedSet.h>

List of all members.


Detailed Description

template<typename Value, typename HashFunctions = typename DefaultHash<Value>::Hash, typename Traits = HashTraits<Value>>
class WTF::HashCountedSet< Value, HashFunctions, Traits >

Definition at line 32 of file HashCountedSet.h.


Public Types

typedef Value ValueType
typedef ImplType::iterator iterator
typedef ImplType::const_iterator const_iterator

Public Member Functions

 HashCountedSet ()
int size () const
int capacity () const
bool isEmpty () const
iterator begin ()
iterator end ()
const_iterator begin () const
const_iterator end () const
iterator find (const ValueType &value)
const_iterator find (const ValueType &value) const
bool contains (const ValueType &value) const
unsigned count (const ValueType &value) const
std::pair< iterator, bool > add (const ValueType &value)
void remove (const ValueType &value)
void remove (iterator it)
void clear ()

Member Typedef Documentation

template<typename Value, typename HashFunctions = typename DefaultHash<Value>::Hash, typename Traits = HashTraits<Value>>
typedef Value WTF::HashCountedSet< Value, HashFunctions, Traits >::ValueType

Definition at line 36 of file HashCountedSet.h.

template<typename Value, typename HashFunctions = typename DefaultHash<Value>::Hash, typename Traits = HashTraits<Value>>
typedef ImplType::iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::iterator

Definition at line 37 of file HashCountedSet.h.

template<typename Value, typename HashFunctions = typename DefaultHash<Value>::Hash, typename Traits = HashTraits<Value>>
typedef ImplType::const_iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::const_iterator

Definition at line 38 of file HashCountedSet.h.


Constructor & Destructor Documentation

template<typename Value, typename HashFunctions = typename DefaultHash<Value>::Hash, typename Traits = HashTraits<Value>>
WTF::HashCountedSet< Value, HashFunctions, Traits >::HashCountedSet (  )  [inline]

Definition at line 40 of file HashCountedSet.h.


Member Function Documentation

template<typename Value, typename HashFunctions, typename Traits>
int WTF::HashCountedSet< Value, HashFunctions, Traits >::size (  )  const [inline]

Definition at line 74 of file HashCountedSet.h.

template<typename Value, typename HashFunctions, typename Traits>
int WTF::HashCountedSet< Value, HashFunctions, Traits >::capacity (  )  const [inline]

Definition at line 80 of file HashCountedSet.h.

template<typename Value, typename HashFunctions, typename Traits>
bool WTF::HashCountedSet< Value, HashFunctions, Traits >::isEmpty (  )  const [inline]

Definition at line 86 of file HashCountedSet.h.

template<typename Value, typename HashFunctions, typename Traits>
HashCountedSet< Value, HashFunctions, Traits >::iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::begin (  )  [inline]

Definition at line 92 of file HashCountedSet.h.

template<typename Value, typename HashFunctions, typename Traits>
HashCountedSet< Value, HashFunctions, Traits >::iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::end (  )  [inline]

Definition at line 98 of file HashCountedSet.h.

template<typename Value, typename HashFunctions, typename Traits>
HashCountedSet< Value, HashFunctions, Traits >::const_iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::begin (  )  const [inline]

Definition at line 104 of file HashCountedSet.h.

template<typename Value, typename HashFunctions, typename Traits>
HashCountedSet< Value, HashFunctions, Traits >::const_iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::end (  )  const [inline]

Definition at line 110 of file HashCountedSet.h.

template<typename Value, typename HashFunctions, typename Traits>
HashCountedSet< Value, HashFunctions, Traits >::iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::find ( const ValueType &  value  )  [inline]

Definition at line 116 of file HashCountedSet.h.

template<typename Value, typename HashFunctions, typename Traits>
HashCountedSet< Value, HashFunctions, Traits >::const_iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::find ( const ValueType &  value  )  const [inline]

Definition at line 122 of file HashCountedSet.h.

template<typename Value, typename HashFunctions, typename Traits>
bool WTF::HashCountedSet< Value, HashFunctions, Traits >::contains ( const ValueType &  value  )  const [inline]

Definition at line 128 of file HashCountedSet.h.

template<typename Value, typename HashFunctions, typename Traits>
unsigned WTF::HashCountedSet< Value, HashFunctions, Traits >::count ( const ValueType &  value  )  const [inline]

Definition at line 134 of file HashCountedSet.h.

template<typename Value, typename HashFunctions, typename Traits>
std::pair< typename HashCountedSet< Value, HashFunctions, Traits >::iterator, bool > WTF::HashCountedSet< Value, HashFunctions, Traits >::add ( const ValueType &  value  )  [inline]

Definition at line 140 of file HashCountedSet.h.

template<typename Value, typename HashFunctions, typename Traits>
void WTF::HashCountedSet< Value, HashFunctions, Traits >::remove ( const ValueType &  value  )  [inline]

Definition at line 148 of file HashCountedSet.h.

template<typename Value, typename HashFunctions, typename Traits>
void WTF::HashCountedSet< Value, HashFunctions, Traits >::remove ( iterator  it  )  [inline]

Definition at line 154 of file HashCountedSet.h.

template<typename Value, typename HashFunctions, typename Traits>
void WTF::HashCountedSet< Value, HashFunctions, Traits >::clear (  )  [inline]

Definition at line 169 of file HashCountedSet.h.


The documentation for this class was generated from the following file:
  • HashCountedSet.h

WTF

Skip menu "WTF"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   WTF
  • KJSEmbed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  •   core
  • Phonon
  •   Backend
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal