• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

WTF

  • WTF
  • HashCountedSet
Public Types | Public Member Functions

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

 HashCountedSet ()
std::pair< iterator, bool > add (const ValueType &value)
iterator begin ()
const_iterator begin () const
int capacity () const
void clear ()
bool contains (const ValueType &value) const
unsigned count (const ValueType &value) const
const_iterator end () const
iterator end ()
iterator find (const ValueType &value)
const_iterator find (const ValueType &value) const
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 36 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 42 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 41 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 40 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 44 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 144 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 96 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 108 of file HashCountedSet.h.

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

Definition at line 84 of file HashCountedSet.h.

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

Definition at line 173 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 132 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 138 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 102 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 114 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 126 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 120 of file HashCountedSet.h.

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

Definition at line 90 of file HashCountedSet.h.

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

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

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

Definition at line 78 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
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
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