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

Public 成员函数

 EMArrayBaseT ()
 
 EMArrayBaseT (const EMArrayBaseT &other)
 
virtual ~EMArrayBaseT ()
 
int GetCount ()
 
bool Add (ItemType item, bool bCheckDuplicate=false)
 
bool InsertAt (int nIndex, ItemType item, bool bCheckDuplicate=false)
 
bool Remove (ItemType item)
 
bool RemoveAt (int i)
 
void RemoveAll ()
 
EMArrayBaseT & operator= (const EMArrayBaseT &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_ppHead
 
int m_nAlloc
 
int m_nUsed
 

构造及析构函数说明

◆ EMArrayBaseT() [1/2]

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

◆ EMArrayBaseT() [2/2]

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

◆ ~EMArrayBaseT()

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

成员函数说明

◆ Add()

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

◆ Compare()

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

◆ Expand()

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

◆ GetCount()

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

◆ GetHead()

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

◆ GetIndex()

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

◆ InsertAt()

template<class ItemType , int GrowSize>
bool rtcimp::EMArrayBaseT< ItemType, GrowSize >::InsertAt ( int  nIndex,
ItemType  item,
bool  bCheckDuplicate = false 
)

◆ operator []()

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

◆ operator=()

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

◆ Remove()

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

◆ RemoveAll()

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

◆ RemoveAt()

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

◆ SetAt()

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

类成员变量说明

◆ m_nAlloc

template<class ItemType , int GrowSize>
int rtcimp::EMArrayBaseT< ItemType, GrowSize >::m_nAlloc
protected

◆ m_nUsed

template<class ItemType , int GrowSize>
int rtcimp::EMArrayBaseT< ItemType, GrowSize >::m_nUsed
protected

◆ m_ppHead

template<class ItemType , int GrowSize>
ItemType* rtcimp::EMArrayBaseT< ItemType, GrowSize >::m_ppHead
protected

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