xparray.h
Definition: xparray.h:10
INT_PTR GetCount() const
const TYPE * GetData() const
HRESULT Right(CXpArray &Subset, const INT_PTR nCount) const
HRESULT Left(CXpArray &Subset, const INT_PTR nCount) const
CXpArray(const INT_PTR nGrowBy=10)
const TYPE & operator[](const INT_PTR nIndex) const
HRESULT FreeExtra()
HRESULT PreAlloc(const INT_PTR nCount)
INT_PTR GetGrowBy() const
HRESULT Insert(const INT_PTR nIndex, const TYPE &Element)
TYPE * GetData()
HRESULT Copy(const CXpArray &Array)
void SetGrowBy(const INT_PTR nGrowBy)
bool operator==(const CXpArray &Array) const
INT_PTR Find(const TYPE &Element, const INT_PTR nStart=0) const
HRESULT Remove(const INT_PTR nIndex, const INT_PTR nCount=1)
HRESULT SetCount(const INT_PTR nNewCount)
HRESULT Append(const CXpArray &Array)
HRESULT Mid(CXpArray &Subset, const INT_PTR nFrom, const INT_PTR nCount=-1) const
TYPE & operator[](const INT_PTR nIndex)
HRESULT Allocate(const INT_PTR nCount, const bool bInitialize=true)
void RemoveAll()
virtual ~CXpArray()
void DestructElement(const INT_PTR nIndex, const INT_PTR nCount=1)
static void SetMoveCallback(void(*pfnMoveCallback)(TYPE *pObject, const INT_PTR nCount))
void ConstructElement(const INT_PTR nIndex, const INT_PTR nCount=1)
HRESULT Add(const TYPE &Element, INT_PTR *pNewIndex=NULL)
CXpArray(const CXpArray &Array)
INT_PTR Find(const CXpArray &Subset, const INT_PTR nStart=0) const
void(* PFN_MoveCallback)(TYPE *pObject, const INT_PTR nCount)
Definition: xparray.h:13