非常便于使用的指针列表 更多...
#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) |
非常便于使用的指针列表
| void GPtrList< type >::append | ( | const type * | item | ) |
| type * GPtrList< type >::at | ( | unsigned int | i | ) | const |
| type * GPtrList< type >::back | ( | ) |
| const type * GPtrList< type >::back | ( | ) | const |
| void GPtrList< type >::clear | ( | ) |
|
inlineprotectedvirtual |
| unsigned int GPtrList< type >::count | ( | ) | const |
| int GPtrList< type >::findRef | ( | const type * | item | ) |
| type * GPtrList< type >::front | ( | ) |
| const type * GPtrList< type >::front | ( | ) | const |
| bool GPtrList< type >::insert | ( | unsigned int | idx, |
| const type * | item | ||
| ) |
| void GPtrList< type >::inSort | ( | const type * | item | ) |
| bool GPtrList< type >::isEmpty | ( | ) |
| bool GPtrList< type >::remove | ( | const unsigned int | idx | ) |
| bool GPtrList< type >::removeRef | ( | const type * | item | ) |
| void GPtrList< type >::setAutoDelete | ( | bool | b | ) |
1.8.6