Definition at line 1439 of file OptionParser.h.
#include </home/sftnight/build/workspace/root-makedoc-v620/rootspi/rdoc/src/v6-20-00-patches/core/dictgen/res/OptionParser.h>
◆ StoreOptionAction()
ROOT::option::Parser::StoreOptionAction::StoreOptionAction |
( |
Parser & |
parser_, |
|
|
Option |
options_[], |
|
|
Option |
buffer_[], |
|
|
int |
bufmax_ |
|
) |
| |
|
inline |
Number of slots in buffer
. -1
means "large enough".
Creates a new StoreOption action.
- Parameters
-
parser_ | the parser whose op_count should be updated. |
options_ | each Option o is chained into the linked list options_ [o.desc->index] |
buffer_ | each Option is appended to this array as long as there's a free slot. |
bufmax_ | number of slots in buffer_ . -1 means "large enough". |
Definition at line 1453 of file OptionParser.h.
◆ finished()
bool ROOT::option::Parser::StoreOptionAction::finished |
( |
int |
numargs, |
|
|
const char ** |
args |
|
) |
| |
|
inlinevirtual |
Called by Parser::workhorse() after finishing the parse.
- Parameters
-
numargs | the number of non-option arguments remaining |
args | pointer to the first remaining non-option argument (if numargs > 0). |
- Returns
false
iff a fatal error has occurred.
Reimplemented from ROOT::option::Parser::Action.
Definition at line 1485 of file OptionParser.h.
◆ perform()
bool ROOT::option::Parser::StoreOptionAction::perform |
( |
Option & |
| ) |
|
|
inlinevirtual |
◆ buffer
Option* ROOT::option::Parser::StoreOptionAction::buffer |
|
private |
◆ bufmax
int ROOT::option::Parser::StoreOptionAction::bufmax |
|
private |
◆ options
Option* ROOT::option::Parser::StoreOptionAction::options |
|
private |
◆ parser
Parser& ROOT::option::Parser::StoreOptionAction::parser |
|
private |
The documentation for this class was generated from the following file: