ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Grim::ObjectPtr< T > Class Template Reference

#include <object.h>

Inheritance diagram for Grim::ObjectPtr< T >:
Collaboration diagram for Grim::ObjectPtr< T >:

List of all members.

Public Member Functions

 ObjectPtr ()
 ObjectPtr (T *obj)
 ObjectPtr (const ObjectPtr< T > &ptr)
 ~ObjectPtr ()
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

Private Attributes

T * _obj

Detailed Description

template<class T>
class Grim::ObjectPtr< T >

Definition at line 70 of file engines/grim/object.h.


Constructor & Destructor Documentation

template<class T>
Grim::ObjectPtr< T >::ObjectPtr (  )  [inline]

Definition at line 72 of file engines/grim/object.h.

template<class T>
Grim::ObjectPtr< T >::ObjectPtr ( T *  obj  )  [inline]

Definition at line 76 of file engines/grim/object.h.

template<class T>
Grim::ObjectPtr< T >::ObjectPtr ( const ObjectPtr< T > &  ptr  )  [inline]

Definition at line 84 of file engines/grim/object.h.

template<class T>
Grim::ObjectPtr< T >::~ObjectPtr (  )  [inline]

Definition at line 88 of file engines/grim/object.h.


Member Function Documentation

template<class T>
T* Grim::ObjectPtr< T >::object (  )  const [inline]

Definition at line 145 of file engines/grim/object.h.

template<class T>
Grim::ObjectPtr< T >::operator bool (  )  const [inline]

Definition at line 138 of file engines/grim/object.h.

template<class T>
Grim::ObjectPtr< T >::operator T * (  )  const [inline]

Definition at line 154 of file engines/grim/object.h.

template<class T>
bool Grim::ObjectPtr< T >::operator! (  )  const [inline]

Definition at line 141 of file engines/grim/object.h.

template<class T>
T& Grim::ObjectPtr< T >::operator* (  )  const [inline]

Definition at line 151 of file engines/grim/object.h.

template<class T>
T* Grim::ObjectPtr< T >::operator-> (  )  const [inline]

Definition at line 148 of file engines/grim/object.h.

template<class T>
ObjectPtr& Grim::ObjectPtr< T >::operator= ( const ObjectPtr< T > &  ptr  )  [inline]

Definition at line 114 of file engines/grim/object.h.

template<class T>
ObjectPtr& Grim::ObjectPtr< T >::operator= ( T *  obj  )  [inline]

Definition at line 96 of file engines/grim/object.h.

template<class T>
bool Grim::ObjectPtr< T >::operator== ( Object obj  )  const [inline]

Definition at line 135 of file engines/grim/object.h.

template<class T>
bool Grim::ObjectPtr< T >::operator== ( const ObjectPtr< T > &  ptr  )  const [inline]

Definition at line 132 of file engines/grim/object.h.

template<class T>
void Grim::ObjectPtr< T >::resetPointer (  )  [inline, override, protected, virtual]

Reimplemented from Grim::Pointer.

Definition at line 159 of file engines/grim/object.h.


Member Data Documentation

template<class T>
T* Grim::ObjectPtr< T >::_obj [private]

Definition at line 164 of file engines/grim/object.h.


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


Generated on Sat Mar 16 2019 05:06:12 for ResidualVM by doxygen 1.7.1
curved edge   curved edge