|
| ShowGraph (const CLToolOptions &co) |
|
std::string | description () const |
| virtual function returning a one-line descriptor for the tool More...
|
|
void | drawActionWithVectorNode (OFile &ofile, PlumedMain &p, Action *ag, const std::vector< std::string > &mychain, std::vector< bool > &printed) |
|
const std::map< std::string, std::string > & | getInputData () |
|
std::string | getLabel (const Action *a, const bool &=false) |
|
std::string | getLabel (const std::string &s, const bool &=false) |
|
int | main (FILE *in, FILE *out, Communicator &pc) |
| virtual function mapping to the specific main for each tool More...
|
|
void | printArgumentConnections (const ActionWithArguments *a, unsigned &linkcount, const bool &force, OFile &ofile) |
|
void | printAtomConnections (const ActionAtomistic *a, unsigned &linkcount, const bool &force, OFile &ofile) |
|
void | printStyle (const unsigned &linkcount, const Value *v, OFile &ofile) |
|
bool | readInput (int argc, char **argv, FILE *in, FILE *out) |
| Read the arguments from the command line. More...
|
|
void | setInputData (const std::map< std::string, std::string > &inputData) |
| Set the input data: More...
|
|
|
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 | |
◆ ShowGraph()
◆ description()
std::string PLMD::cltools::ShowGraph::description |
( |
| ) |
const |
|
inlinevirtual |
virtual function returning a one-line descriptor for the tool
Reimplemented from PLMD::CLTool.
◆ drawActionWithVectorNode()
void PLMD::cltools::ShowGraph::drawActionWithVectorNode |
( |
OFile & |
ofile, |
|
|
PlumedMain & |
p, |
|
|
Action * |
ag, |
|
|
const std::vector< std::string > & |
mychain, |
|
|
std::vector< bool > & |
printed |
|
) |
| |
◆ 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 |
◆ getLabel() [1/2]
std::string PLMD::cltools::ShowGraph::getLabel |
( |
const Action * |
a, |
|
|
const bool & |
amp = false |
|
) |
| |
◆ getLabel() [2/2]
std::string PLMD::cltools::ShowGraph::getLabel |
( |
const std::string & |
s, |
|
|
const bool & |
amp = false |
|
) |
| |
◆ main()
int PLMD::cltools::ShowGraph::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 |
◆ printArgumentConnections()
void PLMD::cltools::ShowGraph::printArgumentConnections |
( |
const ActionWithArguments * |
a, |
|
|
unsigned & |
linkcount, |
|
|
const bool & |
force, |
|
|
OFile & |
ofile |
|
) |
| |
◆ printAtomConnections()
void PLMD::cltools::ShowGraph::printAtomConnections |
( |
const ActionAtomistic * |
a, |
|
|
unsigned & |
linkcount, |
|
|
const bool & |
force, |
|
|
OFile & |
ofile |
|
) |
| |
◆ printStyle()
void PLMD::cltools::ShowGraph::printStyle |
( |
const unsigned & |
linkcount, |
|
|
const Value * |
v, |
|
|
OFile & |
ofile |
|
) |
| |
◆ 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::ShowGraph::registerKeywords |
( |
Keywords & |
keys | ) |
|
|
static |
◆ setInputData()
void PLMD::CLTool::setInputData |
( |
const std::map< std::string, std::string > & |
inputData | ) |
|
|
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
enum { ... } PLMD::CLTool::inputdata |
How is the input specified on the command line or in an input file.
◆ 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: