class commandline : public basic_commandline Class to manage the command line interpreter
| | commandline (int argc, char* argv[], bool Silent = false) Constructor. |
| | () () Call operator. |
| | prompt command prompt |
| | lastline last input line |
| | printline (const std::string& s) Prints a line to the output of the command line |
Command line interpreter. Reads commands from the specified input file, executes them and writes the results to the given output file. If either the input or the output file is NULL the standard input or the standard output is taken as default.This object should be used the following way:
commandline cmdline (argc, argv); if (!cmdline) { // error return; } while (cmdline)()) { // line by line }
virtual bool operator ()()
string prompt
string lastline
virtual void printline(const std::string& s)
alphabetic index hierarchy of classes
Please send questions and comments to sigg_d@ligo-wa.caltech.edu
generated by doc++