Open
Graph Drawing
Framework

 v.2007.11
 

ogdf::DefComparer< E > Class Template Reference

Default implementation for comparer. More...

#include <basic.h>

Inheritance diagram for ogdf::DefComparer< E >:

ogdf::Comparer< E >

List of all members.

Public Member Functions

int compare (const E &x, const E &y)
 Compares x and y and returns the result as an integer.


Detailed Description

template<class E>
class ogdf::DefComparer< E >

Default implementation for comparer.

The parameterized class DefComparer<E> implements a comparer for type E based on overloaded < and > operators.

Definition at line 433 of file basic.h.


Member Function Documentation

template<class E>
int ogdf::DefComparer< E >::compare ( const E &  x,
const E &  y 
) [inline, virtual]

Compares x and y and returns the result as an integer.

The returns value is

Implements ogdf::Comparer< E >.

Definition at line 436 of file basic.h.


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

© 1999-2007 by oreas GmbH, © 2005-2007 by University Dortmund and University Cologne.

Generated on Thu Nov 22 19:40:07 2007 by doxygen 1.5.4.