Go to the documentation of this file.
29 #include AK/Tools/Common/AkKeyArray.h>
32 template class T_KEY,
class T_ITEM,
class U_POOL,
class U_KEY = AkGetArrayKey,
class TGrowBy = AkGrowByPolicy_DEFAULT,
class TMovePolicy = AkAssignmentMovePolicy
, class TComparePolicy = AkDefaultSortedKeyCompare >
44 while (insertIdx != 0)
46 int parentIdx = Parent(insertIdx);
51 insertIdx = parentIdx;
62 U_KEY::Get(*pItem) = in_Key;
72 if (
Base::m_uLength
112 return TComparePolicy::Lesser((
void*)
this, a, b);
125 return (i - 1U) / 2U;
130 return (2U * i + 1U);
135 return (2U * i + 2U);
Specific implementation of array.
AkUInt32 m_uLength
number of items in the array.
AkForceInline T * AddLast()
uint32_t AkUInt32
Unsigned 32-bit integer.
T_ITEM * Insert(T_KEY in_Key)
T * m_pItems
pointer to the beginning of the array.