Class to hold a dictionary of parameters for a single class.
More...
#include <OgreStringInterface.h>
Class to hold a dictionary of parameters for a single class.
◆ ParamDictionary()
Ogre::ParamDictionary::ParamDictionary |
( |
| ) |
|
◆ ~ParamDictionary()
Ogre::ParamDictionary::~ParamDictionary |
( |
| ) |
|
◆ addParameter()
void Ogre::ParamDictionary::addParameter |
( |
const ParameterDef & |
paramDef, |
|
|
ParamCommand * |
paramCmd |
|
) |
| |
Method for adding a parameter definition for this class.
- Parameters
-
paramDef | A ParameterDef object defining the parameter |
paramCmd | Pointer to a ParamCommand subclass to handle the getting / setting of this parameter. NB this class will not destroy this on shutdown, please ensure you do |
◆ getParameters()
const ParameterList& Ogre::ParamDictionary::getParameters |
( |
void |
| ) |
const |
|
inline |
Retrieves a list of parameters valid for this object.
- Returns
- A reference to a static list of ParameterDef objects.
The documentation for this class was generated from the following file: