#include <OgreStringInterface.h>
Public Member Functions | |
ParamDictionary () | |
void | addParameter (const ParameterDef ¶mDef, ParamCommand *paramCmd) |
Method for adding a parameter definition for this class. | |
const ParameterList & | getParameters (void) const |
Retrieves a list of parameters valid for this object. | |
Protected Member Functions | |
ParamCommand * | getParamCommand (const String &name) |
Retrieves the parameter command object for a named parameter. | |
const ParamCommand * | getParamCommand (const String &name) const |
Protected Attributes | |
ParameterList | mParamDefs |
Definitions of parameters. | |
ParamCommandMap | mParamCommands |
Command objects to get/set. | |
Friends | |
class | StringInterface |
Definition at line 83 of file OgreStringInterface.h.
Ogre::ParamDictionary::ParamDictionary | ( | ) |
Definition at line 120 of file OgreStringInterface.h.
ParamCommand* Ogre::ParamDictionary::getParamCommand | ( | const String & | name | ) | [protected] |
Retrieves the parameter command object for a named parameter.
Definition at line 94 of file OgreStringInterface.h.
Referenced by Ogre::StringInterface::getParameter().
const ParamCommand* Ogre::ParamDictionary::getParamCommand | ( | const String & | name | ) | const [protected] |
Definition at line 107 of file OgreStringInterface.h.
void Ogre::ParamDictionary::addParameter | ( | const ParameterDef & | paramDef, | |
ParamCommand * | paramCmd | |||
) |
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 127 of file OgreStringInterface.h.
References Ogre::ParameterDef::name.
const ParameterList& Ogre::ParamDictionary::getParameters | ( | void | ) | const |
Retrieves a list of parameters valid for this object.
Definition at line 137 of file OgreStringInterface.h.
friend class StringInterface [friend] |
Definition at line 85 of file OgreStringInterface.h.
ParameterList Ogre::ParamDictionary::mParamDefs [protected] |
Definitions of parameters.
Definition at line 88 of file OgreStringInterface.h.
Referenced by Ogre::StringInterface::copyParametersTo().
ParamCommandMap Ogre::ParamDictionary::mParamCommands [protected] |
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Sep 27 22:07:39 2009