#include <UnlabeledValueArg.h>
Inheritance diagram for TCLAP::UnlabeledValueArg< T >:
Public Member Functions | |
UnlabeledValueArg (const std::string &name, const std::string &desc, bool req, T value, const std::string &typeDesc, bool ignoreable=false, Visitor *v=NULL) | |
Constructor implemenation. | |
UnlabeledValueArg (const std::string &name, const std::string &desc, bool req, T value, const std::string &typeDesc, CmdLineInterface &parser, bool ignoreable=false, Visitor *v=NULL) | |
UnlabeledValueArg constructor. | |
UnlabeledValueArg (const std::string &name, const std::string &desc, bool req, T value, Constraint< T > *constraint, bool ignoreable=false, Visitor *v=NULL) | |
Constructor implemenation. | |
UnlabeledValueArg (const std::string &name, const std::string &desc, bool req, T value, Constraint< T > *constraint, CmdLineInterface &parser, bool ignoreable=false, Visitor *v=NULL) | |
UnlabeledValueArg constructor. | |
virtual bool | processArg (int *i, std::vector< std::string > &args) |
Implementation of processArg(). | |
virtual std::string | shortID (const std::string &val="val") const |
Overriding shortID for specific output. | |
virtual std::string | longID (const std::string &val="val") const |
Overriding longID for specific output. | |
virtual bool | operator== (const Arg &a) const |
Overriding operator== for specific behavior. | |
virtual void | addToList (std::list< Arg * > &argList) const |
Instead of pushing to the front of list, push to the back. |
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 43 of file UnlabeledValueArg.h.
|
Constructor implemenation.
Definition at line 213 of file UnlabeledValueArg.h. References TCLAP::Arg::toString(). |
Here is the call graph for this function:
|
UnlabeledValueArg constructor.
Definition at line 229 of file UnlabeledValueArg.h. References TCLAP::CmdLineInterface::add(), and TCLAP::Arg::toString(). |
Here is the call graph for this function:
|
Constructor implemenation.
Definition at line 248 of file UnlabeledValueArg.h. References TCLAP::Arg::toString(). |
Here is the call graph for this function:
|
UnlabeledValueArg constructor.
Definition at line 262 of file UnlabeledValueArg.h. References TCLAP::CmdLineInterface::add(), and TCLAP::Arg::toString(). |
Here is the call graph for this function:
|
Instead of pushing to the front of list, push to the back.
Reimplemented from TCLAP::Arg. Definition at line 334 of file UnlabeledValueArg.h. |
|
Overriding longID for specific output.
Reimplemented from TCLAP::ValueArg< T >. Definition at line 311 of file UnlabeledValueArg.h. |
|
Overriding operator== for specific behavior.
Reimplemented from TCLAP::Arg. Definition at line 325 of file UnlabeledValueArg.h. References TCLAP::Arg::getDescription(), and TCLAP::Arg::getName(). |
Here is the call graph for this function:
|
Implementation of processArg(). This re-implements the Arg version of this method to set the _value of the argument appropriately. Handling specific to unlabled arguments.
Reimplemented from TCLAP::ValueArg< T >. Definition at line 281 of file UnlabeledValueArg.h. References TCLAP::ValueArg< T >::_extractValue(), and TCLAP::Arg::_hasBlanks(). |
Here is the call graph for this function:
|
Overriding shortID for specific output.
Reimplemented from TCLAP::ValueArg< T >. Definition at line 301 of file UnlabeledValueArg.h. |