C4SortObjectSTLCache Class Reference

Public Member Functions

 C4SortObjectSTLCache (C4SortObject &rSorter, C4Value *pVals)
bool operator() (int32_t n1, int32_t n2)

Detailed Description

Definition at line 60 of file C4ValueArray.cpp.

Constructor & Destructor Documentation

◆ C4SortObjectSTLCache()

C4SortObjectSTLCache::C4SortObjectSTLCache ( C4SortObject rSorter,
C4Value pVals 

Definition at line 67 of file C4ValueArray.cpp.

67 : rSorter(rSorter), pVals(pVals) {}

Member Function Documentation

◆ operator()()

bool C4SortObjectSTLCache::operator() ( int32_t  n1,
int32_t  n2 

Definition at line 68 of file C4ValueArray.cpp.

References C4SortObject::CompareCache().

68 { return rSorter.CompareCache(n1, n2, pVals[n1]._getObj(), pVals[n2]._getObj()) > 0; }
virtual int32_t CompareCache(int32_t iObj1, int32_t iObj2, C4Object *pObj1, C4Object *pObj2)
Definition: C4FindObject.h:430
Here is the call graph for this function:

The documentation for this class was generated from the following file: