31 #ifndef TCLAP_COMMANDLINE_INTERFACE_H
32 #define TCLAP_COMMANDLINE_INTERFACE_H
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 bool parse(int argc, char **argv)=0
Parses the command line.
virtual char getDelimiter()=0
Returns the delimiter string.
virtual XorHandler & getXorHandler()=0
Returns the XorHandler.
The interface that any output object must implement.
virtual ~CmdLineInterface()
Destructor.
This class handles lists of Arg's that are to be XOR'd on the command line.
virtual std::string & getMessage()=0
Returns the message string.
virtual bool hasHelpAndVersion()=0
Indicates whether or not the help and version switches were created automatically.
virtual std::string & getVersion()=0
Returns the version string.
A virtual base class that defines the essential data for all arguments.
virtual void add(Arg &a)=0
Adds an argument to the list of arguments to be parsed.
virtual CmdLineOutput * getOutput()=0
Returns the CmdLineOutput object.
virtual std::string & getProgramName()=0
Returns the program name string.
virtual std::list< Arg * > & getArgList()=0
Returns the argList.
virtual void xorAdd(Arg &a, Arg &b)=0
Add two Args that will be xor'd.
virtual void setOutput(CmdLineOutput *co)=0
The base class that manages the command line definition and passes along the parsing to the appropria...