• Skip to content
  • Skip to link menu
KDE 4.2 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.


Public Types

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

Public Member Functions

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

Detailed Description

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

Definition at line 33 of file HashCountedSet.h.


Member Typedef Documentation

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 39 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 38 of file HashCountedSet.h.

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

Definition at line 37 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 41 of file HashCountedSet.h.


Member Function Documentation

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 141 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 105 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 93 of file HashCountedSet.h.

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

Definition at line 81 of file HashCountedSet.h.

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

Definition at line 170 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 129 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 135 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 111 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 99 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 123 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 117 of file HashCountedSet.h.

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

Definition at line 87 of file HashCountedSet.h.

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

Definition at line 155 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 149 of file HashCountedSet.h.

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

Definition at line 75 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
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
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