|
| | SwitchingPlotter (const CLToolOptions &) |
| |
| virtual std::string | description () const |
| | virtual function returning a one-line descriptor for the tool
|
| |
| const std::map< std::string, std::string > & | getInputData () |
| |
| int | main (FILE *, FILE *, Communicator &) override |
| | virtual function mapping to the specific main for each tool
|
| |
| bool | readInput (int argc, char **argv, FILE *in, FILE *out) |
| | Read the arguments from the command line.
|
| |
| void | setInputData (const std::map< std::string, std::string > &newInputData) |
| | Set the input data:
|
| |
|
| void | error (const std::string &msg) |
| | Crash the command line tool with an error.
|
| |
| template<class T> |
| bool | parse (const std::string &key, T &t) |
| | Get the value of one of the command line arguments.
|
| |
| void | parseFlag (const std::string &key, bool &t) |
| | Find out whether one of the command line flags is present or not.
|
| |
| template<class T> |
| bool | parseVector (const std::string &key, std::vector< T > &t) |
| |
|
| bool | readCommandLineArgs (int argc, char **argv, FILE *out) |
| | Read the arguments from the command line.
|
| |
| bool | readInputFile (int argc, char **argv, FILE *in, FILE *out) |
| | Read the arguments from an input file specified on the command line.
|
| |
| void | setRemainingToDefault (FILE *out) |
| | Set arguments from the default options provided to Keywords.
|
| |
|
| std::map< std::string, std::string > | inputData |
| | The data read in from the command line stored in a map with the keywords.
|
| |
| const Keywords & | keywords |
| | The list of keywords for this CLTool.
|
| |
| const std::string | name |
| | The name of this command line tool.
|
| |
◆ inputType
How is the input specified on the command line or in an input file.
| Enumerator |
|---|
| unset | |
| commandline | |
| ifile | |
◆ SwitchingPlotter()
| PLMD::cltools::SwitchingPlotter::SwitchingPlotter |
( |
const CLToolOptions & | co | ) |
|
|
explicit |
◆ description()
| virtual std::string PLMD::CLTool::description |
( |
| ) |
const |
|
inlinevirtualinherited |
virtual function returning a one-line descriptor for the tool
Reimplemented in PLMD::cltools::CLToolSumHills, PLMD::cltools::Completion, PLMD::cltools::Driver< real >, PLMD::cltools::Driver< real >, PLMD::cltools::Driver< double >, PLMD::cltools::Driver< double >, PLMD::cltools::Driver< double >, PLMD::cltools::Driver< double >, PLMD::cltools::Driver< float >, PLMD::cltools::Driver< float >, PLMD::cltools::Driver< float >, PLMD::cltools::Driver< float >, PLMD::cltools::GenExample, PLMD::cltools::GenJson, PLMD::cltools::GenTemplate, PLMD::cltools::Info, PLMD::cltools::kt, PLMD::cltools::Manual, PLMD::cltools::PdbRenumber, PLMD::cltools::PesMD, PLMD::cltools::ShowGraph, PLMD::cltools::SimpleMD, PLMD::mapping::PathTools, and PLMD::ves::MD_LinearExpansionPES.
◆ 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::SwitchingPlotter::main |
( |
FILE * | in, |
|
|
FILE * | out, |
|
|
Communicator & | pc ) |
|
overridevirtual |
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 |
◆ readCommandLineArgs()
| bool PLMD::CLTool::readCommandLineArgs |
( |
int | argc, |
|
|
char ** | argv, |
|
|
FILE * | out ) |
|
privateinherited |
Read the arguments from the command line.
◆ readInput()
| bool PLMD::CLTool::readInput |
( |
int | argc, |
|
|
char ** | argv, |
|
|
FILE * | in, |
|
|
FILE * | out ) |
|
inherited |
Read the arguments from the command line.
◆ readInputFile()
| bool PLMD::CLTool::readInputFile |
( |
int | argc, |
|
|
char ** | argv, |
|
|
FILE * | in, |
|
|
FILE * | out ) |
|
privateinherited |
Read the arguments from an input file specified on the command line.
◆ registerKeywords()
| void PLMD::cltools::SwitchingPlotter::registerKeywords |
( |
Keywords & | keys | ) |
|
|
static |
◆ setInputData()
| void PLMD::CLTool::setInputData |
( |
const std::map< std::string, std::string > & | newInputData | ) |
|
|
inlineinherited |
◆ setRemainingToDefault()
| void PLMD::CLTool::setRemainingToDefault |
( |
FILE * | out | ) |
|
|
privateinherited |
Set arguments from the default options provided to Keywords.
◆ inputData
| std::map<std::string,std::string> PLMD::CLTool::inputData |
|
privateinherited |
The data read in from the command line stored in a map with the keywords.
◆ inputdata
◆ keywords
The list of keywords for this CLTool.
◆ name
| const std::string PLMD::CLTool::name |
|
privateinherited |
The name of this command line tool.
The documentation for this class was generated from the following file: