Go to the documentation of this file.
3 #if !defined(VariableMapCont_H)
4 #define VariableMapCont_H
19 typedef std::vector<int>
IVec;
20 typedef std::vector<double>
DVec;
21 typedef std::vector<std::string>
SVec;
22 typedef std::map<std::string, int>
SIMap;
23 typedef std::map<std::string, double>
SDMap;
24 typedef std::map<std::string, bool>
SBMap;
25 typedef std::map<std::string, std::string>
SSMap;
164 #endif // VariableMapCont_H
SBMap::iterator SBMapIter
static const bool kDefaultBool
void addVariable(std::string key, OptionType type, int defaultValue)
void addVariable(std::string key, OptionType type, bool defaultValue)
std::string & stringValue(std::string key)
SIMap::iterator SIMapIter
OptionType hasOption(std::string key)
void addVariable(std::string key, OptionType type, double defaultValue)
std::vector< double > DVec
SVec::const_iterator SVecConstIter
std::map< std::string, bool > SBMap
std::map< std::string, SVec > SSVecMap
void _checkKey(std::string &key, const std::string &description="")
SSMap m_variableDescriptionMap
std::map< std::string, DVec > SDVecMap
SDVecMap::iterator SDVecMapIter
double & doubleValue(std::string key)
static const SVec kEmptySVec
void addOption(std::string key, OptionType type, const std::string &description="")
OptionType hasVariable(std::string key)
static const double kDefaultDouble
SDMap::iterator SDMapIter
std::map< std::string, IVec > SIVecMap
SBMap m_variableModifiedMap
void addVariable(std::string key, OptionType type, const std::string &defaultValue)
static const std::string kDefaultString
SIVecMap::iterator SIVecMapIter
SSVecMap::iterator SSVecMapIter
SSMap::iterator SSMapIter
SDVecMap::const_iterator SDVecMapConstIter
static const IVec kEmptyIVec
bool _valueHasBeenModified(const std::string &key)
static const int kDefaultInteger
std::map< std::string, std::string > SSMap
SBMap::const_iterator SBMapConstIter
static const DVec kEmptyDVec
static char toLower(char &ch)
SDMap::const_iterator SDMapConstIter
DVec::const_iterator DVecConstIter
void addVariable(std::string key, OptionType type, const char *defaultValue)
SIMap::const_iterator SIMapConstIter
SSVecMap::const_iterator SSVecMapConstIter
IVec & integerVector(std::string key)
std::vector< std::string > SVec
DVec & doubleVector(std::string key)
std::map< std::string, int > SIMap
static void lowercaseString(std::string &arg)
IVec::const_iterator IVecConstIter
SVec & stringVector(std::string key)
void addVariable(std::string key, OptionType type)
int & integerValue(std::string key)
SSMap::const_iterator SSMapConstIter
SIVecMap::const_iterator SIVecMapConstIter
friend std::ostream & operator<<(std::ostream &o_stream, const VariableMapCont &rhs)
std::map< std::string, double > SDMap
bool & boolValue(std::string key)