Tools.h++ Class Reference

Table Of Contents
Related Classes
Class RWTValHashMap<K,T,H,EQ> offers the same interface to a collection that will not accept
multiple keys that compare equal to each other.
Class rw_hashmultimap<K,T,H,EQ> is the C++-standard collection that serves as the underlying
implementation for this collection.
Public Typedefs
typedef rw_hashmultimap<K,T,H,EQ> container_type;
typedef container_type::iterator iterator;
typedef container_type::const_iterator const_iterator;
typedef container_type::size_type size_type;
typedef pair <const K,T> value_type;
typedef pair <const K,T>& reference;
typedef const pair<const K,T>& const_reference;
Public Constructors
RWTValHashMultiMap<K,T,H,EQ>();
Constructs an empty map.
RWTValHashMultiMap<K,T,H,EQ>
(const rw_hashmultimap<K,T,H,EQ>& m);
Constructs a map by copying all elements of m.
RWTValHashMultiMap<K,T,H,EQ>
(const RWTValHashMultiMap<K,T,H,EQ>& rwm);
Copy constructor.
RWTValHashMultiMap<K,T,H,EQ>
(const value_type* first, const value_type* last);
Constructs a map by copying elements from the array of association pairs pointed to by first,
up to, but not including, the association pointed to by last.
Public Member Operators
RWTValHashMultiMap<K,T,H,EQ>&
operator=(const RWTValHashMultiMap<K,T,H,EQ>& m);
RWTValHashMultiMap<K,T,H,EQ>&
operator=(const rw_hashmultimap<K,T,H,EQ>& m);
Destroys all elements of self and replaces them by copying all associations from m.
bool
operator==(const RWTValHashMultiMap<K,T,H,EQ>& m) const;