バージョン

menu_open
Wwise SDK 2023.1.2
AkArray< T, ARG_T, TAlloc, TGrowBy, TMovePolicy > クラステンプレート

Specific implementation of array [詳解]

#include <AkArray.h>

AkArray< T, ARG_T, TAlloc, TGrowBy, TMovePolicy > の継承関係図
AkArrayAllocatorNoAlign< T_MEMID >

クラス

struct  Iterator
 Iterator [詳解]
 

公開メンバ関数

 AkArray ()
 Constructor [詳解]
 
 ~AkArray ()
 Destructor [詳解]
 
Iterator Begin () const
 Returns the iterator to the first item of the array, will be End() if the array is empty. [詳解]
 
Iterator End () const
 Returns the iterator to the end of the array [詳解]
 
Iterator FindEx (ARG_T in_Item) const
 Returns the iterator th the specified item, will be End() if the item is not found [詳解]
 
Iterator BinarySearch (ARG_T in_Item) const
 
Iterator Erase (Iterator &in_rIter)
 Erase the specified iterator from the array [詳解]
 
void Erase (unsigned int in_uIndex)
 Erase the item at the specified index [詳解]
 
Iterator EraseSwap (Iterator &in_rIter)
 
void EraseSwap (unsigned int in_uIndex)
 
bool IsGrowingAllowed () const
 
AKRESULT Reserve (AkUInt32 in_ulReserve)
 
AKRESULT ReserveExtra (AkUInt32 in_ulReserve)
 
AkUInt32 Reserved () const
 
void Term ()
 Term the array. Must be called before destroying the object. [詳解]
 
AkForceInline AkUInt32 Length () const
 Returns the numbers of items in the array. [詳解]
 
AkForceInline T * Data () const
 Returns a pointer to the first item in the array. [詳解]
 
AkForceInline bool IsEmpty () const
 Returns true if the number items in the array is 0, false otherwise. [詳解]
 
AkForceInline T * Exists (ARG_T in_Item) const
 Returns a pointer to the specified item in the list if it exists, 0 if not found. [詳解]
 
AkForceInline T * AddLast ()
 
AkForceInline T * AddLast (ARG_T in_rItem)
 Add an item in the array, and fills it with the provided item. [詳解]
 
T & Last ()
 Returns a reference to the last item in the array. [詳解]
 
void RemoveLast ()
 Removes the last item from the array. [詳解]
 
AKRESULT Remove (ARG_T in_rItem)
 Removes the specified item if found in the array. [詳解]
 
AKRESULT RemoveSwap (ARG_T in_rItem)
 
void RemoveAll ()
 Removes all items in the array [詳解]
 
AkForceInline T & operator[] (unsigned int uiIndex) const
 Operator [], return a reference to the specified index. [詳解]
 
Iterator Insert (Iterator &in_rIter)
 
T * Insert (unsigned int in_uIndex)
 
bool GrowArray ()
 
bool GrowArray (AkUInt32 in_uGrowBy)
 Resize the array. [詳解]
 
bool Resize (AkUInt32 in_uiSize)
 Resize the array to the specified size. [詳解]
 
void Transfer (AkArray< T, ARG_T, TAlloc, TGrowBy, TMovePolicy > &in_rSource)
 
AKRESULT Copy (const AkArray< T, ARG_T, TAlloc, TGrowBy, TMovePolicy > &in_rSource)
 

限定公開変数類

T * m_pItems
 pointer to the beginning of the array. [詳解]
 
AkUInt32 m_uLength
 number of items in the array. [詳解]
 
AkUInt32 m_ulReserved
 how many we can have at most (currently allocated). [詳解]
 

その他の継承メンバ

- 基底クラス AkArrayAllocatorNoAlign< T_MEMID > に属する継承静的公開メンバ関数
static AkForceInline void * Alloc (size_t in_uSize)
 
static AkForceInline void * ReAlloc (void *in_pCurrent, size_t in_uOldSize, size_t in_uNewSize)
 
static AkForceInline void Free (void *in_pAddress)
 
static AkForceInline void TransferMem (void *&io_pDest, AkArrayAllocatorNoAlign< T_MEMID > in_srcAlloc, void *in_pSrc)
 

詳解

template<class T, class ARG_T, class TAlloc = ArrayPoolDefault, class TGrowBy = AkGrowByPolicy_DEFAULT, class TMovePolicy = AkAssignmentMovePolicy<T>>
class AkArray< T, ARG_T, TAlloc, TGrowBy, TMovePolicy >

Specific implementation of array

AkArray.h257 行目に定義があります。


このページはお役に立ちましたか?

サポートは必要ですか?

ご質問や問題、ご不明点はございますか?お気軽にお問い合わせください。

サポートページをご確認ください

あなたのプロジェクトについて教えてください。ご不明な点はありませんか。

プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。

Wwiseからはじめよう