|
Jive reference manual
|
#include <jem/util/HashSet.h>
Public Types | |
| typedef HashSetTraits< T, Alloc > | Traits |
| typedef HashTable< Traits > | Table |
| typedef Table::ValueType | ValueType |
| typedef Table::Iterator | Iterator |
| typedef Table::ConstIterator | ConstIterator |
Public Member Functions | |
| HashSet () | |
| HashSet (idx_t cap) | |
| HashSet (const HashSet &rhs) | |
| template<class InputIterator > | |
| HashSet (InputIterator first, InputIterator last) | |
| Iterator | begin () |
| ConstIterator | begin () const |
| Iterator | end () |
| ConstIterator | end () const |
| HashSet & | operator= (const HashSet &rhs) |
| void | swap (HashSet &rhs) |
| bool | contains (const ValueType &item) const |
| Iterator | find (const ValueType &item) |
| ConstIterator | find (const ValueType &item) const |
| Iterator | insert (const ValueType &item) |
| template<class InputIterator > | |
| void | insert (InputIterator first, InputIterator last) |
| void | erase (const ValueType &item) |
| void | erase (Iterator pos) |
| void | clear () |
| void | reserve (idx_t n) |
| void | trimToSize () |
| idx_t | capacity () const |
| idx_t | size () const |
| template<class Output > | |
| void | printStats (Output &out) const |
| typedef HashSetTraits<T,Alloc> jem::util::HashSet< T, Alloc >::Traits |
| typedef HashTable<Traits> jem::util::HashSet< T, Alloc >::Table |
| typedef Table::ValueType jem::util::HashSet< T, Alloc >::ValueType |
| typedef Table::Iterator jem::util::HashSet< T, Alloc >::Iterator |
| typedef Table::ConstIterator jem::util::HashSet< T, Alloc >::ConstIterator |
| jem::util::HashSet< T, Alloc >::HashSet | ( | ) |
|
explicit |
| jem::util::HashSet< T, Alloc >::HashSet | ( | const HashSet< T, Alloc > & | rhs | ) |
| jem::util::HashSet< T, Alloc >::HashSet | ( | InputIterator | first, |
| InputIterator | last | ||
| ) |
| Iterator jem::util::HashSet< T, Alloc >::begin | ( | ) |
| ConstIterator jem::util::HashSet< T, Alloc >::begin | ( | ) | const |
| Iterator jem::util::HashSet< T, Alloc >::end | ( | ) |
| ConstIterator jem::util::HashSet< T, Alloc >::end | ( | ) | const |
| HashSet& jem::util::HashSet< T, Alloc >::operator= | ( | const HashSet< T, Alloc > & | rhs | ) |
| void jem::util::HashSet< T, Alloc >::swap | ( | HashSet< T, Alloc > & | rhs | ) |
| bool jem::util::HashSet< T, Alloc >::contains | ( | const ValueType & | item | ) | const |
| Iterator jem::util::HashSet< T, Alloc >::find | ( | const ValueType & | item | ) |
| ConstIterator jem::util::HashSet< T, Alloc >::find | ( | const ValueType & | item | ) | const |
| Iterator jem::util::HashSet< T, Alloc >::insert | ( | const ValueType & | item | ) |
| void jem::util::HashSet< T, Alloc >::insert | ( | InputIterator | first, |
| InputIterator | last | ||
| ) |
| void jem::util::HashSet< T, Alloc >::erase | ( | const ValueType & | item | ) |
| void jem::util::HashSet< T, Alloc >::erase | ( | Iterator | pos | ) |
| void jem::util::HashSet< T, Alloc >::clear | ( | ) |
| void jem::util::HashSet< T, Alloc >::reserve | ( | idx_t | n | ) |
| void jem::util::HashSet< T, Alloc >::trimToSize | ( | ) |
| idx_t jem::util::HashSet< T, Alloc >::capacity | ( | ) | const |
| idx_t jem::util::HashSet< T, Alloc >::size | ( | ) | const |
| void jem::util::HashSet< T, Alloc >::printStats | ( | Output & | out | ) | const |