OSFI-C++
3.10.0
OpenSF Integration Library
|
#include <UsageReader.h>
Public Member Functions | |
UsageReader (const std::string &xmlFile) | |
const std::string & | getUsage () const |
This class is responsible to read a XML file showing the usage instructions of a certain executable in case the Command Line Arguments Parser (CLP) detects a failure in the executable invocation.
UsageReader::UsageReader | ( | const std::string & | xmlFile | ) |
Class constructor.
xmlFile | Path to the XML file with the usage description. |
exception | if an error occured while parsing the file |
|
inline |
Returns a string with the usage description.