浏览该文件的文档.
33 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> >
34 class CAkHeap :
public AkArray< T_ITEM, const T_ITEM &, U_POOL, TGrowBy, TMovePolicy >
45 while (insertIdx != 0)
47 int parentIdx = Parent(insertIdx);
52 insertIdx = parentIdx;
63 U_KEY::Get(*pItem) = in_Key;
113 return TComparePolicy::Lesser((
void*)
this, a, b);
126 return (i - 1U) / 2U;
131 return (2U * i + 1U);
136 return (2U * i + 2U);
Specific implementation of array
AkUInt32 m_uLength
number of items in the array.
AkForceInline T * AddLast()
T_ITEM * Insert(T_KEY in_Key)
T * m_pItems
pointer to the beginning of the array.
介绍一下自己的项目。我们会竭力为您提供帮助。
来注册自己的项目,我们帮您快速入门,不带任何附加条件!
开始 Wwise 之旅