Logo Search packages:      
Sourcecode: passwordmaker-cli version File versions  Download package

Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes

TCLAP::CmdLine Class Reference

#include <CmdLine.h>

Inheritance diagram for TCLAP::CmdLine:
Inheritance graph
Collaboration diagram for TCLAP::CmdLine:
Collaboration graph

List of all members.

Public Member Functions

void add (Arg &a)
void add (Arg *a)
 CmdLine (const std::string &message, const char delimiter= ' ', const std::string &version="none")
 CmdLine (const std::string &name, const std::string &message, const std::string &version="none")
std::list< Arg * > & getArgList ()
char getDelimiter ()
std::string & getMessage ()
CmdLineOutputgetOutput ()
std::string & getProgramName ()
std::string & getVersion ()
XorHandlergetXorHandler ()
void parse (int argc, char **argv)
void setOutput (CmdLineOutput *co)
void xorAdd (Arg &a, Arg &b)
void xorAdd (std::vector< Arg * > &xors)
virtual ~CmdLine ()

Protected Member Functions

bool _emptyCombined (const std::string &s)

Protected Attributes

std::list< Arg * > _argDeleteOnExitList
std::list< Arg * > _argList
char _delimiter
std::string _message
int _numRequired
std::string _progName
std::string _version
std::list< Visitor * > _visitorDeleteOnExitList
XorHandler _xorHandler

Private Member Functions

void _constructor ()
void deleteOnExit (Visitor *ptr)
void deleteOnExit (Arg *ptr)

Private Attributes

bool _userSetOutput

Detailed Description

The base class that manages the command line definition and passes along the parsing to the appropriate Arg classes.

Definition at line 51 of file CmdLine.h.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index