#include <mi32/autorefcount.h>
Inheritance diagram for AUTOREFCOUNT< _TT >:

Public Member Functions | |
| AUTOREFCOUNT (const AUTOREFCOUNT< _TT > &rhs) | |
| AUTOREFCOUNT () | |
| void | GetExclusive () |
| _TT & | operator * () |
| const _TT & | operator * () const |
| _TT * | operator-> () |
| const _TT * | operator-> () const |
| AUTOREFCOUNT & | operator= (const AUTOREFCOUNT< _TT > &rhs) |
| ~AUTOREFCOUNT () | |
Templated class must have AddRef() and Release() methods. If GetExclusive is used then must support copy constructor and have GetRefCount() method.
Definition at line 24 of file autorefcount.h.
| AUTOREFCOUNT< _TT >::AUTOREFCOUNT | ( | ) | [inline] |
| AUTOREFCOUNT< _TT >::AUTOREFCOUNT | ( | const AUTOREFCOUNT< _TT > & | rhs | ) | [inline] |
| AUTOREFCOUNT< _TT >::~AUTOREFCOUNT | ( | ) | [inline] |
| void AUTOREFCOUNT< _TT >::GetExclusive | ( | ) | [inline] |
Get exclusive instance if multiple references exist.
Will call use copy constructor if current reference count is > 1.
Definition at line 70 of file autorefcount.h.
| _TT& AUTOREFCOUNT< _TT >::operator * | ( | ) | [inline] |
| const _TT& AUTOREFCOUNT< _TT >::operator * | ( | ) | const [inline] |
| _TT* AUTOREFCOUNT< _TT >::operator-> | ( | ) | [inline] |
| const _TT* AUTOREFCOUNT< _TT >::operator-> | ( | ) | const [inline] |
| AUTOREFCOUNT& AUTOREFCOUNT< _TT >::operator= | ( | const AUTOREFCOUNT< _TT > & | rhs | ) | [inline] |
1.5.2