Panda3D
|
An STL function object class, this is intended to be used on any ordered collection of pointers to classes that define a get_sort() method. More...
#include "indirectCompareSort.h"
Public Member Functions | |
bool | operator() (const ObjectType *a, const ObjectType *b) const |
Returns true if a sorts before b, false otherwise. |
An STL function object class, this is intended to be used on any ordered collection of pointers to classes that define a get_sort() method.
It defines the order of the pointers by sort comparison.
Definition at line 28 of file indirectCompareSort.h.
bool IndirectCompareSort< ObjectType >::operator() | ( | const ObjectType * | a, |
const ObjectType * | b | ||
) | const [inline] |
Returns true if a sorts before b, false otherwise.
Definition at line 23 of file indirectCompareSort.I.