WWSCRIPT::PropertyMap Class Reference

#include <PropertyMap.h>

Inherits NLMISC::CRefCount.

List of all members.

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)
IPropertygetProperty (const char *name)

Private Attributes

propMap m_propertyMap

Detailed Description

Definition at line 54 of file PropertyMap.h.


Member Typedef Documentation

Definition at line 56 of file PropertyMap.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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  ) 
void WWSCRIPT::PropertyMap::removeProperty ( const char *  name  ) 

Definition at line 66 of file PropertyMap.cpp.

References m_propertyMap.


Member Data Documentation

Definition at line 70 of file PropertyMap.h.

Referenced by getProperty(), registerProperty(), removeProperty(), and ~PropertyMap().


The documentation for this class was generated from the following files:

Generated on Mon Jan 11 12:04:40 2010 for Werewolf by  doxygen 1.6.1