Logo Search packages:      
Sourcecode: inkscape version File versions

Inkscape::GC::Managed< default_scan, default_collect > Class Template Reference

#include <gc-managed.h>

Inheritance diagram for Inkscape::GC::Managed< default_scan, default_collect >:

Inkscape::MessageStack SPSelection SPAction

List of all members.


Detailed Description

template<ScanPolicy default_scan = SCANNED, CollectionPolicy default_collect = AUTO>
class Inkscape::GC::Managed< default_scan, default_collect >

A base class for objects for whom the normal new and delete operators should use the garbage-collected allocator.

Definition at line 29 of file gc-managed.h.


Public Member Functions

template<typename T>
void cancelClearOnceInaccessible (T **p_ptr)
 Cancels the registration of a pointer, so it will not be cleared when this object becomes inacessible.
template<typename T>
void clearOnceInaccessible (T **p_ptr)
 Registers a pointer to be cleared when this object becomes inaccessible.
void operator delete (void *p)
void * operator new (std::size_t size, ScanPolicy scan=default_scan, CollectionPolicy collect=default_collect) throw (std::bad_alloc)
void * operator new[] (std::size_t size, ScanPolicy scan=default_scan, CollectionPolicy collect=default_collect) throw (std::bad_alloc)

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

Generated by  Doxygen 1.6.0   Back to index