GATE
gate::HashMap< KEY, VALUE, COMPARER, HASHGEN > Class Template Reference

Classes

class  const_iterator
 
class  iterator
 

Public Types

typedef KEY key_t
 
typedef VALUE value_t
 
typedef HashMap< KEY, VALUE, COMPARER, HASHGEN > self_t
 
typedef COMPARER key_comparer_t
 
typedef HASHGEN hash_gen_t
 
typedef Mapping< KEY, VALUE > mapping_t
 
typedef Enumerator< const_iteratorenumerator_t
 

Public Member Functions

 HashMap (self_t const &src)
 
void swap (self_t &that) noexcept
 
self_toperator= (self_t const &src)
 
void add (key_t const &key, value_t const &value)
 
bool_t remove (key_t const &key) noexcept
 
iterator get (key_t const &key) noexcept
 
const_iterator get (key_t const &key) const noexcept
 
const_iterator find (key_t const &key) const noexcept
 
void clear () noexcept
 
size_t count () const noexcept
 
const_iterator cbegin () const noexcept
 
const_iterator cend () const noexcept
 
iterator begin () noexcept
 
iterator end () noexcept
 
const_iterator begin () const noexcept
 
const_iterator end () const noexcept
 
bool_t contains (key_t const &key, value_t const **ptrValue=NULL) const noexcept
 
enumerator_t enumerate () const
 

The documentation for this class was generated from the following file: