Panda3D
Public Member Functions
IndirectLess< 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 an operator <() method. More...

#include "indirectLess.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 IndirectLess< ObjectType >

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

It defines the order of the pointers via operator <().

Definition at line 28 of file indirectLess.h.


Member Function Documentation

template<class ObjectType>
bool IndirectLess< 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 indirectLess.I.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations