|
static void | registerKeywords (Keywords &keys) |
|
static bool | findCvsAndPeriodic (std::string filename, std::vector< std::vector< std::string > > &cvs, std::vector< std::string > &pmin, std::vector< std::string > &pmax, bool &multivariate) |
| find a list of variables present, if they are periodic and which is the period return false if the file does not exist More...
|
|
|
enum PLMD::CLTool:: { ... } | inputdata |
| How is the input specified on the command line or in an input file. 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...
|
|
void | error (const std::string &msg) |
| Crash the command line tool with an error. More...
|
|
template<class T > |
bool | parseVector (const std::string &key, std::vector< T > &t) |
|
Definition at line 189 of file SumHills.cpp.
PLMD::cltools::CLToolSumHills::CLToolSumHills |
( |
const CLToolOptions & |
co | ) |
|
string PLMD::cltools::CLToolSumHills::description |
( |
| ) |
const |
|
virtual |
virtual function returning a one-line descriptor for the tool
Reimplemented from PLMD::CLTool.
Definition at line 225 of file SumHills.cpp.
void PLMD::CLTool::error |
( |
const std::string & |
msg | ) |
|
|
protectedinherited |
Crash the command line tool with an error.
Definition at line 206 of file CLTool.cpp.
bool PLMD::cltools::CLToolSumHills::findCvsAndPeriodic |
( |
std::string |
filename, |
|
|
std::vector< std::vector< std::string > > & |
cvs, |
|
|
std::vector< std::string > & |
pmin, |
|
|
std::vector< std::string > & |
pmax, |
|
|
bool & |
multivariate |
|
) |
| |
|
static |
find a list of variables present, if they are periodic and which is the period return false if the file does not exist
Definition at line 509 of file SumHills.cpp.
const std::map<std::string,std::string>& PLMD::CLTool::getInputData |
( |
| ) |
|
|
inlineinherited |
int PLMD::cltools::CLToolSumHills::main |
( |
FILE * |
in, |
|
|
FILE * |
out, |
|
|
Communicator & |
pc |
|
) |
| |
|
virtual |
template<class T >
bool PLMD::CLTool::parse |
( |
const std::string & |
key, |
|
|
T & |
t |
|
) |
| |
|
protectedinherited |
Get the value of one of the command line arguments.
Definition at line 104 of file CLTool.h.
void PLMD::CLTool::parseFlag |
( |
const std::string & |
key, |
|
|
bool & |
t |
|
) |
| |
|
protectedinherited |
Find out whether one of the command line flags is present or not.
Definition at line 51 of file CLTool.cpp.
template<class T >
bool PLMD::CLTool::parseVector |
( |
const std::string & |
key, |
|
|
std::vector< T > & |
t |
|
) |
| |
|
protectedinherited |
bool PLMD::CLTool::readInput |
( |
int |
argc, |
|
|
char ** |
argv, |
|
|
FILE * |
in, |
|
|
FILE * |
out |
|
) |
| |
|
inherited |
Read the arguments from the command line.
Definition at line 60 of file CLTool.cpp.
void PLMD::cltools::CLToolSumHills::registerKeywords |
( |
Keywords & |
keys | ) |
|
|
static |
void PLMD::CLTool::setInputData |
( |
const std::map< std::string, std::string > & |
inputData | ) |
|
|
inlineinherited |
Set the input data:
Definition at line 71 of file CLTool.h.
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: