18 #ifndef FF_CMD_LINE_ARG_INTERFACE_H
19 #define FF_CMD_LINE_ARG_INTERFACE_H
38 void ADDOPTION (
const char* ident,
int defaultVal,
39 const char* descr,
bool showToAll =
true)
45 void ADDOPTION (
const char* ident,
float defaultVal,
46 const char* descr,
bool showToAll =
true)
52 void ADDOPTION (
const char* ident,
double defaultVal,
53 const char* descr,
bool showToAll =
true)
59 void ADDOPTION (
const char* ident,
const char* defaultVal,
60 const char* descr,
bool showToAll =
true)
66 void ADDOPTION (
const char* ident,
bool defaultVal,
67 const char* descr,
bool showToAll =
true)
74 const char* descr,
bool showToAll =
true)
86 #define ADDOPTION FFaCmdLineArg::instance()->addOption
91 #define ADD_PRIVATE_OPTION(a,b,c) ADDOPTION(a,b,c,false)
DLLexport void AddBoolCmdLineOption(const char *ident, bool defaultVal, const char *descr, bool showToAll)
Adds a bool-valued command-line option.
Definition: FFCmdLineArgInterface.C:60
DLLexport void AddCmdLineOption(const char *ident, const char *defaultVal, const char *descr, bool showToAll)
Adds a string-valued command-line option.
Definition: FFCmdLineArgInterface.C:51
DLLexport void AddDoubleCmdLineOption(const char *ident, double defaultVal, const char *descr, bool showToAll)
Adds a double-valued command-line option.
Definition: FFCmdLineArgInterface.C:43
DLLexport void AddIntCmdLineOption(const char *ident, int defaultVal, const char *descr, bool showToAll)
Adds an int-valued command-line option.
Definition: FFCmdLineArgInterface.C:27
DLLexport void AddDblVecCmdLineOption(const char *ident, const DoubleVec &defaultVal, const char *descr, bool showToAll)
Adds a vector-of-doubles-valued command-line option.
Definition: FFCmdLineArgInterface.C:68
DLLexport void AddFloatCmdLineOption(const char *ident, float defaultVal, const char *descr, bool showToAll)
Adds a float-valued command-line option.
Definition: FFCmdLineArgInterface.C:35
#define ADDOPTION
Convenience macro for adding command-line options.
Definition: FFCmdLineArgInterface.H:86
General command-line option handler.
std::vector< double > DoubleVec
Convenience type definition.
Definition: FFaCmdLineArg.H:241