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