WTF
WTF::HashSet< ValueArg, HashArg, TraitsArg > Class Template Reference
#include <HashSet.h>
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 |
template<typename ValueArg, typename HashArg = typename DefaultHash<ValueArg>::Hash, typename TraitsArg = HashTraits<ValueArg>>
| typedef HashTableIteratorAdapter<HashTableType, ValueType> WTF::HashSet< ValueArg, HashArg, TraitsArg >::iterator |
template<typename ValueArg, typename HashArg = typename DefaultHash<ValueArg>::Hash, typename TraitsArg = HashTraits<ValueArg>>
| typedef ValueTraits::TraitType WTF::HashSet< ValueArg, HashArg, TraitsArg >::ValueType |
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] |
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] |
template<typename T , typename U , typename V >
| HashSet< T, U, V >::const_iterator WTF::HashSet< T, U, V >::begin | ( | ) | const [inline] |
template<typename T , typename U , typename V >
| HashSet< T, U, V >::iterator WTF::HashSet< T, U, V >::begin | ( | ) | [inline] |
template<typename T , typename U , typename V >
| int WTF::HashSet< T, U, V >::capacity | ( | ) | const [inline] |
template<typename T , typename U , typename V >
| void WTF::HashSet< T, U, V >::clear | ( | ) | [inline] |
template<typename Value , typename HashFunctions , typename Traits >
template<typename T , typename Translator >
| bool WTF::HashSet< Value, HashFunctions, Traits >::contains | ( | const T & | value | ) | const [inline] |
template<typename T , typename U , typename V >
| bool WTF::HashSet< T, U, V >::contains | ( | const ValueType & | value | ) | const [inline] |
template<typename T , typename U , typename V >
| HashSet< T, U, V >::const_iterator WTF::HashSet< T, U, V >::end | ( | ) | const [inline] |
template<typename T , typename U , typename V >
| HashSet< T, U, V >::iterator WTF::HashSet< T, U, V >::end | ( | ) | [inline] |
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] |
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] |
template<typename T , typename U , typename V >
| HashSet< T, U, V >::const_iterator WTF::HashSet< T, U, V >::find | ( | const ValueType & | value | ) | const [inline] |
template<typename T , typename U , typename V >
| HashSet< T, U, V >::iterator WTF::HashSet< T, U, V >::find | ( | const ValueType & | value | ) | [inline] |
template<typename T , typename U , typename V >
| bool WTF::HashSet< T, U, V >::isEmpty | ( | ) | const [inline] |
template<typename T , typename U , typename V >
| void WTF::HashSet< T, U, V >::remove | ( | iterator | it | ) | [inline] |
template<typename T , typename U , typename V >
| void WTF::HashSet< T, U, V >::remove | ( | const ValueType & | value | ) | [inline] |
template<typename T , typename U , typename V >
| int WTF::HashSet< T, U, V >::size | ( | ) | const [inline] |
template<typename T , typename U , typename V >
| void WTF::HashSet< T, U, V >::swap | ( | HashSet< ValueArg, HashArg, TraitsArg > & | other | ) | [inline] |
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:
KDE 4.3 API Reference