Class to hold a dictionary of parameters for a single class. More...
#include <OgreStringInterface.h>
Public Member Functions | |
ParamDictionary () | |
void | addParameter (const ParameterDef ¶mDef, ParamCommand *paramCmd) |
Method for adding a parameter definition for this class. More... | |
const ParameterList & | getParameters (void) const |
Retrieves a list of parameters valid for this object. More... | |
Protected Member Functions | |
ParamCommand * | getParamCommand (const String &name) |
Retrieves the parameter command object for a named parameter. More... | |
const ParamCommand * | getParamCommand (const String &name) const |
Protected Attributes | |
ParamCommandMap | mParamCommands |
Command objects to get/set. More... | |
ParameterList | mParamDefs |
Definitions of parameters. More... | |
Friends | |
class | StringInterface |
Class to hold a dictionary of parameters for a single class.
Definition at line 88 of file OgreStringInterface.h.
|
inline |
Definition at line 125 of file OgreStringInterface.h.
|
inline |
Method for adding a parameter definition for this class.
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 |
Definition at line 132 of file OgreStringInterface.h.
References Ogre::ParameterDef::name.
|
inlineprotected |
Retrieves the parameter command object for a named parameter.
Definition at line 99 of file OgreStringInterface.h.
Referenced by Ogre::StringInterface::getParameter().
|
inlineprotected |
Definition at line 112 of file OgreStringInterface.h.
|
inline |
Retrieves a list of parameters valid for this object.
Definition at line 142 of file OgreStringInterface.h.
|
friend |
Definition at line 90 of file OgreStringInterface.h.
|
protected |
Command objects to get/set.
Definition at line 96 of file OgreStringInterface.h.
|
protected |
Definitions of parameters.
Definition at line 93 of file OgreStringInterface.h.
Referenced by Ogre::StringInterface::copyParametersTo().