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

#include <annotationdefines.h>

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 ()
 
EMArrayBaseToperator= (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
 

构造及析构函数说明

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

成员函数说明

template<class ItemType , int GrowSize>
bool rtcimp::EMArrayBaseT< ItemType, GrowSize >::Add ( ItemType  item,
bool  bCheckDuplicate = false 
)
inline
template<class ItemType , int GrowSize>
bool rtcimp::EMArrayBaseT< ItemType, GrowSize >::Compare ( ItemType *  item1,
ItemType *  item2 
)
inlineprotected
template<class ItemType , int GrowSize>
bool rtcimp::EMArrayBaseT< ItemType, GrowSize >::Expand ( )
inlineprotected
template<class ItemType , int GrowSize>
int rtcimp::EMArrayBaseT< ItemType, GrowSize >::GetCount ( )
inline
template<class ItemType , int GrowSize>
ItemType* rtcimp::EMArrayBaseT< ItemType, GrowSize >::GetHead ( )
inline
template<class ItemType , int GrowSize>
int rtcimp::EMArrayBaseT< ItemType, GrowSize >::GetIndex ( ItemType  item)
inline
template<class ItemType , int GrowSize>
bool rtcimp::EMArrayBaseT< ItemType, GrowSize >::InsertAt ( int  nIndex,
ItemType  item,
bool  bCheckDuplicate = false 
)
inline
template<class ItemType , int GrowSize>
EMArrayBaseT& rtcimp::EMArrayBaseT< ItemType, GrowSize >::operator= ( const EMArrayBaseT< ItemType, GrowSize > &  other)
inline
template<class ItemType , int GrowSize>
ItemType rtcimp::EMArrayBaseT< ItemType, GrowSize >::operator[] ( int  i)
inline
template<class ItemType , int GrowSize>
bool rtcimp::EMArrayBaseT< ItemType, GrowSize >::Remove ( ItemType  item)
inline
template<class ItemType , int GrowSize>
void rtcimp::EMArrayBaseT< ItemType, GrowSize >::RemoveAll ( )
inline
template<class ItemType , int GrowSize>
bool rtcimp::EMArrayBaseT< ItemType, GrowSize >::RemoveAt ( int  i)
inline
template<class ItemType , int GrowSize>
bool rtcimp::EMArrayBaseT< ItemType, GrowSize >::SetAt ( int  nIndex,
ItemType  item 
)
inline

类成员变量说明

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

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