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
void _checkKey(std::string &key, const std::string &description="")
void addVariable(std::string key, OptionType type, const char *defaultValue)
SIMap::const_iterator SIMapConstIter
static const std::string kDefaultString
SDMap::const_iterator SDMapConstIter
SSMap::iterator SSMapIter
IVec::const_iterator IVecConstIter
SBMap::iterator SBMapIter
std::map< std::string, bool > SBMap
SIMap::iterator SIMapIter
std::string & stringValue(std::string key)
SBMap::const_iterator SBMapConstIter
friend std::ostream & operator<<(std::ostream &o_stream, const VariableMapCont &rhs)
std::map< std::string, double > SDMap
SIVecMap::iterator SIVecMapIter
std::vector< double > DVec
SSVecMap::const_iterator SSVecMapConstIter
std::map< std::string, std::string > SSMap
double & doubleValue(std::string key)
std::vector< std::string > SVec
static const SVec kEmptySVec
int & integerValue(std::string key)
SSMap::const_iterator SSMapConstIter
std::map< std::string, DVec > SDVecMap
static char toLower(char &ch)
DVec::const_iterator DVecConstIter
void addVariable(std::string key, OptionType type, bool defaultValue)
SIVecMap::const_iterator SIVecMapConstIter
std::map< std::string, IVec > SIVecMap
DVec & doubleVector(std::string key)
SBMap m_variableModifiedMap
static const double kDefaultDouble
void addVariable(std::string key, OptionType type, const std::string &defaultValue)
std::map< std::string, int > SIMap
static void lowercaseString(std::string &arg)
static const bool kDefaultBool
SSVecMap::iterator SSVecMapIter
void addVariable(std::string key, OptionType type)
SDVecMap::iterator SDVecMapIter
void addVariable(std::string key, OptionType type, double defaultValue)
SSMap m_variableDescriptionMap
static const DVec kEmptyDVec
bool _valueHasBeenModified(const std::string &key)
static const IVec kEmptyIVec
std::map< std::string, SVec > SSVecMap
IVec & integerVector(std::string key)
static const int kDefaultInteger
SVec & stringVector(std::string key)
void addVariable(std::string key, OptionType type, int defaultValue)
bool & boolValue(std::string key)
void addOption(std::string key, OptionType type, const std::string &description="")
OptionType hasVariable(std::string key)
SDMap::iterator SDMapIter
SDVecMap::const_iterator SDVecMapConstIter
SVec::const_iterator SVecConstIter
OptionType hasOption(std::string key)