Open
Graph Drawing
Framework

 v.2012.05
 

ogdf::TargetComparer< CONTENTTYPE, STATICCONTENTCOMPARER > Class Template Reference

A static comparer which compares the target of pointers ("content"), instead of the pointer's adresses. More...

#include <ogdf/basic/comparer.h>

List of all members.

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

Detailed Description

template<class CONTENTTYPE, class STATICCONTENTCOMPARER = StdComparer<CONTENTTYPE>>
class ogdf::TargetComparer< CONTENTTYPE, STATICCONTENTCOMPARER >

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.


Member Typedef Documentation

template<class CONTENTTYPE , class STATICCONTENTCOMPARER = StdComparer<CONTENTTYPE>>
typedef CONTENTTYPE* ogdf::TargetComparer< CONTENTTYPE, STATICCONTENTCOMPARER >::CONTENTPOINTER [private]

Definition at line 122 of file comparer.h.


Member Function Documentation

template<class CONTENTTYPE , class STATICCONTENTCOMPARER = StdComparer<CONTENTTYPE>>
static bool ogdf::TargetComparer< CONTENTTYPE, STATICCONTENTCOMPARER >::equal ( const CONTENTPOINTER x,
const CONTENTPOINTER y 
) [inline, static]

Definition at line 128 of file comparer.h.

template<class CONTENTTYPE , class STATICCONTENTCOMPARER = StdComparer<CONTENTTYPE>>
static bool ogdf::TargetComparer< CONTENTTYPE, STATICCONTENTCOMPARER >::geq ( const CONTENTPOINTER x,
const CONTENTPOINTER y 
) [inline, static]

Definition at line 127 of file comparer.h.

template<class CONTENTTYPE , class STATICCONTENTCOMPARER = StdComparer<CONTENTTYPE>>
static bool ogdf::TargetComparer< CONTENTTYPE, STATICCONTENTCOMPARER >::greater ( const CONTENTPOINTER x,
const CONTENTPOINTER y 
) [inline, static]

Definition at line 126 of file comparer.h.

template<class CONTENTTYPE , class STATICCONTENTCOMPARER = StdComparer<CONTENTTYPE>>
static bool ogdf::TargetComparer< CONTENTTYPE, STATICCONTENTCOMPARER >::leq ( const CONTENTPOINTER x,
const CONTENTPOINTER y 
) [inline, static]

Definition at line 125 of file comparer.h.

template<class CONTENTTYPE , class STATICCONTENTCOMPARER = StdComparer<CONTENTTYPE>>
static bool ogdf::TargetComparer< CONTENTTYPE, STATICCONTENTCOMPARER >::less ( const CONTENTPOINTER x,
const CONTENTPOINTER y 
) [inline, static]

Definition at line 124 of file comparer.h.


The documentation for this class was generated from the following file: