Protocol++® (Protocolpp®)
v5.6.2
|
Public Member Functions | |
virtual 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. More... | |
virtual bool | finished (int numargs, const char **args) |
Called by Parser::workhorse() after finishing the parse. More... | |
|
inlinevirtual |
Called by Parser::workhorse() after finishing the parse.
numargs | the number of non-option arguments remaining |
args | pointer to the first remaining non-option argument (if numargs > 0). |
false
iff a fatal error has occurred. Reimplemented in option::Parser::StoreOptionAction.
|
inlinevirtual |
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 in option::Parser::StoreOptionAction, and option::Stats::CountOptionsAction.