Declarations for Comparer objects. More...
Go to the source code of this file.
Classes | |
struct | ogdf::GenericComparer< ELEM, NUM, ascending > |
Compare elements based on a single comparable attribute. More... | |
class | ogdf::Prioritized< X, Priority > |
Augments any data elements of type X with keys of type Priority. This class is also its own Comparer. More... | |
class | ogdf::StdComparer< E > |
Standard comparer (valid as a static comparer). More... | |
class | ogdf::StdComparer< bool > |
Generates a specialization of the standard static comparer for booleans. More... | |
class | ogdf::StdComparer< Prioritized< X, Priority > > |
class | ogdf::StlGreater< TYPE, COMPARER > |
Template for converting any StdComparer into a STL compatible compare functor. More... | |
class | ogdf::StlLess< TYPE, COMPARER > |
Template for converting any StdComparer into a STL compatible compare functor. More... | |
class | ogdf::TargetComparer< CONTENTTYPE, STATICCONTENTCOMPARER > |
A static comparer which compares the target of pointers ("content"), instead of the pointer's adresses. More... | |
class | ogdf::VComparer< E > |
Abstract base class for comparer classes. More... | |
Namespaces | |
namespace | ogdf |
The namespace for all OGDF objects. | |
Macros | |
#define | OGDF_AUGMENT_COMPARER(type) |
Add this macro to your class to turn it into a full comparer. | |
#define | OGDF_AUGMENT_STATICCOMPARER(type) |
Add this macro to your class to turn it into a full static comparer. | |
#define | OGDF_DECLARE_COMPARER(NAME, TYPE, NUMBER, GET_X_ATTR) |
Declares a class NAME that extends from ogdf::GenericComparer. | |
#define | OGDF_STD_COMPARER(type) |
Generates a specialization of the standard static comparer for type based on compare operators. | |
Declarations for Comparer objects.
Definition in file comparer.h.