#include <command_line_parsing.h>
Inheritance diagram for OptionList:
Public Methods | |
OptionList () | |
OptionList (Option *opt1) | |
OptionList (Option *opt1, Option *opt2) | |
virtual | ~OptionList () |
virtual OptionList* | add ( Option* ) |
virtual bool | parse ( TokenStream* tokens, bool &changed, ValueClass* parent = 0 ) |
returns true if the token stream parsing does not fail at this option. More... | |
virtual void | delete_values () |
virtual void | print ( String& command_line_string, suif_vector<OptionDescription>* descriptions ) const |
Prepare the printable description of this option. More... |
It matches with all the options in the sequence.
|
|
|
|
|
|
Reimplemented from Option.
|
returns true if the token stream parsing does not fail at this option.
sets the changed parameter to true if the option parsing generated some state. The changed token is important in loops because OptionSelections can succeed without actually consuming any of the token stream.
Reimplemented from Option.
|
Prepare the printable description of this option.
Append a printed message to command_line_string, and a description to descriptions.
Reimplemented from Option.