ScummVM API documentation
Grim::ObjectPtr< T > Class Template Reference
Inheritance diagram for Grim::ObjectPtr< T >:
Grim::Pointer

Public Member Functions

 ObjectPtr (T *obj)
 
 ObjectPtr (const ObjectPtr< T > &ptr)
 
ObjectPtroperator= (T *obj)
 
ObjectPtroperator= (const ObjectPtr< T > &ptr)
 
bool operator== (const ObjectPtr &ptr) const
 
bool operator== (Object *obj) const
 
 operator bool () const
 
bool operator! () const
 
T * object () const
 
T * operator-> () const
 
T & operator* () const
 
 operator T* () const
 

Protected Member Functions

void resetPointer () override
 
- Protected Member Functions inherited from Grim::Pointer
void addPointer (Object *obj)
 
void rmPointer (Object *obj)
 

The documentation for this class was generated from the following file: