WTF
WTF::HashCountedSet< Value, HashFunctions, Traits > Class Template Reference
#include <HashCountedSet.h>
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.
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 |
Member Typedef Documentation
typedef ImplType::const_iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::const_iterator |
Definition at line 39 of file HashCountedSet.h.
typedef ImplType::iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::iterator |
Definition at line 38 of file HashCountedSet.h.
typedef Value WTF::HashCountedSet< Value, HashFunctions, Traits >::ValueType |
Definition at line 37 of file HashCountedSet.h.
Constructor & Destructor Documentation
WTF::HashCountedSet< Value, HashFunctions, Traits >::HashCountedSet | ( | ) | [inline] |
Definition at line 41 of file HashCountedSet.h.
Member Function Documentation
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.
HashCountedSet< Value, HashFunctions, Traits >::const_iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::begin | ( | ) | const [inline] |
Definition at line 105 of file HashCountedSet.h.
HashCountedSet< Value, HashFunctions, Traits >::iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::begin | ( | ) | [inline] |
Definition at line 93 of file HashCountedSet.h.
int WTF::HashCountedSet< Value, HashFunctions, Traits >::capacity | ( | ) | const [inline] |
Definition at line 81 of file HashCountedSet.h.
void WTF::HashCountedSet< Value, HashFunctions, Traits >::clear | ( | ) | [inline] |
Definition at line 170 of file HashCountedSet.h.
bool WTF::HashCountedSet< Value, HashFunctions, Traits >::contains | ( | const ValueType & | value | ) | const [inline] |
Definition at line 129 of file HashCountedSet.h.
unsigned WTF::HashCountedSet< Value, HashFunctions, Traits >::count | ( | const ValueType & | value | ) | const [inline] |
Definition at line 135 of file HashCountedSet.h.
HashCountedSet< Value, HashFunctions, Traits >::const_iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::end | ( | ) | const [inline] |
Definition at line 111 of file HashCountedSet.h.
HashCountedSet< Value, HashFunctions, Traits >::iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::end | ( | ) | [inline] |
Definition at line 99 of file HashCountedSet.h.
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.
HashCountedSet< Value, HashFunctions, Traits >::iterator WTF::HashCountedSet< Value, HashFunctions, Traits >::find | ( | const ValueType & | value | ) | [inline] |
Definition at line 117 of file HashCountedSet.h.
bool WTF::HashCountedSet< Value, HashFunctions, Traits >::isEmpty | ( | ) | const [inline] |
Definition at line 87 of file HashCountedSet.h.
void WTF::HashCountedSet< Value, HashFunctions, Traits >::remove | ( | iterator | it | ) | [inline] |
Definition at line 155 of file HashCountedSet.h.
void WTF::HashCountedSet< Value, HashFunctions, Traits >::remove | ( | const ValueType & | value | ) | [inline] |
Definition at line 149 of file HashCountedSet.h.
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: