|
Protocol++® (Protocolpp®) v5.7.2
|


Public Member Functions | |
| StoreOptionAction (Parser &parser_, Option options_[], Option buffer_[], int bufmax_) | |
Number of slots in buffer. -1 means "large enough". | |
| bool | perform (Option &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. | |
| bool | finished (int numargs, const char **args) |
| Called by Parser::workhorse() after finishing the parse. | |
|
inline |
Number of slots in buffer. -1 means "large enough".
Creates a new StoreOption action.
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 from option::Parser::Action.
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 option::Parser::Action.
