|
GCpp general purpose C++ library
version 1.0
|
#include <GPointer.hh>
Public Member Functions | |
| template<class Q > | |
| bool | IsInstanceOf () const |
| template<class Q > | |
| bool | IsInstanceOf () |
| virtual GPointer * | Clone () const |
| virtual const char * | ClassName () const |
| GPointer (void *ptr=NULL) | |
| GPointer (const GPointer &original) | |
| virtual | ~GPointer () |
| GPointer & | operator= (const GPointer &original) |
| virtual bool | operator== (const GPointer &ptr) |
| void * | GetPointer () const |
| void | SetPointer (void *ptr) |
Static Public Member Functions | |
| static const char * | StaticClassName () |
Protected Attributes | |
| void * | pointer |
| Pointer on user data. | |
This class defines a pointer on any kind of object. It is used as an interface for collections, that does not accept base type pointers (that does not contain the GObject functions).
|
inline |
|
inline |
|
inlinevirtual |
Destructor.
|
inline |
|
inlinevirtual |
Opérateur de comparaison: il porte sur le nom et le pointeur de l'objet.
| ptr | élément à comparer |
References GetPointer(), and pointer.
|
inline |