|
IGLib 1.4
The IGLib base library for development of numerical, technical and business applications.
|
IComparer that compares the key first and then eventually the value and finally the additional ordering parameter, dependent on constructor parameters. More...
Inheritance diagram for IG::Lib::KeyValueSortable< Tkey, Tvalue >::ComparerKeyBase:
Collaboration diagram for IG::Lib::KeyValueSortable< Tkey, Tvalue >::ComparerKeyBase:Public Member Functions | |
| ComparerKeyBase (bool twoStage, bool strict) | |
Protected Member Functions | |
| override IComparable | GetFirstStageCompared (KeyValueSortable< Tkey, Tvalue > keyValue) |
| Extracts the object used in the first level of comparison from the argument. | |
| override IComparable | GetSecondStageCompared (KeyValueSortable< Tkey, Tvalue > keyValue) |
| Extracts the object used in the second level of comparison from the argument. | |
IComparer that compares the key first and then eventually the value and finally the additional ordering parameter, dependent on constructor parameters.
| IG::Lib::KeyValueSortable< Tkey, Tvalue >::ComparerKeyBase::ComparerKeyBase | ( | bool | twoStage, |
| bool | strict | ||
| ) | [inline] |
| override IComparable IG::Lib::KeyValueSortable< Tkey, Tvalue >::ComparerKeyBase::GetFirstStageCompared | ( | KeyValueSortable< Tkey, Tvalue > | keyValue | ) | [inline, protected, virtual] |
Extracts the object used in the first level of comparison from the argument.
Implements IG::Lib::KeyValueSortable< Tkey, Tvalue >::ComparerBase.
| override IComparable IG::Lib::KeyValueSortable< Tkey, Tvalue >::ComparerKeyBase::GetSecondStageCompared | ( | KeyValueSortable< Tkey, Tvalue > | keyValue | ) | [inline, protected, virtual] |
Extracts the object used in the second level of comparison from the argument.
Implements IG::Lib::KeyValueSortable< Tkey, Tvalue >::ComparerBase.