ScummVM API documentation
Tetraedge::TeIntrusivePtr< T > Class Template Reference

#include <te_intrusive_ptr.h>

Public Types

typedef void(* Tdestructor) (T *obj)
 

Public Member Functions

 TeIntrusivePtr (const TeIntrusivePtr< T > &other)
 
 TeIntrusivePtr (T *obj)
 
TeIntrusivePtr< T > & operator= (T *obj)
 
TeIntrusivePtr< T > & operator= (const TeIntrusivePtr< T > &other)
 
void release ()
 
bool operator== (const TeIntrusivePtr< T > &other) const
 
T * get ()
 
const T * get () const
 
T & operator* ()
 
const T & operator* () const
 
 operator bool () const
 
T * operator-> ()
 
const T * operator-> () const
 
void setDeleteFn (Tdestructor destructor)
 

Detailed Description

template<class T>
class Tetraedge::TeIntrusivePtr< T >

Like the boost intrusive pointer. To be used with an object inheriting from TeReferencesCounter


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