IGLib
1.5
The IGLib base library for development of numerical, technical and business applications.
|
Class representing a key-value pair where sorting can be performed both with respect to key and with respect to value. More...
Classes | |
class | ComparerBase |
Base class for different IComparer classes. More... | |
class | ComparerKeyBase |
IComparer that compares the key first and then eventually the value and finally the additional ordering parameter, dependent on constructor parameters. More... | |
class | ComparerValueBase |
IComparer that compares the key first and then eventually the value and finally the additional ordering parameter, dependent on constructor parameters. More... | |
Public Member Functions | |
KeyValueSortable (Tkey key, Tvalue value, int orderParameter) | |
KeyValueSortable (Tkey key, Tvalue value) | |
Static Public Attributes | |
static IComparer < KeyValueSortable< Tkey, Tvalue > > | CompareKey |
Comparison of keys. More... | |
static IComparer < KeyValueSortable< Tkey, Tvalue > > | CompareKeyValue |
Comparison of keys and then values (if keys are equal). More... | |
static IComparer < KeyValueSortable< Tkey, Tvalue > > | CompareKeyValueStrict |
Comparison of keys and then values (if keys are equal) and finally the (possibly unique) ordering parameter that enables strict ordering of objects with the same key and value. More... | |
static IComparer < KeyValueSortable< Tkey, Tvalue > > | CompareValue |
Comparison of values. More... | |
static IComparer < KeyValueSortable< Tkey, Tvalue > > | CompareValueKey |
Comparison of values and then keys (if values are equal). More... | |
static IComparer < KeyValueSortable< Tkey, Tvalue > > | CompareValueKeyStrict |
Comparison of values and then keys (if keys are equal) and finally the (possibly unique) ordering parameter that enables strict ordering of objects with the same value and key. More... | |
Protected Attributes | |
Tkey | _key |
Tvalue | _value |
Static Protected Attributes | |
static int | _counter = 0 |
Properties | |
Tkey | Key [get] |
Returns the key. More... | |
Tvalue | Value [get] |
Returns the value. More... | |
int | OrderParameter [get] |
Order prameter that enable additional sorting when other fields are equal. More... | |
Private Member Functions | |
void | xxxx_to_delete () |
Private Attributes | |
int | _orderParameter |
Class representing a key-value pair where sorting can be performed both with respect to key and with respect to value.
Tkey | Type of the key, must implement IComparable interface. |
Tvalue | Type of the value, must implement IComparable interface. |
$A Igor Apr10;
Tkey | : | IComparable | |
Tvalue | : | IComparable |
|
inline |
|
inline |
|
inlineprivate |
|
staticprotected |
|
protected |
|
protected |
|
private |
|
static |
Comparison of keys.
|
static |
Comparison of keys and then values (if keys are equal).
|
static |
Comparison of keys and then values (if keys are equal) and finally the (possibly unique) ordering parameter that enables strict ordering of objects with the same key and value.
|
static |
Comparison of values.
|
static |
Comparison of values and then keys (if values are equal).
|
static |
Comparison of values and then keys (if keys are equal) and finally the (possibly unique) ordering parameter that enables strict ordering of objects with the same value and key.
|
get |
|
get |
|
get |
Order prameter that enable additional sorting when other fields are equal.
Referenced by IG.Lib.KeyValueSortable< Tkey, Tvalue >.ComparerBase.Compare().