|
| | TParameterList () |
| | Constructor initialises the member variable parameters More...
|
| |
| | TParameterList (TParameterList copy) |
| | Copy Constructor creates a copy of another ParameterList; this is required to be able to print and export to CSV with the correctly formatted dates More...
|
| |
| void | Clear () |
| | Clear all parameters from the current list More...
|
| |
| void | LoadFromDataTable (System.Data.DataTable param) |
| | This loads the parameters from a datatable Mainly used for sending the parameters over a remote connection More...
|
| |
| System.Data.DataTable | ToDataTable () |
| | This stores the parameters into a datatable Mainly used for sending the parameters over a remote connection More...
|
| |
| void | Copy (TParameterList AOtherList, int column, int depth, eParameterFit exact, int ADestColumn) |
| | Procedure to copy all parameters of one column from another parameter list; The column is first emptied in this parameter list, before the copying takes place. More...
|
| |
| void | Copy (TParameterList AOtherList) |
| | copy the whole list More...
|
| |
| void | Add (TParameterList AOtherList) |
| | add the parameters from another list, overwriting existing values, but not deleting parameters as Copy does More...
|
| |
| void | CopyMissing (TParameterList AOtherList) |
| | add all parameters that do not have an equivalent in this parameter list More...
|
| |
| void | Add (String parameterId, TVariant value, int column=-1, int depth=-1) |
| | Common procedure to add a parameter, expects the value as a variant More...
|
| |
| void | Add (String parameterId, bool value, int column=-1, int depth=-1) |
| | Procedure to add a parameter of type Boolean More...
|
| |
| void | Add (String parameterId, decimal value, int column=-1, int depth=-1) |
| | Procedure to add a parameter of type Decimal More...
|
| |
| void | Add (String parameterId, String value, int column=-1, int depth=-1) |
| | Procedure to add a parameter of type String More...
|
| |
| void | Add (String parameterId, System.DateTime value, int column=-1, int depth=-1) |
| | Procedure to add a parameter of type DateTime More...
|
| |
| void | Add (String parameterId, System.Int32 value, int column=-1, int depth=-1) |
| | Procedure to add a parameter of type Int32 More...
|
| |
| void | RemoveVariable (String AParameterId, int AColumn, int ADepth=-1, eParameterFit AExact=eParameterFit.eBestFit) |
| | Remove a variable; it will not exist anymore More...
|
| |
| void | RemoveVariable (String AParameterId) |
| | remove variable completely from list, all occurrences More...
|
| |
| Boolean | Exists (String parameterId, int column=-1, int depth=-1, eParameterFit exact=eParameterFit.eBestFit) |
| | Test if a value other than NOTFOUND would be returned More...
|
| |
| void | Debug (String parameterId) |
| | Prints a message to log with all occurrences of the given variable in the parameter list This can be helpful for debugging. More...
|
| |
| TVariant | Get (String parameterId, int column=-1, int depth=-1, eParameterFit exact=eParameterFit.eBestFit) |
| | Common procedure to retrieve a parameter of any type; will return a TVariant object More...
|
| |
| TVariant | GetOrDefault (String parameterId, int column, TVariant ADefault) |
| | Common procedure to retrieve a parameter or a default value; will return a TVariant object More...
|
| |
| TParameter | GetParameter (String parameterId, int column=-1, int depth=-1, eParameterFit exact=eParameterFit.eBestFit) |
| | Common procedure to retrieve a parameter of any type; will return a TParameter object More...
|
| |
| void | Load (String filename) |
| | Read the parameters from a text file (json format); used for loading settings More...
|
| |
| void | LoadFromJson (String jsonString) |
| | load from json More...
|
| |
| void | Sort () |
| | useful for storing the parameter lists and comparing in unit tests More...
|
| |
| string | ToJson () |
| | export to JSON More...
|
| |
| void | Save (String filename) |
| | Write all the parameters to a text file (json format); used for storing settings More...
|
| |
| TParameterList | ConvertToFormattedStrings (String AOutputType) |
| | This formats the dates for different output, for example printing More...
|
| |
| TParameterList | ConvertToFormattedStrings () |
| | overload, use Localized as default output type More...
|
| |
This class is a container class that holds an unlimited number of TParameter objects. It provides functions to add parameters of all possible types. It provides functions for retrieving the value of a given parameter, depending on column and level. The data can be stored to an xml file and loaded from an xml file.