Class for key-value pair string processing. More...
Public Member Functions | |
| bool | CheckForLeftovers () |
| Check for parameters that have not been processed yet. | |
| bool | GetRemoveBool (string key, bool dvalue) |
| Get the value of a boolean parameter from the collection and remove the corresponding key-value pair. | |
| bool | GetRemoveBool (string key) |
| Get the value of a boolean parameter from the collection and remove the corresponding key-value pair. | |
| double | GetRemoveDouble (string key, double dvalue) |
| Get a double value from the parameters. | |
| double | GetRemoveDouble (string key) |
| Get a double value from the parameters. | |
| float | GetRemoveFloat (string key, float dvalue) |
| Get a float value from the parameters. | |
| float | GetRemoveFloat (string key) |
| Get a float value from the parameters. | |
| int | GetRemoveInt32 (string key, int dvalue) |
| Get the value of an integer parameter from the collection and remove the corresponding key-value pair. | |
| int | GetRemoveInt32 (string key) |
| Get the value of an integer parameter from the collection and remove the corresponding key-value pair. | |
| IList< int > | GetRemoveInt32List (string key, char sep) |
| Get the values of an integer list parameter from the collection and remove the corresponding key-value pair. | |
| IList< int > | GetRemoveInt32List (string key) |
| Get the values of an integer list parameter from the collection and remove the corresponding key-value pair. | |
| string | GetRemoveString (string key, string dvalue) |
| Get a string parameter. | |
| string | GetRemoveString (string key) |
| Get a string parameter. | |
| uint | GetRemoveUInt32 (string key, uint dvalue) |
| Get and remove an unsigned integer. | |
| uint | GetRemoveUInt32 (string key) |
| Get and remove an unsigned integer. | |
| RecommenderParameters (IList< string > args, int start) | |
| Create a CommandLineParameters object. | |
| RecommenderParameters (string arg_string) | |
| Create a CommandLineParameters object. | |
Class for key-value pair string processing.
| RecommenderParameters | ( | string | arg_string | ) |
Create a CommandLineParameters object.
| arg_string | a string that contains the command line parameters |
| RecommenderParameters | ( | IList< string > | args, | |
| int | start | |||
| ) |
Create a CommandLineParameters object.
| args | a list of strings that contains the command line parameters | |
| start | ignore all parameters before this position |
| bool CheckForLeftovers | ( | ) |
Check for parameters that have not been processed yet.
| bool GetRemoveBool | ( | string | key, | |
| bool | dvalue | |||
| ) |
Get the value of a boolean parameter from the collection and remove the corresponding key-value pair.
| key | the name of the parameter | |
| dvalue | the default value of the parameter |
| bool GetRemoveBool | ( | string | key | ) |
Get the value of a boolean parameter from the collection and remove the corresponding key-value pair.
| key | the name of the parameter |
| double GetRemoveDouble | ( | string | key, | |
| double | dvalue | |||
| ) |
Get a double value from the parameters.
| key | the parameter name | |
| dvalue | the default value if parameter of the given name is not found |
| double GetRemoveDouble | ( | string | key | ) |
Get a double value from the parameters.
| key | the parameter name |
| float GetRemoveFloat | ( | string | key, | |
| float | dvalue | |||
| ) |
Get a float value from the parameters.
| key | the parameter name | |
| dvalue | the default value if parameter of the given name is not found |
| float GetRemoveFloat | ( | string | key | ) |
Get a float value from the parameters.
| key | the parameter name |
| int GetRemoveInt32 | ( | string | key, | |
| int | dvalue | |||
| ) |
Get the value of an integer parameter from the collection and remove the corresponding key-value pair.
| key | the name of the parameter | |
| dvalue | the default value of the parameter |
| int GetRemoveInt32 | ( | string | key | ) |
Get the value of an integer parameter from the collection and remove the corresponding key-value pair.
| key | the name of the parameter |
| IList<int> GetRemoveInt32List | ( | string | key, | |
| char | sep | |||
| ) |
Get the values of an integer list parameter from the collection and remove the corresponding key-value pair.
| key | the name of the parameter | |
| sep | the separator character used to split the string representation of the list |
| IList<int> GetRemoveInt32List | ( | string | key | ) |
Get the values of an integer list parameter from the collection and remove the corresponding key-value pair.
| key | the name of the parameter |
| string GetRemoveString | ( | string | key, | |
| string | dvalue | |||
| ) |
Get a string parameter.
| key | the name of the parameter | |
| dvalue | the default value |
| string GetRemoveString | ( | string | key | ) |
Get a string parameter.
| key | the name of the parameter |
| uint GetRemoveUInt32 | ( | string | key, | |
| uint | dvalue | |||
| ) |
Get and remove an unsigned integer.
| key | the parameter name | |
| dvalue | the default value of the parameter |
| uint GetRemoveUInt32 | ( | string | key | ) |
Get and remove an unsigned integer.
| key | the parameter name |
1.6.3