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

#include <annotationdefines.h>

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

ģ.

构造及析构函数说明

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

成员函数说明

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

类成员变量说明

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

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