mjplusplus
v0.4.1
|
#include <optionparser.h>
Public Member Functions | |
CountOptionsAction (unsigned *buffer_max_) | |
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... | |
|
inline |
Creates a new CountOptionsAction that will increase *buffer_max_
for each parsed Option.
|
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 from option::Parser::Action.