|
enum PLMD::CLTool:: { ... } | inputdata |
| How is the input specified on the command line or in an input file. More...
|
|
|
void | error (const std::string &msg) |
| Crash the command line tool with an error. More...
|
|
template<class T > |
bool | parse (const std::string &key, T &t) |
| Get the value of one of the command line arguments. More...
|
|
void | parseFlag (const std::string &key, bool &t) |
| Find out whether one of the command line flags is present or not. More...
|
|
template<class T > |
bool | parseVector (const std::string &key, std::vector< T > &t) |
|
◆ anonymous enum
How is the input specified on the command line or in an input file.
Enumerator |
---|
unset | |
commandline | |
ifile | |
◆ Manual()
◆ description()
string PLMD::cltools::Manual::description |
( |
| ) |
const |
|
inlinevirtual |
virtual function returning a one-line descriptor for the tool
Reimplemented from PLMD::CLTool.
◆ error()
void PLMD::CLTool::error |
( |
const std::string & |
msg | ) |
|
|
protectedinherited |
Crash the command line tool with an error.
◆ getInputData()
const std::map<std::string,std::string>& PLMD::CLTool::getInputData |
( |
| ) |
|
|
inlineinherited |
◆ main()
int PLMD::cltools::Manual::main |
( |
FILE * |
in, |
|
|
FILE * |
out, |
|
|
Communicator & |
pc |
|
) |
| |
|
virtual |
virtual function mapping to the specific main for each tool
Implements PLMD::CLTool.
◆ parse()
template<class T >
bool PLMD::CLTool::parse |
( |
const std::string & |
key, |
|
|
T & |
t |
|
) |
| |
|
protectedinherited |
Get the value of one of the command line arguments.
◆ parseFlag()
void PLMD::CLTool::parseFlag |
( |
const std::string & |
key, |
|
|
bool & |
t |
|
) |
| |
|
protectedinherited |
Find out whether one of the command line flags is present or not.
◆ parseVector()
template<class T >
bool PLMD::CLTool::parseVector |
( |
const std::string & |
key, |
|
|
std::vector< T > & |
t |
|
) |
| |
|
protectedinherited |
◆ readInput()
bool PLMD::CLTool::readInput |
( |
int |
argc, |
|
|
char ** |
argv, |
|
|
FILE * |
in, |
|
|
FILE * |
out |
|
) |
| |
|
inherited |
Read the arguments from the command line.
◆ registerKeywords()
void PLMD::cltools::Manual::registerKeywords |
( |
Keywords & |
keys | ) |
|
|
static |
◆ setInputData()
void PLMD::CLTool::setInputData |
( |
const std::map< std::string, std::string > & |
inputData | ) |
|
|
inlineinherited |
◆ inputdata
enum { ... } PLMD::CLTool::inputdata |
How is the input specified on the command line or in an input file.
The documentation for this class was generated from the following file: