23 #ifndef TCLAP_XORHANDLER_H 24 #define TCLAP_XORHANDLER_H 58 void add( std::vector<Arg*>& ors );
87 std::vector< std::vector<Arg*> >&
getXorList();
103 for (
int i = 0;
static_cast<unsigned int>(
i) <
_orList.size();
i++ )
115 if ( a != (*
it) && (*it)->
isSet() )
117 "Mutually exclusive argument already set!",
128 if ( (*ait)->allowMore() )
131 return static_cast<int>(
_orList[
i].size());
143 for (
int i = 0;
static_cast<unsigned int>(
i) <
_orList.size();
i++ )
std::vector< std::vector< Arg * > > & getXorList()
GLsizei const GLchar *const * string
GLboolean GLboolean GLboolean GLboolean a
std::vector< std::vector< Arg * > > _orList
bool contains(const Arg *a)
std::vector< Arg * >::iterator ArgVectorIterator
void printLongUsage(std::ostream &os)
virtual bool isRequired() const
void add(std::vector< Arg * > &ors)