버전

    기타 문서

menu_open
Wwise SDK 2018.1.11
AkArray< T, ARG_T, TAlloc, TGrowBy, TMovePolicy > Class Template Reference

Specific implementation of array. More...

Inheritance diagram for AkArray< T, ARG_T, TAlloc, TGrowBy, TMovePolicy >:

Classes

struct   Iterator
  Iterator. More...
 

Public Member Functions

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

Protected Attributes

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

Detailed Description

template<class T, class ARG_T, class TAlloc = ArrayPoolDefault, unsigned long TGrowBy = 1, class TMovePolicy = AkAssignmentMovePolicy<T>>
class AkArray< T, ARG_T, TAlloc, TGrowBy, TMovePolicy >

Specific implementation of array.

Definition at line 152 of file AkArray.h.


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

이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요