#include <GearParametersImpl.h>
Inheritance diagram for gear::GearParametersImpl:
Public Types | |||
typedef std::map< std::string, int > | IntMap | ||
typedef std::map< std::string, double > | DoubleMap | ||
typedef std::map< std::string, std::string > | StringMap | ||
typedef std::map< std::string, IntVec > | IntVecMap | ||
typedef std::map< std::string, DoubleVec > | DoubleVecMap | ||
typedef std::map< std::string, StringVec > | StringVecMap | ||
Public Member Functions | |||
virtual | ~GearParametersImpl () | ||
Destructor. | |||
virtual int | getIntVal (const std::string &key) const throw (UnknownParameterException, std::exception ) | ||
Integer value for key. | |||
virtual double | getDoubleVal (const std::string &key) const throw (UnknownParameterException, std::exception ) | ||
Double value for key
| |||
virtual const std::string & | getStringVal (const std::string &key) const throw (UnknownParameterException, std::exception ) | ||
String value for key
| |||
virtual const std::vector< int > & | getIntVals (const std::string &key) const throw (UnknownParameterException, std::exception ) | ||
Integer values for key
| |||
virtual const std::vector< double > & | getDoubleVals (const std::string &key) const throw (UnknownParameterException, std::exception ) | ||
Double values for key
| |||
virtual const std::vector< std::string > & | getStringVals (const std::string &key) const throw (UnknownParameterException, std::exception ) | ||
String values for key
| |||
virtual void | setIntVal (const std::string &key, int val) | ||
Set Integer value for key. | |||
virtual void | setDoubleVal (const std::string &key, double val) | ||
Double value for key. | |||
virtual void | setStringVal (const std::string &key, const std::string &val) | ||
String value for key. | |||
virtual void | setIntVals (const std::string &key, const std::vector< int > &vals) | ||
Integer values for key. | |||
virtual void | setDoubleVals (const std::string &key, const std::vector< double > &vals) | ||
Double values for key. | |||
virtual void | setStringVals (const std::string &key, const std::vector< std::string > &vals) | ||
String values for key. | |||
virtual const std::vector< std::string > & | getIntKeys () const | ||
All keys of int variables. | |||
virtual const std::vector< std::string > & | getDoubleKeys () const | ||
All keys of double variables. | |||
virtual const std::vector< std::string > & | getStringKeys () const | ||
All keys of string variables. | |||
virtual const std::vector< std::string > & | getIntVecKeys () const | ||
All keys of IntVec variables. | |||
virtual const std::vector< std::string > & | getDoubleVecKeys () const | ||
All keys of DoubleVec variables. | |||
virtual const std::vector< std::string > & | getStringVecKeys () const | ||
All keys of StringVec variables. | |||
Protected Attributes | |||
std::map< std::string, int > | _intMap | ||
std::map< std::string, double > | _doubleMap | ||
std::map< std::string, std::string > | _stringMap | ||
std::map< std::string, IntVec > | _intVecMap | ||
std::map< std::string, DoubleVec > | _doubleVecMap | ||
std::map< std::string, StringVec > | _stringVecMap | ||
StringVec | _intKeys | ||
StringVec | _doubleKeys | ||
StringVec | _stringKeys | ||
StringVec | _intVecKeys | ||
StringVec | _doubleVecKeys | ||
StringVec | _stringVecKeys |
It basically allows to retrieve named parameters of type int, string and double and arrays/vectors of these types and set these.
|
Integer value for key.
Implements gear::GearParameters. |