浏览该文件的文档.
32 template <
class T_KEY,
class T_ITEM,
class U_POOL,
class U_KEY = AkGetArrayKey< T_KEY, T_ITEM >,
class TGrowBy = AkGrowByPolicy_DEFAULT,
class TMovePolicy = AkAssignmentMovePolicy<T_ITEM>,
class TComparePolicy = AkDefaultSortedKeyCompare<T_KEY> >
33 class CAkHeap :
public AkArray< T_ITEM, const T_ITEM &, U_POOL, TGrowBy, TMovePolicy >
44 while (insertIdx != 0)
46 int parentIdx = Parent(insertIdx);
51 insertIdx = parentIdx;
62 U_KEY::Get(*pItem) = in_Key;
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.
介绍一下自己的项目。我们会竭力为您提供帮助。
来注册自己的项目,我们帮您快速入门,不带任何附加条件!
开始 Wwise 之旅