#include <oscl_opaque_type.h>
Public Member Functions | |
virtual | ~Oscl_Opaque_Type_Compare () |
virtual void | swap (OsclAny *a, const OsclAny *b)=0 |
virtual int | compare_LT (OsclAny *a, OsclAny *b) const =0 |
virtual int | compare_EQ (const OsclAny *a, const OsclAny *b) const =0 |
Opaque type operations with swap & comparisons.
virtual Oscl_Opaque_Type_Compare::~Oscl_Opaque_Type_Compare | ( | ) | [inline, virtual] |
virtual int Oscl_Opaque_Type_Compare::compare_EQ | ( | const OsclAny * | a, | |
const OsclAny * | b | |||
) | const [pure virtual] |
Return a==b.
Implemented in OsclPriorityQueue< Qelem, Alloc, Container, Compare >, OsclPriorityQueue< TOsclReady, OsclReadyAlloc, Oscl_Vector< TOsclReady, OsclReadyAlloc >, OsclReadyCompare >, and OsclPriorityQueue< TOsclReady, OsclReadyAlloc, Oscl_Vector< TOsclReady, OsclReadyAlloc >, OsclTimerCompare >.
Return a<b.
Implemented in OsclPriorityQueue< Qelem, Alloc, Container, Compare >, OsclPriorityQueue< TOsclReady, OsclReadyAlloc, Oscl_Vector< TOsclReady, OsclReadyAlloc >, OsclReadyCompare >, and OsclPriorityQueue< TOsclReady, OsclReadyAlloc, Oscl_Vector< TOsclReady, OsclReadyAlloc >, OsclTimerCompare >.
Swap element at "a" with element at "b". Both pointers must be non-NULL.
Implemented in OsclPriorityQueue< Qelem, Alloc, Container, Compare >, OsclPriorityQueue< TOsclReady, OsclReadyAlloc, Oscl_Vector< TOsclReady, OsclReadyAlloc >, OsclReadyCompare >, and OsclPriorityQueue< TOsclReady, OsclReadyAlloc, Oscl_Vector< TOsclReady, OsclReadyAlloc >, OsclTimerCompare >.