Version Wwise
arrow_right Table des matières

AkSortedKeyArray< T_KEY, T_ITEM, U_POOL, U_KEY, TGrowBy, TMovePolicy > Class Template Reference

Inheritance diagram for AkSortedKeyArray< T_KEY, T_ITEM, U_POOL, U_KEY, TGrowBy, TMovePolicy >:
AkArray< T_ITEM, const T_ITEM &, U_POOL, TGrowBy, TMovePolicy > U_POOL

List of all members.

Public Member Functions

template<class P_KEY >
T_ITEM *  Exists (P_KEY in_key)
template<class P_KEY >
T_ITEM *  Add (P_KEY in_key)
template<class P_KEY >
T_ITEM *  AddNoSetKey (P_KEY in_key)
template<class P_KEY >
T_ITEM *  Set (P_KEY in_key)
template<class P_KEY >
void  Unset (P_KEY in_key)
template<class P_KEY >
void  Reorder (P_KEY in_OldKey, P_KEY in_NewKey, T_ITEM in_item)
template<class P_KEY >
void  ReSortArray ()
template<class P_KEY >
T_ITEM *  BinarySearch (P_KEY in_key, bool &out_bFound)
AkForceInline void  Swap (T_ITEM *in_ItemA, T_ITEM *in_ItemB)

Detailed Description

template<class T_KEY, class T_ITEM, class U_POOL, class U_KEY = AkGetArrayKey< T_KEY, T_ITEM >, unsigned long TGrowBy = 1, class TMovePolicy = AkAssignmentMovePolicy<T_ITEM>>
class AkSortedKeyArray< T_KEY, T_ITEM, U_POOL, U_KEY, TGrowBy, TMovePolicy >

Array of items, sorted by key. Uses binary search for lookups. BEWARE WHEN MODIFYING THE ARRAY USING BASE CLASS METHODS.

Definition at line 157 of file AkKeyArray.h.


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