#include <CObjectRegistry.h>
Inheritance diagram for CObjectRegistry:
Public Member Functions | |
CObjectRegistry (STD(string) am_sName) | |
virtual | ~CObjectRegistry () |
STD (map)< STD(string) | |
CNamedObject * | getObjects () const |
void | Add (CNamedObject &rObject) |
void | Remove (const STD(string)&rName) |
void | Remove (const CNamedObject &rObject) |
const ObjectIterator | Find (const STD(string)&rObjectName) const |
ObjectIterator | begin () |
ObjectIterator | end () |
virtual | STD (string) DescribeSelf() |
Protected Member Functions | |
void | setObjects (STD(map)< STD(string), CNamedObject * > am_Objects) |
Private Member Functions | |
STD (map)< STD(string) | |
Private Attributes | |
CNamedObject * | m_Objects |
Definition at line 325 of file CObjectRegistry.h.
|
STD(Map) containing the name key and a pointer to the object. Definition at line 333 of file CObjectRegistry.h. References CNamedObject::AppendClassInfo(). |
|
Definition at line 338 of file CObjectRegistry.h. |
|
Adds an object to the object registry. The name of the object is gotten from the object itself.
Definition at line 316 of file CObjectRegistry.cpp. References m_Objects. |
|
Returns an iterator which 'points' to the beginning of the registry of objects. Traversing the registry through this iterator will visit all objects in name alphabetical order. Definition at line 392 of file CObjectRegistry.cpp. References m_Objects. Referenced by CClassifiedObjectRegistry::beginregistry(). |
|
Returns an iterator which 'points' off the end of the registry of objects. Provided to allow clients to know when to terminate iteration through the registry. Definition at line 403 of file CObjectRegistry.cpp. References m_Objects. Referenced by CClassifiedObjectRegistry::endregistry(). |
|
|
|
Definition at line 343 of file CObjectRegistry.h. |
|
Removes an object from the object registry. The name of the object is obtained from the object itself. If the name does not exist in the registry, a CNoSuchObjectException is thrown.
Definition at line 356 of file CObjectRegistry.cpp. References m_Objects. |
|
|
|
Definition at line 351 of file CObjectRegistry.h. References m_Objects. |
|
The name of the object Reimplemented from CNamedObject. |
|
|
|
|
|
Definition at line 327 of file CObjectRegistry.h. Referenced by Add(), begin(), end(), Remove(), and setObjects(). |