A reader that processes a value from the input literals allowing only a limited number of resulting values.
More...
|
| | ChoiceArgumentReader (Set< ValueType > choices) |
| | Creates a new instance of the reader for a number of allowed result values which implement the IConvertible interface. More...
|
| |
| | ChoiceArgumentReader (Set< ValueType > choices, SimpleTypeConverter< string, ValueType > converter) |
| | Creates a new instance of the reader for a number of allowed result values which can be converted by a custom converter. More...
|
| |
| override ArgumentReadResult< ValueType > | Read (ArgumentsIterator args, string name, int offset=0) |
| | Reads literals from the input to create a resulting value. More...
|
| |
| | ValueArgumentReader () |
| | Creates a new instance for resulting types which implement the IConvertible interface. More...
|
| |
| | ValueArgumentReader (SimpleTypeConverter< string, ValueType > converter) |
| | Creates a new instance using a custom converter to produce the result value. More...
|
| |
| | ValueArgumentReader (SimpleTypeConverter< string, ValueType > converter, String startDelimiter, String endDelimiter, String partConnector, bool keepDelimiters) |
| | Creates a new instance using a custom converter for delimited values to produce the result value. More...
|
| |
| virtual ArgumentReadResult< ValueType > | Read (ArgumentsIterator args, string name, int offset=0) |
| | Reads literals from the input to create a resulting value. More...
|
| |
| ArgumentReadResult< ValueType > | Read (ArgumentsIterator args, string name, int offset=0) |
| | Reads literals from the input. More...
|
| |
|
| Set< ValueType > | Choices [get] |
| | The allowed values for the read result. More...
|
| |
| virtual String | ValueStartDelimiter [get, set] |
| | The delimiter that determines the start of a delimited value. More...
|
| |
| virtual String | ValueEndDelimiter [get, set] |
| | The delimiter that determines the end of a delimited value. More...
|
| |
| virtual String | ValuePartsConnector [get, set] |
| | The value that is added between the different literals read from the input when reading a delimited value. More...
|
| |
| virtual bool | KeepDelimiters [get, set] |
| | Determines if the resulting value should contain the delimiters or not. More...
|
| |
| Set< String > | ArgumentPrefixes [set] |
| | The prefixes of the arguments used by the parser. More...
|
| |
| virtual SimpleTypeConverter< string, ValueType > | TypeConverter [get, set] |
| | The converter used to change the read literals into a different type. More...
|
| |
| Set< String > | ArgumentPrefixes [set] |
| | The prefixes of the arguments used by the parser. More...
|
| |
A reader that processes a value from the input literals allowing only a limited number of resulting values.
- Since
- 0.2.0