#include <maptable.h>
Collaboration diagram for IDMapTable< ID, INFO >:

Public Types | |
| typedef IDMapTableNode< ID, INFO > | Node |
Public Member Functions | |
| IDMapTable () | |
| Construct empty map table. | |
| IDMapTable (uint m) | |
| Construct empty map table with specified order of the B-tree. | |
| ~IDMapTable () | |
| Destructor cleans up the map table. | |
| INFO | AddNode (ID id, INFO info, bool *is_known=NULL) |
| Add a node to the ID -> INFO mapping. | |
| INFO | lookup (ID id, bool *was_found=NULL) |
| Perform lookup of ID and return INFO. | |
| void | clear () |
| Clear map table (all information is simply purged). | |
Private Member Functions | |
| IDMapTable (const IDMapTable &) | |
| Do not use:. | |
| void | operator= (const IDMapTable &) |
| Do not use:. | |
Private Attributes | |
| TLBTree< Node, TLDefaultOperators_CDT< Node > > | map |
| This is the actual storage of the information. | |
This class is NOT C++-safe.
Definition at line 80 of file maptable.h.
|
|||||
|
Definition at line 83 of file maptable.h. |
|
||||||||||
|
Do not use:.
|
|
|||||||||
|
Construct empty map table.
Definition at line 95 of file maptable.h. |
|
||||||||||
|
Construct empty map table with specified order of the B-tree.
Definition at line 97 of file maptable.h. |
|
|||||||||
|
Destructor cleans up the map table.
Definition at line 99 of file maptable.h. |
|
||||||||||||||||||||
|
Add a node to the ID -> INFO mapping.
Returns (INFO)0 on success or associated INFO if ID already known. Definition at line 108 of file maptable.h. |
|
|||||||||
|
Clear map table (all information is simply purged).
Definition at line 136 of file maptable.h. |
|
||||||||||||||||
|
Perform lookup of ID and return INFO.
Returns (INFO)0 on failure or associated INFO if ID is found. Definition at line 128 of file maptable.h. |
|
||||||||||
|
Do not use:.
|
|
|||||
|
This is the actual storage of the information.
Definition at line 87 of file maptable.h. |
1.3.5