31 #ifndef COPASI_COptions
32 #define COPASI_COptions
60 template<
class CType >
void setValue(
const CType & value)
63 template<
class CType >
void getValue(CType & value)
const
124 template<
class CType >
static void getValue(
const std::string & name,
128 template<
class CType >
static bool compareValue(
const std::string & name,
130 {
return mOptions[name]->compareValue(value);}
132 static void init(
C_INT argc = 0,
char *argv[] = NULL);
140 static std::string
getPWD(
void);
143 template<
class CType >
static void setValue(
const std::string & name,
156 static std::string
getHome(
void);
157 static std::string
getTemp(
void);
163 #endif // COPASI_COptions
static void setValue(const std::string &name, const CType &value)
COptionValueTemplate(const valueType &value)
void getValue(CType &value) const
static std::string getCopasiDir(void)
static std::string getPWD(void)
virtual ~COptionValueTemplate()
static std::string getConfigFile(void)
bool compareValue(CType &value) const
static const nonOptionType & getNonOptions()
static std::string getEnvironmentVariable(const std::string &name)
static bool compareValue(const std::string &name, const CType &value)
static optionType mOptions
std::map< std::string, std::string > defaultType
std::map< std::string, COptionValue * > optionType
static std::string getConfigDir(void)
static void getValue(const std::string &name, CType &value)
static nonOptionType mNonOptions
static std::string getHome(void)
std::vector< std::string > nonOptionType
static std::string getTemp(void)
static void init(C_INT argc=0, char *argv[]=NULL)
#define CONSTRUCTOR_TRACE
void setValue(const CType &value)