|
GCpp general purpose C++ library
version 1.0
|
#include <GPointerList.hh>
Public Types | |
| typedef GListIterT< GPointer > | iterator |
| Itérateur (local) des éléments de la collection. | |
Public Member Functions | |
| template<class Q > | |
| bool | IsInstanceOf () const |
| template<class Q > | |
| bool | IsInstanceOf () |
| virtual GPointerList * | Clone () const |
| virtual const char * | ClassName () const |
| GPointerList () | |
| GPointerList (const GPointerList &original) | |
| virtual | ~GPointerList () |
| GPointerList & | operator= (const GPointerList &original) |
Public Member Functions inherited from GListT< GPointer > | |
| bool | IsInstanceOf () const |
| bool | IsInstanceOf () |
| GListT (u_int opts=0) | |
| GListT (const GListT< GPointer > &list) | |
| GListT (const GListT< GPointer > &list, u_int opts) | |
| GListT< GPointer > & | operator= (const GListT< GPointer > &list) |
| virtual GListIterT< GPointer > | Begin () const |
| virtual GListIterT< GPointer > | End () const |
| virtual bool | Exist (const GPointer *ptr) const |
| virtual GListIterT< GPointer > | Find (const GPointer *ptr) const |
| virtual GListIterT< GPointer > | FindNext (const GPointer *ptr) const |
| virtual GListIterT< GPointer > | FindPrevious (const GPointer *ptr) const |
| virtual GListIterT< GPointer > | FindFirst (const GPointer *ptr) const |
| virtual GListIterT< GPointer > | FindLast (const GPointer *ptr) const |
| GListIterT< GPointer > | Current () const |
| GListIterT< GPointer > | Previous () const |
| GListIterT< GPointer > | Next () const |
| GListIterT< GPointer > | First () const |
| GListIterT< GPointer > | Last () const |
| GListIterT< GPointer > | Goto (u_int n=0) const |
| GPointer & | At (u_int n) const |
| int | Index () const |
| virtual int | Move (int n) |
| virtual bool | MoveUp () |
| virtual bool | MoveDown () |
| virtual bool | MoveTop () |
| virtual bool | MoveBottom () |
| virtual GListIterT< GPointer > | Add (GPointer *obj_ptr) |
| virtual GListIterT< GPointer > | Add (GPointer &obj_ptr) |
| virtual GListIterT< GPointer > | Insert (GPointer *obj_ptr) |
| virtual GListIterT< GPointer > | Insert (GPointer &obj_ptr) |
| virtual GListIterT< GPointer > | Append (GPointer *obj_ptr) |
| virtual GListIterT< GPointer > | Append (GPointer &obj_ptr) |
| virtual GListIterT< GPointer > | Prepend (GPointer *obj_ptr) |
| virtual GListIterT< GPointer > | Prepend (GPointer &obj_ptr) |
| virtual GPointer * | Take () |
| virtual GPointer * | Take (const GPointer *ptr) |
| virtual bool | Remove () |
| virtual bool | Remove (const GPointer *ptr, bool all=true) |
| virtual void | Empty () |
Public Member Functions inherited from GCollectionT< GPointer > | |
| bool | IsInstanceOf () const |
| bool | IsInstanceOf () |
| GCollectionT (u_int flg=0) | |
| virtual u_int | GetSize () const |
| virtual u_int | GetCount () const |
| virtual u_int | GetOptions () const |
| bool | CheckOptions (u_int opts) const |
| bool | FixPositionOption () const |
| bool | IsSortable () const |
| bool | IsAlwaysSorted () const |
| bool | IsReverseSorted () const |
| bool | UniqueNameOption () const |
| bool | IsCaseSensitive () const |
| bool | DictSortOption () const |
Static Public Member Functions | |
| static const char * | StaticClassName () |
Static Public Member Functions inherited from GListT< GPointer > | |
| static const char * | StaticClassName () |
| static GListIterT< GPointer > | Null () |
Static Public Member Functions inherited from GCollectionT< GPointer > | |
| static const char * | StaticClassName () |
Additional Inherited Members | |
Protected Member Functions inherited from GListT< GPointer > | |
| virtual GListIterT< GPointer > * | __Exist (const GPointer *ptr, GListIterT< GPointer > *except=NULL) const |
| virtual GListIterT< GPointer > * | __Find (const GPointer *ptr, GListIterT< GPointer > *except=NULL) const |
| virtual GListIterT< GPointer > | __Add (GPointer *item) |
| virtual GListIterT< GPointer > | __Insert (GPointer *item) |
| virtual GPointer * | __Take () |
| virtual void | __Swap (GListIterT< GPointer > *iter) |
| virtual bool | __MoveUp () |
| virtual bool | __MoveDown () |
Protected Attributes inherited from GListT< GPointer > | |
| GListIterT< GPointer > ** | first_item |
| Iterator on first object in the list. | |
| GListIterT< GPointer > ** | last_item |
| Iterator on last object in the list. | |
| GListIterT< GPointer > ** | current_item |
| Iterator on current object in the list. | |
Protected Attributes inherited from GCollectionT< GPointer > | |
| u_int | options |
| Collection option flags. | |
| u_int | count_item |
| Number of objects in the collection. | |
This class defines a list of GPointer, to create a list of pointers with any type of class (especially for base types).
|
inline |
Constructor.
|
inline |
Copy constructor.
| original | list to copy |
|
inlinevirtual |
Destructor.
|
inline |
Macro from GCpp library that defines the following functions:
| GPointerList & GPointerList::operator= | ( | const GPointerList & | original | ) |