| Polaris: KeyDatabase< S, T > Class Template Reference | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members
KeyDatabase< S, T > Class Template Reference#include <KeyDatabase.h>
Inheritance diagram for KeyDatabase< S, T >: ![]()
Detailed Descriptiontemplate<class S, class T>
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||
|
< nothing to do Definition at line 87 of file KeyDatabase.h. |
|
||||||||||
|
< Invoke copy constructor Definition at line 94 of file KeyDatabase.h. |
|
|||||||||
|
< Delete the information before the class disappears. Definition at line 102 of file KeyDatabase.h. References BaseMapRoot::clear(). |
|
||||||||||
|
kill key
Reimplemented from BaseMapRoot. Definition at line 78 of file KeyDatabase.h. |
|
||||||||||||||||
|
Insert element with (key, data) into the database, 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 110 of file KeyDatabase.h. References BMKey::_keyptr, BaseMapRoot::ins(), and BaseMapRoot::remove(). Referenced by clone_loop(), clone_loop_body(), and KeyDatabase< S, T >::operator=(). |
|
||||||||||
|
delete element with key del_key
Definition at line 128 of file KeyDatabase.h. References BMKey::_keyptr, and BaseMapRoot::remove(). |
|
||||||||||||||||||||
|
print database to out with sep1 between key and data and sep2 between each element of the database
Definition at line 145 of file KeyDatabase.h. References BMKey::_keyptr, and ProtoDatabase< S, T >::_print(). Referenced by KeyDatabase< S, T >::print(). |
|
||||||||||
|
Copy operator completely copies the KeyDatabase. < Clear out current map < Copy all the items one by one Definition at line 161 of file KeyDatabase.h. References BaseMapRoot::clear(), and KeyDatabase< S, T >::ins(). |
|
|||||||||
|
Needed for Listable class.
Implements Listable. Definition at line 177 of file KeyDatabase.h. |
|
||||||||||
|
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 KeyDatabase.h. References KeyDatabase< S, T >::print(). |
| © 1995-2005 University of Illinois, Urbana-Champaign. All rights reserved. | Fri Mar 25 23:07:39 2005 |