Yate
|
Templated pointer that can be inserted in a list. More...
#include <yateclass.h>
Public Member Functions | |
GenPointer () | |
GenPointer (const GenPointer< Obj > &value) | |
GenPointer (Obj *object) | |
GenPointer< Obj > & | operator= (const GenPointer< Obj > &value) |
GenPointer< Obj > & | operator= (Obj *object) |
operator Obj * () const | |
Obj * | operator-> () const |
Obj & | operator* () const |
Public Member Functions inherited from GenObject | |
GenObject () | |
virtual | ~GenObject () |
virtual bool | alive () const |
virtual void | destruct () |
virtual const String & | toString () const |
virtual void * | getObject (const String &name) const |
NamedCounter * | getObjCounter () const |
NamedCounter * | setObjCounter (NamedCounter *counter) |
Additional Inherited Members | |
Static Public Member Functions inherited from GenObject | |
static void * | getObject (const String &name, const GenObject *obj) |
static bool | getObjCounting () |
static void | setObjCounting (bool enable) |
static NamedCounter * | getObjCounter (const String &name, bool create=true) |
static ObjList & | getObjCounters () |
Templated pointer that can be inserted in a list.
|
inline |
Default constructor - creates a null pointer
|
inline |
Copy constructor
value | Original GenPointer |
|
inline |
Constructs an initialized pointer
object | Pointer to object |
|
inline |
Conversion to regular pointer operator
|
inline |
Dereferencing operator
|
inline |
Member access operator
|
inline |
Assignment from another GenPointer
|
inline |
Assignment from regular pointer