AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ ArgFlags() [1/2]

template<class ContainerType , typename std::enable_if< std::is_base_of< ArgFlagVal, typename ContainerType::value_type >::value >::type * = nullptr>
drama::gitarg::ArgFlags< ContainerType, >::ArgFlags ( const ContainerType validFlagVals,
bool  ignoreCase = true 
)
inline

Constructor.

Parameters
validFlagValsA container of valid flag string values and the corresponding flag to set. Note - a flag can have multiple bits set.
ignoreCaseIf set true, all values are converted to upper case before comparing to the possible values. Note we don't convert possible values in validFlagValues so if you set this true, please ensure all your possible values are already upper case.