GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
|
Definition at line 223 of file ArgParser.h.
Public Member Functions | |
ArgParseConfigT (const std::string &flag, bool *output_location, bool firstPass) | |
virtual ArgParseConfig & | colour (const std::string &colour) |
ArgParseConfig< bool > & | default_value (bool value) override |
virtual ArgParseConfig & | description (const std::string &description) |
std::string | flag_name () const override |
bool | is_present () const |
bool | is_required () const override |
bool | matches (const std::string &flag) const override |
int | num_arguments () const override |
void | parse (const std::string &name, const std::vector< std::string > &arguments, bool firstPass, bool ignore_num_arguments=false) |
void | parse_item (const std::vector< std::string > &arguments) override |
std::string | printable (int description_column, int *chars_before_desc) const override |
virtual ArgParseConfig & | required () |
ArgParseConfig< bool > & | takes_argument () |
Private Attributes | |
std::string | fColour |
std::string | fDescription |
bool | fFirstPass |
std::vector< std::string > | fFlags |
int | fNum_arguments_expected {0} |
bool * | fOutput_location |
bool | fPresent {false} |
std::vector< std::string > | fRawFlags |
bool | fRequired |
bool | fStored_default_value {false} |
|
inline |
Definition at line 225 of file ArgParser.h.
References ArgParseConfigT< T >::fOutput_location.
|
inlinevirtualinherited |
Definition at line 117 of file ArgParser.h.
|
inlineoverridevirtual |
Implements ArgParseConfig< bool >.
Definition at line 231 of file ArgParser.h.
References ArgParseConfigT< T >::fOutput_location.
|
inlinevirtualinherited |
Definition at line 111 of file ArgParser.h.
|
inlineoverridevirtualinherited |
Implements ArgParseItem.
Definition at line 90 of file ArgParser.h.
|
inlineinherited |
Definition at line 35 of file ArgParser.h.
References ArgParseItem::fPresent.
|
inlineoverridevirtualinherited |
Implements ArgParseItem.
Definition at line 129 of file ArgParser.h.
|
inlineoverridevirtualinherited |
Implements ArgParseItem.
Definition at line 101 of file ArgParser.h.
|
inlineoverridevirtual |
Implements ArgParseItem.
Definition at line 254 of file ArgParser.h.
|
inlineinherited |
Definition at line 38 of file ArgParser.h.
References ArgParseItem::fFirstPass, ArgParseItem::fPresent, ArgParseItem::num_arguments(), and ArgParseItem::parse_item().
Referenced by ArgParser::handle_default_option(), ArgParser::handle_long_flag(), ArgParser::handle_short_flag(), and ArgParser::parse_file().
|
inlineoverridevirtual |
Implements ArgParseItem.
Definition at line 244 of file ArgParser.h.
References ArgParseConfigT< T >::fOutput_location.
|
inlineoverridevirtualinherited |
Implements ArgParseItem.
Definition at line 133 of file ArgParser.h.
|
inlinevirtualinherited |
Definition at line 123 of file ArgParser.h.
|
inline |
Definition at line 238 of file ArgParser.h.
|
privateinherited |
Colour string to be use for display.
Definition at line 184 of file ArgParser.h.
|
privateinherited |
A description for display on the terminal.
Definition at line 181 of file ArgParser.h.
|
privateinherited |
Definition at line 64 of file ArgParser.h.
Referenced by ArgParseItem::parse().
|
privateinherited |
The literal flag that is searched for, including leading dashes.
Definition at line 187 of file ArgParser.h.
|
private |
Definition at line 259 of file ArgParser.h.
|
private |
Definition at line 257 of file ArgParser.h.
|
privateinherited |
Definition at line 63 of file ArgParser.h.
Referenced by ArgParseItem::is_present(), and ArgParseItem::parse().
|
privateinherited |
The flags without the leading dashes.
Definition at line 190 of file ArgParser.h.
|
privateinherited |
Whether the flag must be supplied.
Definition at line 193 of file ArgParser.h.
|
private |
Definition at line 258 of file ArgParser.h.