19 #ifndef INC_C4ValueList
20 #define INC_C4ValueList
40 if (-iSize <= iElem && iElem < 0)
41 return pData[iSize + iElem];
42 else if (0 <= iElem && iElem < iSize)
62 void Thaw() { constant =
false; }
76 void SetSlice(int32_t startIndex, int32_t endIndex,
const C4Value &Val);
80 void Sort(
bool descending=
false);
86 int32_t iSize{0}, iCapacity{0};
const C4Value & GetItem(int32_t iElem) const
void Denumerate(C4ValueNumbers *)
bool SortByProperty(C4String *prop_name, bool descending=false)
void Sort(class C4SortObject &rSort)
C4ValueArray & operator=(const C4ValueArray &)
const C4Value & _GetItem(int32_t iElem) const
void CompileFunc(class StdCompiler *pComp, C4ValueNumbers *)
void SetSlice(int32_t startIndex, int32_t endIndex, const C4Value &Val)
void SetSize(int32_t inSize)
C4Value operator[](int32_t iElem) const
void SetItem(int32_t iElemNr, const C4Value &Value)
C4ValueArray * GetSlice(int32_t startIndex, int32_t endIndex)
bool SortByArrayElement(int32_t array_idx, bool descending=false)
bool operator==(const C4ValueArray &) const