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...
Public Member Functions | |
ComparerValueBase (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 >::ComparerValueBase::ComparerValueBase | ( | bool | twoStage, |
bool | strict | ||
) | [inline] |
override IComparable IG::Lib::KeyValueSortable< Tkey, Tvalue >::ComparerValueBase::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 >::ComparerValueBase::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.