Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

IndirectCompareTo< ObjectType > Class Template Reference

An STL function object class, this is intended to be used on any ordered collection of pointers to classes that contain a compare_to() method. More...

#include <indirectCompareTo.h>

List of all members.

Public Member Functions

bool operator() (const ObjectType *a, const ObjectType *b) const
 Returns true if a sorts before b, false otherwise.


Detailed Description

template<class ObjectType>
class IndirectCompareTo< ObjectType >

An STL function object class, this is intended to be used on any ordered collection of pointers to classes that contain a compare_to() method.

It defines the order of the pointers via compare_to().

Definition at line 41 of file indirectCompareTo.h.


Member Function Documentation

template<class ObjectType>
bool IndirectCompareTo< ObjectType >::operator() const ObjectType *  a,
const ObjectType *  b
const [inline]
 

Returns true if a sorts before b, false otherwise.

Definition at line 33 of file indirectCompareTo.I.


The documentation for this class was generated from the following files:
Generated on Fri May 2 00:51:35 2003 for Panda by doxygen1.3