OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4SortObjectSTL Class Reference

Public Member Functions

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

Detailed Description

Definition at line 56 of file C4ValueArray.cpp.

Constructor & Destructor Documentation

C4SortObjectSTL::C4SortObjectSTL ( C4SortObject rSorter)
inline

Definition at line 62 of file C4ValueArray.cpp.

62 : rSorter(rSorter) {}

Member Function Documentation

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

Definition at line 63 of file C4ValueArray.cpp.

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

63 { return rSorter.Compare(v1._getObj(), v2._getObj()) > 0; }
virtual int32_t Compare(C4Object *pObj1, C4Object *pObj2)=0
C4Object * _getObj() const
Definition: C4Value.cpp:75

Here is the call graph for this function:


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