A static comparer which compares the target of pointers ("content"), instead of the pointer's adresses. More...
#include <ogdf/basic/comparer.h>
Static Public Member Functions | |
| static bool | less (const CONTENTPOINTER &x, const CONTENTPOINTER &y) |
| static bool | leq (const CONTENTPOINTER &x, const CONTENTPOINTER &y) |
| static bool | greater (const CONTENTPOINTER &x, const CONTENTPOINTER &y) |
| static bool | geq (const CONTENTPOINTER &x, const CONTENTPOINTER &y) |
| static bool | equal (const CONTENTPOINTER &x, const CONTENTPOINTER &y) |
Private Types | |
| typedef CONTENTTYPE * | CONTENTPOINTER |
A static comparer which compares the target of pointers ("content"), instead of the pointer's adresses.
For the comparison of the contents, you may give your own static comparer
Definition at line 121 of file comparer.h.
typedef CONTENTTYPE* ogdf::TargetComparer< CONTENTTYPE, STATICCONTENTCOMPARER >::CONTENTPOINTER [private] |
Definition at line 122 of file comparer.h.
| static bool ogdf::TargetComparer< CONTENTTYPE, STATICCONTENTCOMPARER >::equal | ( | const CONTENTPOINTER & | x, |
| const CONTENTPOINTER & | y | ||
| ) | [inline, static] |
Definition at line 128 of file comparer.h.
| static bool ogdf::TargetComparer< CONTENTTYPE, STATICCONTENTCOMPARER >::geq | ( | const CONTENTPOINTER & | x, |
| const CONTENTPOINTER & | y | ||
| ) | [inline, static] |
Definition at line 127 of file comparer.h.
| static bool ogdf::TargetComparer< CONTENTTYPE, STATICCONTENTCOMPARER >::greater | ( | const CONTENTPOINTER & | x, |
| const CONTENTPOINTER & | y | ||
| ) | [inline, static] |
Definition at line 126 of file comparer.h.
| static bool ogdf::TargetComparer< CONTENTTYPE, STATICCONTENTCOMPARER >::leq | ( | const CONTENTPOINTER & | x, |
| const CONTENTPOINTER & | y | ||
| ) | [inline, static] |
Definition at line 125 of file comparer.h.
| static bool ogdf::TargetComparer< CONTENTTYPE, STATICCONTENTCOMPARER >::less | ( | const CONTENTPOINTER & | x, |
| const CONTENTPOINTER & | y | ||
| ) | [inline, static] |
Definition at line 124 of file comparer.h.