Go to the documentation of this file.
31 #ifndef TCLAP_COMMANDLINE_INTERFACE_H
32 #define TCLAP_COMMANDLINE_INTERFACE_H
51 class CmdLineInterface
64 virtual void add( Arg& a )=0;
70 virtual void add(
Arg* a )=0;
86 virtual void xorAdd( std::vector<Arg*>& xors )=0;
94 virtual bool parse(
int argc,
char** argv)=0;
virtual void setOutput(CmdLineOutput *co)=0
virtual std::list< Arg * > & getArgList()=0
Returns the argList.
virtual XorHandler & getXorHandler()=0
Returns the XorHandler.
virtual std::string & getProgramName()=0
Returns the program name string.
This class handles lists of Arg's that are to be XOR'd on the command line.
virtual char getDelimiter()=0
Returns the delimiter string.
The interface that any output object must implement.
virtual std::string & getVersion()=0
Returns the version string.
virtual void add(Arg &a)=0
Adds an argument to the list of arguments to be parsed.
virtual void xorAdd(Arg &a, Arg &b)=0
Add two Args that will be xor'd.
A virtual base class that defines the essential data for all arguments.
virtual ~CmdLineInterface()
Destructor.
virtual std::string & getMessage()=0
Returns the message string.
virtual bool parse(int argc, char **argv)=0
Parses the command line.
virtual bool hasHelpAndVersion()=0
Indicates whether or not the help and version switches were created automatically.
virtual CmdLineOutput * getOutput()=0
Returns the CmdLineOutput object.
Page generated by Doxygen 1.8.16 for MRPT 1.4.0 SVN: at Mon Oct 14 23:08:25 UTC 2019 | | |