#include <map_registry.h>
Inheritance diagram for MapRegistry::MapBase:
Definition at line 51 of file map_registry.h.
Public Member Functions | |
MapBase () | |
MapBase (const Graph &g, Registry &r) | |
MapBase (const MapBase ©) | |
const MapBase & | operator= (const MapBase ©) |
virtual | ~MapBase () |
Protected Member Functions | |
virtual void | init () |
virtual void | destroy () |
virtual void | add (const KeyType &)=0 |
virtual void | erase (const KeyType &)=0 |
virtual void | clear ()=0 |
|
Default constructor for MapBase. Definition at line 65 of file map_registry.h. |
|
Simple constructor to register into a graph registry. Definition at line 71 of file map_registry.h. References MapRegistry::attach(). Here is the call graph for this function: ![]() |
|
Copy constructor to register into the registry. Definition at line 79 of file map_registry.h. References MapRegistry::attach(), and MapRegistry::MapBase::registry. Here is the call graph for this function: ![]() |
|
Destructor. Definition at line 104 of file map_registry.h. References MapRegistry::detach(). Here is the call graph for this function: ![]() |
|
Assign operator. Definition at line 88 of file map_registry.h. References MapRegistry::attach(), MapRegistry::detach(), MapRegistry::MapBase::graph, and MapRegistry::MapBase::registry. Here is the call graph for this function: ![]() |
|
Helper function to implement constructors in the subclasses. Definition at line 129 of file map_registry.h. References MapRegistry::MapBase::add(), and lemon::INVALID. Here is the call graph for this function: ![]() |
|
Helper function to implement the destructor in the subclasses. Definition at line 139 of file map_registry.h. References MapRegistry::MapBase::erase(), and lemon::INVALID. Here is the call graph for this function: ![]() |
|
The add member function should be overloaded in the subclasses. Add extends the map with the new node. Implemented in ArrayMap, and VectorMap.
|
|
The erase member function should be overloaded in the subclasses. Erase removes the node from the map. Implemented in ArrayMap, and VectorMap.
|
|
The clear member function should be overloaded in the subclasses. Clear makes empty the data structure. Implemented in ArrayMap, and VectorMap.
|