Collaboration diagram for Common/Utility/Misc:
Classes | |
class | Args |
This is a base class for those that parse and hold arguments of the type usually passed from a process invocation. More... | |
class | GoNogo |
A class to provide "GO" and OK status to objects. More... | |
struct | Ltstr |
A class supporting a number of container classes (e.g. More... | |
Typedefs | |
typedef std::list< std::string > | Args::ProblemReport |
A problem report type. | |
typedef ProblemReport::iterator | Args::ProblemReportIterator |
An iterator to the problem report type. | |
typedef ProblemReport::const_iterator | Args::ConstProblemReportIterator |
A const iterator to the problem report type. | |
Functions | |
virtual | Args::~Args () |
Dtor. | |
Args::Args (const Args &rhs) | |
Copy ctor. | |
Args & | Args::operator= (const Args &rhs) |
The copy operator. | |
bool | Args::operator== (const Args &rhs) const |
Equality operator. | |
bool | Args::operator!= (const Args &rhs) const |
Inequality operator. | |
bool | Args::go () const |
Give the GO state of the object. | |
const std::string & | Args::argv0 () const |
Give the argv[0] setting - i.e. | |
virtual std::string | Args::usage () const |
Give the usage. | |
std::string | Args::report () |
Give the next problem report;. | |
bool | Args::existingProblems () const |
Are there existing problems to report? | |
void | Args::problem (const std::string argument) |
Add a new problem. | |
Variables | |
bool | Args::go_state |
typedef std::list<std::string> Args::ProblemReport [inherited] |
typedef ProblemReport::iterator Args::ProblemReportIterator [inherited] |
typedef ProblemReport::const_iterator Args::ConstProblemReportIterator [inherited] |
virtual Args::~Args | ( | ) | [virtual, inherited] |
Dtor.
Args::Args | ( | const Args & | rhs | ) | [inherited] |
Copy ctor.
rhs | The reference object. |
The copy operator.
rhs | The reference object. |
bool Args::operator== | ( | const Args & | rhs | ) | const [inherited] |
Equality operator.
rhs | The reference object. |
bool Args::operator!= | ( | const Args & | rhs | ) | const [inherited] |
Inequality operator.
rhs | The reference object. |
bool Args::go | ( | ) | const [inherited] |
Give the GO state of the object.
If NOGO then some fatal problem exists with the arguments.
const std::string& Args::argv0 | ( | ) | const [inherited] |
Give the argv[0] setting - i.e.
the process name.
virtual std::string Args::usage | ( | ) | const [virtual, inherited] |
Give the usage.
std::string Args::report | ( | ) | [inherited] |
Give the next problem report;.
bool Args::existingProblems | ( | ) | const [inherited] |
Are there existing problems to report?
void Args::problem | ( | const std::string | argument | ) | [protected, inherited] |
Add a new problem.
argument | A textual description of the problem. |
bool Args::go_state [protected, inherited] |