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

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

TCLAP::MultiArg< T > Class Template Reference

#include <MultiArg.h>

Inheritance diagram for TCLAP::MultiArg< T >:
Inheritance graph
[legend]
Collaboration diagram for TCLAP::MultiArg< 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
const std::vector< 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
 MultiArg (const std::string &flag, const std::string &name, const std::string &desc, bool req, const std::string &typeDesc, CmdLineInterface &parser, Visitor *v=NULL)
 MultiArg (const std::string &flag, const std::string &name, const std::string &desc, bool req, const std::vector< T > &allowed, CmdLineInterface &parser, Visitor *v=NULL)
 MultiArg (const std::string &flag, const std::string &name, const std::string &desc, bool req, const std::vector< T > &allowed, Visitor *v=NULL)
 MultiArg (const std::string &flag, const std::string &name, const std::string &desc, bool req, const std::string &typeDesc, Visitor *v=NULL)
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
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
bool _valueRequired
std::vector< T > _values
Visitor_visitor
bool _xorSet

Private Member Functions

void allowedInit ()

Detailed Description

template<class T>
class TCLAP::MultiArg< T >

An argument that allows multiple values of type T to be specified. Very similar to a ValueArg, except a vector of values will be returned instead of just one.

Definition at line 166 of file MultiArg.h.


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

Generated by  Doxygen 1.6.0   Back to index