23 #ifndef TCLAP_MULTIPLE_ARGUMENT_H 24 #define TCLAP_MULTIPLE_ARGUMENT_H 43 typedef typename container_type::iterator
iterator;
194 const_iterator
begin()
const {
return _values.begin(); }
200 const_iterator
end()
const {
return _values.end(); }
222 virtual void reset();
240 Arg( flag, name, desc, req, true, v ),
257 :
Arg( flag, name, desc, req, true, v ),
277 :
Arg( flag, name, desc, req, true, v ),
294 :
Arg( flag, name, desc, req, true, v ),
325 "Couldn't find delimiter for this argument!",
332 if ( static_cast<unsigned int>(*i) < args.size() )
364 static_cast<void>(
val);
374 static_cast<void>(
val);
411 "' does not meet constraint: " +
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 bool processArg(int *i, std::vector< std::string > &args)
const std::vector< T > & getValue()
GLsizei const GLchar *const * string
void _checkWithVisitor() const
const_iterator end() const
virtual std::string longID(const std::string &val="val") const
std::string error() const
void _extractValue(const std::string &val)
Constraint< T > * _constraint
virtual std::string shortID(const std::string &val="val") const
virtual std::string shortID(const std::string &valueId="val") const
std::vector< T > container_type
container_type::const_iterator const_iterator
MultiArg(const std::string &flag, const std::string &name, const std::string &desc, bool req, const std::string &typeDesc, Visitor *v=NULL)
virtual void add(Arg &a)=0
container_type::iterator iterator
T::ValueCategory ValueCategory
void ExtractValue(T &destVal, const std::string &strVal, ValueLike vl)
const_iterator begin() const
virtual bool argMatches(const std::string &s) const
MultiArg< T > & operator=(const MultiArg< T > &rhs)
bool _acceptsMultipleValues
virtual std::string toString() const
virtual bool isRequired() const