C4SortObjectSTL Class Reference

Public Member Functions

 C4SortObjectSTL (C4SortObject &rSorter)
bool operator() (const C4Value &v1, const C4Value &v2)

Detailed Description

Definition at line 50 of file C4ValueArray.cpp.

Constructor & Destructor Documentation

◆ C4SortObjectSTL()

C4SortObjectSTL::C4SortObjectSTL ( C4SortObject rSorter)

Definition at line 56 of file C4ValueArray.cpp.

56 : rSorter(rSorter) {}

Member Function Documentation

◆ operator()()

bool C4SortObjectSTL::operator() ( const C4Value v1,
const C4Value v2 

Definition at line 57 of file C4ValueArray.cpp.

References C4Value::_getObj(), and C4SortObject::Compare().

57 { return rSorter.Compare(v1._getObj(), v2._getObj()) > 0; }
C4Object * _getObj() const
Definition: C4Value.cpp:73
virtual int32_t Compare(C4Object *pObj1, C4Object *pObj2)=0
Here is the call graph for this function:

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