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

IndirectCompareNames< ObjectType > Class Template Reference

An STL function object class, this is intended to be used on any ordered collection of pointers to classes that define a get_name() method, particularly for things that derive from Namable. More...

#include <indirectCompareNames.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 IndirectCompareNames< ObjectType >

An STL function object class, this is intended to be used on any ordered collection of pointers to classes that define a get_name() method, particularly for things that derive from Namable.

It defines the order of the pointers by case-sensitive name comparison.

Definition at line 45 of file indirectCompareNames.h.


Member Function Documentation

template<class ObjectType>
bool IndirectCompareNames< 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 indirectCompareNames.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