OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4ValueArraySortArrayElementcomp Struct Reference
Collaboration diagram for C4ValueArraySortArrayElementcomp:
[legend]

Public Member Functions

 C4ValueArraySortArrayElementcomp (int32_t element_idx)
 
bool operator() (const C4Value &v1, const C4Value &v2)
 

Public Attributes

int32_t element_idx
 
C4ValueArraySortcomp value_sort
 

Detailed Description

Definition at line 163 of file C4ValueArray.cpp.

Constructor & Destructor Documentation

C4ValueArraySortArrayElementcomp::C4ValueArraySortArrayElementcomp ( int32_t  element_idx)
inline

Definition at line 166 of file C4ValueArray.cpp.

Member Function Documentation

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

Definition at line 167 of file C4ValueArray.cpp.

References C4Value::_getArray(), C4ValueArray::GetItem(), and value_sort.

168  {
170  }
const C4Value & GetItem(int32_t iElem) const
Definition: C4ValueArray.h:38
C4ValueArray * _getArray() const
Definition: C4Value.h:127
C4ValueArraySortcomp value_sort

Here is the call graph for this function:

Member Data Documentation

int32_t C4ValueArraySortArrayElementcomp::element_idx

Definition at line 165 of file C4ValueArray.cpp.

C4ValueArraySortcomp C4ValueArraySortArrayElementcomp::value_sort

Definition at line 165 of file C4ValueArray.cpp.

Referenced by operator()().


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