Logo Search packages:      
Sourcecode: inkscape version File versions

Inkscape::GC::soft_ptr< T > Class Template Reference

#include <gc-soft-ptr.h>

List of all members.


Detailed Description

template<typename T>
class Inkscape::GC::soft_ptr< T >

A class for pointers which can be automatically cleared to break finalization cycles.

Definition at line 28 of file gc-soft-ptr.h.


Public Member Functions

 operator T * () const
T & operator* () const
T * operator-> () const
soft_ptroperator= (T *pointer)
T & operator[] (int i) const
 soft_ptr (T *pointer=NULL)

Private Member Functions

void _register ()

Private Attributes

void * _pointer

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

Generated by  Doxygen 1.6.0   Back to index