Giveda® Embedded Midware  1.2.0
本文档受《版权法》、《版权公约》保护。深圳技达®版权所有
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
Public 类型 | Public 成员函数 | Protected 成员函数 | 所有成员列表
GPtrList< type > 模板类 参考

非常便于使用的指针列表 更多...

#include <gPtrList.h>

继承自 list< type * > .

Public 类型

typedef list< type * > LIST_T
 

Public 成员函数

 GPtrList ()
 
virtual ~GPtrList ()
 
void inSort (const type *item)
 
bool removeRef (const type *item)
 
bool isEmpty ()
 
unsigned int count () const
 
type * at (unsigned int i) const
 
void append (const type *item)
 
bool insert (unsigned int idx, const type *item)
 
void setAutoDelete (bool)
 
void clear ()
 
bool remove (const unsigned int idx)
 
int findRef (const type *item)
 
type * front ()
 
const type * front () const
 
type * back ()
 
const type * back () const
 

Protected 成员函数

virtual int compareItems (type *item1, type *item2)
 

详细描述

template<class type>
class GPtrList< type >

非常便于使用的指针列表

成员类型定义说明

template<class type>
typedef list<type*> GPtrList< type >::LIST_T

构造及析构函数说明

template<class type >
GPtrList< type >::GPtrList ( )
template<class type >
GPtrList< type >::~GPtrList ( )
virtual

成员函数说明

template<class type>
void GPtrList< type >::append ( const type *  item)
template<class type >
type * GPtrList< type >::at ( unsigned int  i) const
template<class type >
type * GPtrList< type >::back ( )
template<class type >
const type * GPtrList< type >::back ( ) const
template<class type >
void GPtrList< type >::clear ( )
template<class type>
virtual int GPtrList< type >::compareItems ( type *  item1,
type *  item2 
)
inlineprotectedvirtual
template<class type >
unsigned int GPtrList< type >::count ( ) const
template<class type>
int GPtrList< type >::findRef ( const type *  item)
template<class type >
type * GPtrList< type >::front ( )
template<class type >
const type * GPtrList< type >::front ( ) const
template<class type>
bool GPtrList< type >::insert ( unsigned int  idx,
const type *  item 
)
template<class type>
void GPtrList< type >::inSort ( const type *  item)
template<class type >
bool GPtrList< type >::isEmpty ( )
template<class type >
bool GPtrList< type >::remove ( const unsigned int  idx)
template<class type>
bool GPtrList< type >::removeRef ( const type *  item)
template<class type >
void GPtrList< type >::setAutoDelete ( bool  b)

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