#include <command_line_parsing.h>
Inheritance diagram for OptionString:
Public Methods | |
OptionString ( String argument = String( "string" ), String* storage_for_string = 0 ) | |
Construct with the name of this option and a memory location to hold a string. More... | |
virtual | ~OptionString () |
virtual const StringValueClass* | get_string ( int number = 0 ) const |
virtual StringValueClass* | get_string ( ValueClass* value, Option* context ) const |
virtual bool | parse ( TokenStream* tokens, bool &changed, ValueClass* parent = 0) |
Parse a token for an integer. More... |
|
Construct with the name of this option and a memory location to hold a string.
It will match any string token in the command line when parse is called
|
|
|
|
Parse a token for an integer.
Returns true if successful, false otherwise.
Reimplemented from Option.