29 #ifndef __StringInterface_H__
30 #define __StringInterface_H__
74 : name(newName), description(newDescription), paramType(newType) {}
82 virtual String doGet(
const void* target)
const = 0;
83 virtual void doSet(
void* target,
const String& val) = 0;
103 ParamCommandMap::iterator i = mParamCommands.find(name);
104 if (i != mParamCommands.end())
116 ParamCommandMap::const_iterator i = mParamCommands.find(name);
117 if (i != mParamCommands.end())
136 mParamDefs.push_back(paramDef);
137 mParamCommands[paramDef.
name] = paramCmd;
190 ParamDictionaryMap::iterator it = msDictionary.find(className);
192 if ( it == msDictionary.end() )
194 mParamDict = &msDictionary.insert( std::make_pair( className,
ParamDictionary() ) ).first->second;
195 mParamDictName = className;
200 mParamDict = &it->second;
201 mParamDictName = className;
250 virtual bool setParameter(
const String& name,
const String& value);
284 return cmd->
doGet(
this);
311 ParameterList::const_iterator i;
326 static void cleanupDictionary () ;