DynamicArray< TYPE, BLOCK > Class Template Reference

#include <private_ge_mtools.h>

Inheritance diagram for DynamicArray< TYPE, BLOCK >:

Public Member Functions

 DynamicArray ()
 
const DynamicArray< TYPE, BLOCK > & operator= (const DynamicArray< TYPE, BLOCK > &src)
 
Bool Add ()
 
Bool Add (const TYPE &v)
 
TYPE * AddLast ()
 
- Public Member Functions inherited from DynamicArrayBase< TYPE, BLOCK >
 ~DynamicArrayBase ()
 
Int GetMemoryUse ()
 
Int32 GetMaxCount ()
 
TYPE & operator[] (int i)
 
TYPE operator[] (int i) const
 
const DynamicArrayBase< TYPE, BLOCK > & operator= (const DynamicArrayBase< TYPE, BLOCK > &src)
 
Bool Insert (Int32 i)
 
Bool RemoveLast ()
 
Bool Remove (Int32 i)
 
TYPE * GetLast ()
 
TYPE * GetAt (Int32 i)
 
void Set (Int32 i, const TYPE &data)
 
TYPE & Get (Int32 i)
 
Int32 Find (const TYPE &data, Int32 l, Int32 u)
 
Int32 Find (const TYPE &data)
 
Int32 FindSorted (const TYPE &data)
 
Bool SetCount (Int32 cnt)
 
Int32 GetCount () const
 
Bool Content () const
 
Bool IsEmpty () const
 
Bool Expand (Int32 maxcnt)
 
Bool CopyTo (DynamicArrayBase< TYPE, BLOCK > *dst) const
 
Bool CopyFrom (TYPE *data, Int32 cnt)
 
Bool CopyFrom (const DynamicArrayBase< TYPE, BLOCK > *src)
 
Bool Init (Int32 cnt=NOTOK)
 
void Free ()
 
void TransferTo (DynamicArrayBase< TYPE, BLOCK > &dst)
 
TYPE * GetArray ()
 
const TYPE * GetArray () const
 
void Sort ()
 
TYPE * ToArray ()
 

Additional Inherited Members

- Protected Member Functions inherited from DynamicArrayBase< TYPE, BLOCK >
 DynamicArrayBase ()
 
void Reset ()
 
Bool Add ()
 
void InitElements (Int32 cnt)
 
void FreeElements ()
 
- Protected Attributes inherited from DynamicArrayBase< TYPE, BLOCK >
TYPE * m_pData
 
Int32 m_Cnt
 
Int32 m_Allocated
 

Constructor & Destructor Documentation

◆ DynamicArray()

Member Function Documentation

◆ operator=()

const DynamicArray<TYPE, BLOCK>& operator= ( const DynamicArray< TYPE, BLOCK > &  src)

◆ Add() [1/2]

Bool Add ( )

◆ Add() [2/2]

Bool Add ( const TYPE &  v)

◆ AddLast()

TYPE* AddLast ( )