| Polaris: KeyMap< S, T > Class Template Reference | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
KeyMap< S, T > Class Template Reference#include <KeyMap.h>
Inheritance diagram for KeyMap< S, T >: ![]()
Detailed Descriptiontemplate<class S, class T>
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||
|
< nothing to do |
|
||||||||||
|
< Invoke copy constructor |
|
|||||||||
|
< Delete the information before the class disappears. Definition at line 119 of file KeyMap.h. References BaseMapRoot::clear(). |
|
||||||||||
|
kill key
Reimplemented from BaseMapRoot. |
|
||||||||||||||||
|
Insert element with (key, data) into the map, and return a reference to '*data' (for purposes of programming convenience). If a node with an equivalent key already exists, delete the old one and replace it with the new one. Definition at line 127 of file KeyMap.h. References BMKey::_keyptr, BaseMapRoot::ins(), and BaseMapRoot::remove(). Referenced by main(), and KeyMap< S, T >::operator=(). |
|
||||||||||
|
delete element with key del_key
Definition at line 146 of file KeyMap.h. References BMKey::_keyptr, and BaseMapRoot::remove(). Referenced by main(). |
|
||||||||||||||||||||
|
print map to out with sep1 between key and data and sep2 between each element of the map
Reimplemented from ProtoMap< S, T >. Definition at line 88 of file KeyMap.h. References BMKey::_keyptr, and ProtoMap< S, T >::_print(). Referenced by KeyMap< S, T >::print(). |
|
||||||||||
|
Copy operator completely copies the KeyMap. < Clear out current map < Copy all the items one by one Definition at line 161 of file KeyMap.h. References BaseMapRoot::clear(), and KeyMap< S, T >::ins(). |
|
|||||||||
|
Needed for Listable class.
Implements Listable. |
|
||||||||||
|
Needed for Listable class. It invokes a non-virtual member function to print a representation of the data structure at this level of the Collection hierarchy, and, since it is not a class member function, it must be explicitly instantiated before use. Implements Listable. Definition at line 184 of file KeyMap.h. References KeyMap< S, T >::print(). |
| © 1995-2005 University of Illinois, Urbana-Champaign. All rights reserved. | Fri Mar 25 23:07:39 2005 |