Go to the source code of this file.
bool compareOnPriceAsc |
( |
Gift |
g1, |
|
|
Gift |
g2 |
|
) |
| |
Comparator to compare Gifts on basis of their price
For sorting in ascending order
Definition at line 8 of file gift.cpp.
bool compareOnPriceDesc |
( |
Gift |
g1, |
|
|
Gift |
g2 |
|
) |
| |
Comparator to compare Gifts on basis of their price
For sorting in descending order
Definition at line 13 of file gift.cpp.
bool compareOnValue |
( |
Gift |
g1, |
|
|
Gift |
g2 |
|
) |
| |
Comparator to compare Gifts on basis of their value
For sorting in descending order
Definition at line 3 of file gift.cpp.