creaImageIO_lib
|
Comparator which compares the values of a given Attribute of the Nodes which is decoded as an int value. More...
#include <creaImageIOTreeComparators.h>
Public Member Functions | |
IntComparator (const std::string &key, bool reverse_order) | |
virtual bool | compare (Node *const &x, Node *const &y) |
virtual bool | operator() (Node *const &x, Node *const &y) |
Public Attributes | |
bool | mReverseOrder |
Private Attributes | |
std::string | mKey |
Comparator which compares the values of a given Attribute of the Nodes which is decoded as an int value.
Definition at line 121 of file creaImageIOTreeComparators.h.
|
inline |
Definition at line 124 of file creaImageIOTreeComparators.h.
Implements creaImageIO::tree::ComparatorWithOrder.
|
inlinevirtualinherited |
Implements creaImageIO::tree::Comparator.
Definition at line 70 of file creaImageIOTreeComparators.h.
References creaImageIO::tree::ComparatorWithOrder::compare(), and creaImageIO::tree::ComparatorWithOrder::mReverseOrder.
|
private |
Definition at line 133 of file creaImageIOTreeComparators.h.
|
inherited |
Definition at line 74 of file creaImageIOTreeComparators.h.
Referenced by creaImageIO::tree::ComparatorWithOrder::operator()().