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

Public Types

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

Public Member Functions

template<typename T , typename HashTranslator >
pair< iterator, bool > add (const T &)
pair< iterator, bool > add (const ValueType &)
const_iterator begin () const
iterator begin ()
int capacity () const
void clear ()
template<typename T , typename HashTranslator >
bool contains (const T &) const
bool contains (const ValueType &) const
const_iterator end () const
iterator end ()
template<typename T , typename HashTranslator >
const_iterator find (const T &) const
template<typename T , typename HashTranslator >
iterator find (const T &)
const_iterator find (const ValueType &) const
iterator find (const ValueType &)
bool isEmpty () const
void remove (iterator)
void remove (const ValueType &)
int size () const
void swap (HashSet &)

Friends

void deleteAllValues (const HashSet &)

Detailed Description

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

Definition at line 36 of file HashSet.h.


Member Typedef Documentation

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 50 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 49 of file HashSet.h.

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 42 of file HashSet.h.


Member Function Documentation

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 213 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 205 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 149 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 137 of file HashSet.h.

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

Definition at line 125 of file HashSet.h.

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

Definition at line 235 of file HashSet.h.

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

Definition at line 198 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 173 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 155 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 143 of file HashSet.h.

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

Definition at line 190 of file HashSet.h.

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

Definition at line 181 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 167 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 161 of file HashSet.h.

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

Definition at line 131 of file HashSet.h.

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

Definition at line 220 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 229 of file HashSet.h.

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

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