23 #ifndef TCLAP_VALUE_ARGUMENT_H 24 #define TCLAP_VALUE_ARGUMENT_H 237 virtual void reset() ;
259 :
Arg(flag, name, desc, req, true, v),
275 :
Arg(flag, name, desc, req, true, v),
292 :
Arg(flag, name, desc, req, true, v),
308 :
Arg(flag, name, desc, req, true, v),
347 "Mutually exclusive argument already set!",
356 "Couldn't find delimiter for this argument!",
362 if ( static_cast<unsigned int>(*i) < args.size() )
385 static_cast<void>(
val);
395 static_cast<void>(
val);
411 +
"' does not meet constraint: "
virtual std::string longID(const std::string &val="val") const
void _extractValue(const std::string &val)
GLuint const GLchar * name
virtual void trimFlag(std::string &flag, std::string &value) const
virtual std::string longID(const std::string &valueId="val") const
bool _hasBlanks(const std::string &s) const
virtual std::string shortID(const std::string &val="val") const
GLsizei const GLchar *const * string
void _checkWithVisitor() const
std::string error() const
virtual std::string shortID(const std::string &valueId="val") const
Constraint< T > * _constraint
virtual void add(Arg &a)=0
T::ValueCategory ValueCategory
void ExtractValue(T &destVal, const std::string &strVal, ValueLike vl)
virtual bool argMatches(const std::string &s) const
ValueArg< T > & operator=(const ValueArg< T > &rhs)
virtual bool processArg(int *i, std::vector< std::string > &args)
virtual std::string toString() const
ValueArg(const std::string &flag, const std::string &name, const std::string &desc, bool req, T value, const std::string &typeDesc, Visitor *v=NULL)