#include <map_registry.h>
Definition at line 40 of file map_registry.h.
Public Member Functions | |
MapRegistry () | |
MapRegistry (const MapRegistry &) | |
MapRegistry & | operator= (const MapRegistry &) |
~MapRegistry () | |
void | attach (MapBase &map) |
void | detach (MapBase &map) |
void | add (KeyType &key) |
void | erase (KeyType &key) |
void | clear () |
Protected Types | |
typedef std::vector< MapBase * > | Container |
Protected Attributes | |
Container | container |
|
The container type of the maps. Definition at line 178 of file map_registry.h. |
|
Default Constructor of the MapRegistry. It creates an empty registry. Definition at line 191 of file map_registry.h. |
|
Copy Constructor of the MapRegistry. The new registry does not steal the maps from the right value. The new registry will be an empty. Definition at line 197 of file map_registry.h. |
|
Destructor of the MapRegistry. Definition at line 215 of file map_registry.h. References MapRegistry::container. |
|
Assign operator. The left value does not steal the maps from the right value. The left value will be an empty registry. Definition at line 203 of file map_registry.h. References MapRegistry::container. |
|
Attach a map into thr registry. If the map has been attached into an other registry it is detached from that automaticly. Definition at line 231 of file map_registry.h. References MapRegistry::container, MapRegistry::MapBase::registry, and MapRegistry::MapBase::registry_index. |
|
Detach the map from the registry. Definition at line 243 of file map_registry.h. References MapRegistry::container, MapRegistry::MapBase::graph, MapRegistry::MapBase::registry, and MapRegistry::MapBase::registry_index. |
|
Notify all the registered maps about a Key added. Definition at line 255 of file map_registry.h. References MapRegistry::container. |
|
Notify all the registered maps about a Key erased. Definition at line 265 of file map_registry.h. References MapRegistry::container. |
|
Notify all the registered maps about the map should be cleared. Definition at line 275 of file map_registry.h. References MapRegistry::container. |
|
The container of the registered maps. Definition at line 183 of file map_registry.h. |