Definition at line 1412 of file OptionParser.h.
Public Member Functions | |
CountOptionsAction (unsigned *buffer_max_) | |
Creates a new CountOptionsAction that will increase *buffer_max_ for each parsed Option. | |
bool | perform (Option &) |
Called by Parser::workhorse() for each Option that has been successfully parsed (including unknown options if they have a Descriptor whose Descriptor::check_arg does not return ARG_ILLEGAL. | |
Public Member Functions inherited from ROOT::option::Parser::Action | |
virtual | ~Action ()=default |
virtual bool | finished (int numargs, const char **args) |
Called by Parser::workhorse() after finishing the parse. | |
Private Attributes | |
unsigned * | buffer_max |
|
inline |
Creates a new CountOptionsAction that will increase *buffer_max_
for each parsed Option.
Definition at line 1420 of file OptionParser.h.
Called by Parser::workhorse() for each Option that has been successfully parsed (including unknown options if they have a Descriptor whose Descriptor::check_arg does not return ARG_ILLEGAL.
Returns false
iff a fatal error has occured and the parse should be aborted.
Reimplemented from ROOT::option::Parser::Action.
Definition at line 1425 of file OptionParser.h.
|
private |
Definition at line 1414 of file OptionParser.h.