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

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

TCLAP::UnlabeledValueArg< T > Class Template Reference

#include <UnlabeledValueArg.h>

Inheritance diagram for TCLAP::UnlabeledValueArg< T >:
Inheritance graph
[legend]
Collaboration diagram for TCLAP::UnlabeledValueArg< T >:
Collaboration graph
[legend]

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
T & getValue ()
bool isIgnoreable () const
virtual bool isRequired () const
bool isSet () const
bool isValueRequired () const
virtual std::string longID (const std::string &val="val") const
virtual bool operator== (const Arg &a) const
virtual bool operator== (const Arg &a)
virtual bool processArg (int *i, std::vector< std::string > &args)
void setRequireLabel (const std::string &s)
virtual std::string shortID (const std::string &val="val") const
virtual std::string toString () const
virtual void trimFlag (std::string &flag, std::string &value) const
 UnlabeledValueArg (const std::string &name, const std::string &desc, T value, const std::vector< T > &allowed, bool ignoreable=false, Visitor *v=NULL)
 UnlabeledValueArg (const std::string &name, const std::string &desc, T value, const std::vector< T > &allowed, CmdLineInterface &parser, bool ignoreable=false, Visitor *v=NULL)
 UnlabeledValueArg (const std::string &name, const std::string &desc, T value, const std::string &typeDesc, CmdLineInterface &parser, bool ignoreable=false, Visitor *v=NULL)
 UnlabeledValueArg (const std::string &name, const std::string &desc, T value, const std::string &typeDesc, bool ignoreable=false, Visitor *v=NULL)
void xorSet ()

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 _checkAllowed (const std::string &val)
void _checkWithVisitor () const
void _extractValue (const std::string &val)

Protected Attributes

std::vector< T > _allowed
bool _alreadySet
std::string _description
std::string _flag
bool _ignoreable
std::string _name
bool _required
std::string _requireLabel
std::string _typeDesc
_value
bool _valueRequired
Visitor_visitor
bool _xorSet

Detailed Description

template<class T>
class TCLAP::UnlabeledValueArg< T >

The basic unlabeled argument that parses a value. This is a template class, which means the type T defines the type that a given object will attempt to parse when an UnlabeledValueArg is reached in the list of args that the CmdLine iterates over.

Definition at line 41 of file UnlabeledValueArg.h.


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

Generated by  Doxygen 1.6.0   Back to index