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

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

TCLAP::UnlabeledMultiArg< T > Class Template Reference

#include <UnlabeledMultiArg.h>

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

Detailed Description

template<class T>
class TCLAP::UnlabeledMultiArg< T >

Just like a MultiArg, except that the arguments are unlabeled. Basically, this Arg will slurp up everything that hasn't been matched to another Arg.

Definition at line 39 of file UnlabeledMultiArg.h.


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

Generated by  Doxygen 1.6.0   Back to index