#include <PropertyMap.h>
Inherits NLMISC::CRefCount.
Public Types | |
| typedef CHashMap< const char *, IProperty *, strltpred_hash_compare > | propMap |
Public Member Functions | |
| PropertyMap () | |
| PropertyMap (std::string file) | |
| ~PropertyMap () | |
| void | loadXML (std::string file) |
| void | registerProperty (IProperty *property) |
| void | removeProperty (const char *name) |
| IProperty * | getProperty (const char *name) |
Private Attributes | |
| propMap | m_propertyMap |
Definition at line 54 of file PropertyMap.h.
| typedef CHashMap<const char*, IProperty*, strltpred_hash_compare> WWSCRIPT::PropertyMap::propMap |
Definition at line 56 of file PropertyMap.h.
| WWSCRIPT::PropertyMap::PropertyMap | ( | ) | [inline] |
Definition at line 58 of file PropertyMap.h.
| WWSCRIPT::PropertyMap::PropertyMap | ( | std::string | file | ) |
| WWSCRIPT::PropertyMap::~PropertyMap | ( | ) |
Definition at line 85 of file PropertyMap.cpp.
References m_propertyMap.
| IProperty * WWSCRIPT::PropertyMap::getProperty | ( | const char * | name | ) |
Definition at line 75 of file PropertyMap.cpp.
References m_propertyMap, and nlwarning.
Referenced by WWSCRIPT::PropertyManager::getProperty(), and registerProperty().
| void WWSCRIPT::PropertyMap::loadXML | ( | std::string | file | ) |
| void WWSCRIPT::PropertyMap::registerProperty | ( | IProperty * | property | ) |
Definition at line 53 of file PropertyMap.cpp.
References WWSCRIPT::IProperty::getName(), getProperty(), m_propertyMap, and nlwarning.
Referenced by WWSCRIPT::PropertyManager::registerProperty().
| void WWSCRIPT::PropertyMap::removeProperty | ( | const char * | name | ) |
Definition at line 66 of file PropertyMap.cpp.
References m_propertyMap.
propMap WWSCRIPT::PropertyMap::m_propertyMap [private] |
Definition at line 70 of file PropertyMap.h.
Referenced by getProperty(), registerProperty(), removeProperty(), and ~PropertyMap().
1.6.1