rtc.avd_SDK-C++  3.2.0
Public 成员函数 | Protected 成员函数 | Protected 属性 | 所有成员列表
rtcimp::EMArrayBaseT2< ItemType, GrowSize > 模板类 参考

堆数组模板类. 更多...

Public 成员函数

 EMArrayBaseT2 ()
 
 EMArrayBaseT2 (const EMArrayBaseT2 &other)
 
virtual ~EMArrayBaseT2 ()
 
int GetCount ()
 
bool Add (ItemType item, bool bCheckDuplicate=false)
 
bool InsertAt (int nIndex, ItemType item)
 
bool Remove (ItemType item)
 
bool RemoveAt (int i)
 
void RemoveAll ()
 
EMArrayBaseT2 & operator= (const EMArrayBaseT2 &other)
 
ItemType operator [] (int i)
 
bool SetAt (int nIndex, ItemType item)
 
int GetIndex (ItemType item)
 
ItemType * GetHead ()
 

Protected 成员函数

bool Compare (ItemType *item1, ItemType *item2)
 
bool Expand ()
 

Protected 属性

ItemType * m_head
 
int m_allocSize
 
int m_usedSize
 

详细描述

template<class ItemType, int GrowSize>
class rtcimp::EMArrayBaseT2< ItemType, GrowSize >

堆数组模板类.

构造及析构函数说明

◆ EMArrayBaseT2() [1/2]

template<class ItemType , int GrowSize>
rtcimp::EMArrayBaseT2< ItemType, GrowSize >::EMArrayBaseT2 ( )

◆ EMArrayBaseT2() [2/2]

template<class ItemType , int GrowSize>
rtcimp::EMArrayBaseT2< ItemType, GrowSize >::EMArrayBaseT2 ( const EMArrayBaseT2< ItemType, GrowSize > &  other)

◆ ~EMArrayBaseT2()

template<class ItemType , int GrowSize>
virtual rtcimp::EMArrayBaseT2< ItemType, GrowSize >::~EMArrayBaseT2 ( )
virtual

成员函数说明

◆ Add()

template<class ItemType , int GrowSize>
bool rtcimp::EMArrayBaseT2< ItemType, GrowSize >::Add ( ItemType  item,
bool  bCheckDuplicate = false 
)

◆ Compare()

template<class ItemType , int GrowSize>
bool rtcimp::EMArrayBaseT2< ItemType, GrowSize >::Compare ( ItemType *  item1,
ItemType *  item2 
)
protected

◆ Expand()

template<class ItemType , int GrowSize>
bool rtcimp::EMArrayBaseT2< ItemType, GrowSize >::Expand ( )
protected

◆ GetCount()

template<class ItemType , int GrowSize>
int rtcimp::EMArrayBaseT2< ItemType, GrowSize >::GetCount ( )

◆ GetHead()

template<class ItemType , int GrowSize>
ItemType* rtcimp::EMArrayBaseT2< ItemType, GrowSize >::GetHead ( )

◆ GetIndex()

template<class ItemType , int GrowSize>
int rtcimp::EMArrayBaseT2< ItemType, GrowSize >::GetIndex ( ItemType  item)

◆ InsertAt()

template<class ItemType , int GrowSize>
bool rtcimp::EMArrayBaseT2< ItemType, GrowSize >::InsertAt ( int  nIndex,
ItemType  item 
)

◆ operator []()

template<class ItemType , int GrowSize>
ItemType rtcimp::EMArrayBaseT2< ItemType, GrowSize >::operator [] ( int  i)

◆ operator=()

template<class ItemType , int GrowSize>
EMArrayBaseT2& rtcimp::EMArrayBaseT2< ItemType, GrowSize >::operator= ( const EMArrayBaseT2< ItemType, GrowSize > &  other)

◆ Remove()

template<class ItemType , int GrowSize>
bool rtcimp::EMArrayBaseT2< ItemType, GrowSize >::Remove ( ItemType  item)

◆ RemoveAll()

template<class ItemType , int GrowSize>
void rtcimp::EMArrayBaseT2< ItemType, GrowSize >::RemoveAll ( )

◆ RemoveAt()

template<class ItemType , int GrowSize>
bool rtcimp::EMArrayBaseT2< ItemType, GrowSize >::RemoveAt ( int  i)

◆ SetAt()

template<class ItemType , int GrowSize>
bool rtcimp::EMArrayBaseT2< ItemType, GrowSize >::SetAt ( int  nIndex,
ItemType  item 
)

类成员变量说明

◆ m_allocSize

template<class ItemType , int GrowSize>
int rtcimp::EMArrayBaseT2< ItemType, GrowSize >::m_allocSize
protected

◆ m_head

template<class ItemType , int GrowSize>
ItemType* rtcimp::EMArrayBaseT2< ItemType, GrowSize >::m_head
protected

◆ m_usedSize

template<class ItemType , int GrowSize>
int rtcimp::EMArrayBaseT2< ItemType, GrowSize >::m_usedSize
protected

该类的文档由以下文件生成: