#include <track.h>
Public Member Functions | |
ReverseComparator (const TrackComparatorPtr &comparator) | |
virtual int | compare (const itunesdb::Track &track1, const itunesdb::Track &track2) const |
itunesdb::TrackComparators::ReverseComparator::ReverseComparator | ( | const TrackComparatorPtr & | comparator | ) | [inline] |
Constructs a comparator reversing the sort order of the given comparator.
virtual int itunesdb::TrackComparators::ReverseComparator::compare | ( | const itunesdb::Track & | track1, | |
const itunesdb::Track & | track2 | |||
) | const [inline, virtual] |
Compares the two given tracks in reverse to the delegating comparator
track1 | the first track to be compared to the second | |
track2 | the second track to be compared |