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

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

TCLAP::Arg Class Reference

#include <Arg.h>

Inheritance diagram for TCLAP::Arg:
Inheritance graph
Collaboration diagram for TCLAP::Arg:
Collaboration graph

List of all members.

Public Member Functions

bool _hasBlanks (const std::string &s) const
virtual void addToList (std::list< Arg * > &argList) const
virtual bool argMatches (const std::string &s) const
void forceRequired ()
std::string getDescription () const
const std::string & getFlag () const
const std::string & getName () const
bool isIgnoreable () const
virtual bool isRequired () const
bool isSet () const
bool isValueRequired () const
virtual std::string longID (const std::string &valueId="val") const
virtual bool operator== (const Arg &a)
virtual bool processArg (int *i, std::vector< std::string > &args)=0
void setRequireLabel (const std::string &s)
virtual std::string shortID (const std::string &valueId="val") const
virtual std::string toString () const
virtual void trimFlag (std::string &flag, std::string &value) const
void xorSet ()
virtual ~Arg ()

Static Public Member Functions

static void beginIgnoring ()
static const char blankChar ()
static char delimiter ()
static const char flagStartChar ()
static const std::string flagStartString ()
static const std::string ignoreNameString ()
static bool ignoreRest ()
static const std::string nameStartString ()
static void setDelimiter (char c)

Protected Member Functions

void _checkWithVisitor () const
 Arg (const std::string &flag, const std::string &name, const std::string &desc, bool req, bool valreq, Visitor *v=NULL)

Protected Attributes

bool _alreadySet
std::string _description
std::string _flag
bool _ignoreable
std::string _name
bool _required
std::string _requireLabel
bool _valueRequired
bool _xorSet

Static Private Member Functions

static char & delimiterRef ()
static bool & ignoreRestRef ()

Detailed Description

A virtual base class that defines the essential data for all arguments. This class, or one of its existing children, must be subclassed to do anything.

Definition at line 43 of file Arg.h.

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

Generated by  Doxygen 1.6.0   Back to index