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"
Public Member Functions | |
bool | operator() (const ObjectType *a, const ObjectType *b) const |
Returns true if a sorts before b, false otherwise. More... | |
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 26 of file indirectCompareNames.h.
|
inline |
Returns true if a sorts before b, false otherwise.
Definition at line 19 of file indirectCompareNames.I.