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

WTF

WTF::HashSet

WTF::HashSet< ValueArg, HashArg, TraitsArg > Class Template Reference

#include <HashSet.h>

List of all members.


Detailed Description

template<typename ValueArg, typename HashArg = typename DefaultHash<ValueArg>::Hash, typename TraitsArg = HashTraits<ValueArg>>
class WTF::HashSet< ValueArg, HashArg, TraitsArg >

Definition at line 38 of file HashSet.h.


Public Types

typedef ValueTraits::TraitType ValueType
typedef
HashTableIteratorAdapter
< HashTableType, ValueType > 
iterator
typedef
HashTableConstIteratorAdapter
< HashTableType, ValueType > 
const_iterator

Public Member Functions

 HashSet ()
 HashSet (const HashSet &)
HashSet & operator= (const HashSet &)
 ~HashSet ()
void swap (HashSet &)
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 &)
const_iterator find (const ValueType &) const
bool contains (const ValueType &) const
pair< iterator, bool > add (const ValueType &)
template<typename T, typename HashTranslator>
pair< iterator, bool > add (const T &)
void remove (const ValueType &)
void remove (iterator)
void clear ()

Friends

void deleteAllValues (const HashSet &)

Member Typedef Documentation

template<typename ValueArg, typename HashArg = typename DefaultHash<ValueArg>::Hash, typename TraitsArg = HashTraits<ValueArg>>
typedef ValueTraits::TraitType WTF::HashSet< ValueArg, HashArg, TraitsArg >::ValueType

Definition at line 52 of file HashSet.h.

template<typename ValueArg, typename HashArg = typename DefaultHash<ValueArg>::Hash, typename TraitsArg = HashTraits<ValueArg>>
typedef HashTableIteratorAdapter<HashTableType, ValueType> WTF::HashSet< ValueArg, HashArg, TraitsArg >::iterator

Definition at line 53 of file HashSet.h.

template<typename ValueArg, typename HashArg = typename DefaultHash<ValueArg>::Hash, typename TraitsArg = HashTraits<ValueArg>>
typedef HashTableConstIteratorAdapter<HashTableType, ValueType> WTF::HashSet< ValueArg, HashArg, TraitsArg >::const_iterator

Definition at line 54 of file HashSet.h.


Constructor & Destructor Documentation

template<typename T, typename U, typename V>
WTF::HashSet< T, U, V >::HashSet (  )  [inline]

Definition at line 172 of file HashSet.h.

template<typename T, typename U, typename V>
WTF::HashSet< T, U, V >::HashSet ( const HashSet< ValueArg, HashArg, TraitsArg > &  other  )  [inline]

Definition at line 177 of file HashSet.h.

template<typename T, typename U, typename V>
WTF::HashSet< T, U, V >::~HashSet (  )  [inline]

Definition at line 198 of file HashSet.h.


Member Function Documentation

template<typename T, typename U, typename V>
HashSet< T, U, V > & WTF::HashSet< T, U, V >::operator= ( const HashSet< ValueArg, HashArg, TraitsArg > &  other  )  [inline]

Definition at line 184 of file HashSet.h.

template<typename T, typename U, typename V>
void WTF::HashSet< T, U, V >::swap ( HashSet< ValueArg, HashArg, TraitsArg > &  other  )  [inline]

Definition at line 192 of file HashSet.h.

template<typename T, typename U, typename V>
int WTF::HashSet< T, U, V >::size (  )  const [inline]

Definition at line 204 of file HashSet.h.

template<typename T, typename U, typename V>
int WTF::HashSet< T, U, V >::capacity (  )  const [inline]

Definition at line 210 of file HashSet.h.

template<typename T, typename U, typename V>
bool WTF::HashSet< T, U, V >::isEmpty (  )  const [inline]

Definition at line 216 of file HashSet.h.

template<typename T, typename U, typename V>
HashSet< T, U, V >::iterator WTF::HashSet< T, U, V >::begin (  )  [inline]

Definition at line 222 of file HashSet.h.

template<typename T, typename U, typename V>
HashSet< T, U, V >::iterator WTF::HashSet< T, U, V >::end (  )  [inline]

Definition at line 228 of file HashSet.h.

template<typename T, typename U, typename V>
HashSet< T, U, V >::const_iterator WTF::HashSet< T, U, V >::begin (  )  const [inline]

Definition at line 234 of file HashSet.h.

template<typename T, typename U, typename V>
HashSet< T, U, V >::const_iterator WTF::HashSet< T, U, V >::end (  )  const [inline]

Definition at line 240 of file HashSet.h.

template<typename T, typename U, typename V>
HashSet< T, U, V >::iterator WTF::HashSet< T, U, V >::find ( const ValueType &  value  )  [inline]

Definition at line 246 of file HashSet.h.

template<typename T, typename U, typename V>
HashSet< T, U, V >::const_iterator WTF::HashSet< T, U, V >::find ( const ValueType &  value  )  const [inline]

Definition at line 252 of file HashSet.h.

template<typename T, typename U, typename V>
bool WTF::HashSet< T, U, V >::contains ( const ValueType &  value  )  const [inline]

Definition at line 258 of file HashSet.h.

template<typename T, typename U, typename V>
pair< typename HashSet< T, U, V >::iterator, bool > WTF::HashSet< T, U, V >::add ( const ValueType &  value  )  [inline]

Definition at line 264 of file HashSet.h.

template<typename Value, typename HashFunctions, typename Traits>
template<typename T, typename Translator>
pair< typename HashSet< Value, HashFunctions, Traits >::iterator, bool > WTF::HashSet< Value, HashFunctions, Traits >::add ( const T &  value  )  [inline]

Definition at line 274 of file HashSet.h.

template<typename T, typename U, typename V>
void WTF::HashSet< T, U, V >::remove ( const ValueType &  value  )  [inline]

Definition at line 291 of file HashSet.h.

template<typename T, typename U, typename V>
void WTF::HashSet< T, U, V >::remove ( iterator  it  )  [inline]

Definition at line 282 of file HashSet.h.

template<typename T, typename U, typename V>
void WTF::HashSet< T, U, V >::clear (  )  [inline]

Definition at line 297 of file HashSet.h.


Friends And Related Function Documentation

template<typename ValueArg, typename HashArg = typename DefaultHash<ValueArg>::Hash, typename TraitsArg = HashTraits<ValueArg>>
void deleteAllValues ( const HashSet< ValueArg, HashArg, TraitsArg > &   )  [friend]


The documentation for this class was generated from the following file:
  • HashSet.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