OpenClonk
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 157 of file C4ValueArray.cpp.

Constructor & Destructor Documentation

◆ C4ValueArraySortArrayElementcomp()

C4ValueArraySortArrayElementcomp::C4ValueArraySortArrayElementcomp ( int32_t  element_idx)
inline

Definition at line 160 of file C4ValueArray.cpp.

Member Function Documentation

◆ operator()()

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

Definition at line 161 of file C4ValueArray.cpp.

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

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

Here is the call graph for this function:

Member Data Documentation

◆ element_idx

int32_t C4ValueArraySortArrayElementcomp::element_idx

Definition at line 159 of file C4ValueArray.cpp.

Referenced by operator()().

◆ value_sort

C4ValueArraySortcomp C4ValueArraySortArrayElementcomp::value_sort

Definition at line 159 of file C4ValueArray.cpp.

Referenced by operator()().


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