15 #ifndef TCLAP_XORHANDLER_H 16 #define TCLAP_XORHANDLER_H 39 std::vector< std::vector<Arg*> >
_orList;
52 void add( std::vector<Arg*>& ors );
61 int check(
const Arg* a );
81 std::vector< std::vector<Arg*> >&
getXorList();
97 for (
int i = 0;
static_cast<unsigned int>(i) <
_orList.size(); i++ )
112 if ( (*ait)->allowMore() )
115 return static_cast<int>(
_orList[i].size());
119 if ( a->isRequired() )
127 for (
int i = 0;
static_cast<unsigned int>(i) <
_orList.size(); i++ )
std::vector< std::vector< Arg * > > & getXorList()
std::vector< Arg * >::iterator ArgVectorIterator
bool contains(const Arg *a)
void printLongUsage(std::ostream &os)
std::vector< std::vector< Arg * > > _orList
void add(std::vector< Arg * > &ors)