Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

Classes | Typedefs | Enumerations | Functions

Inkscape::GC Namespace Reference

Boehm-GC based garbage collector. More...

Classes

class  Alloc
class  Allocator
 Garbage-collected allocator for the standard containers. More...
class  Anchored
struct  Core
class  Finalized
class  Managed
 A base class for objects for whom the normal new and delete operators should use the garbage-collected allocator. More...
struct  Ops
class  soft_ptr
 A class for pointers which can be automatically cleared to break finalization cycles. More...

Typedefs

typedef void(* CleanupFunc )(void *mem, void *data)

Enumerations

enum  CollectionPolicy { AUTO, MANUAL }
enum  Delete { GC }
enum  ScanPolicy { SCANNED, ATOMIC }

Functions

template<typename R >
static R & anchor (R &r)
 Increments the reference count of a anchored object.
template<typename R >
static R * anchor (R *r)
 Increments the reference count of a anchored object.
void init ()
template<typename T1 , typename T2 , CollectionPolicy collect1, CollectionPolicy collect2>
bool operator!= (Alloc< T1, collect1 > const &, Alloc< T2, collect2 > const &)
template<typename T1 , typename T2 >
bool operator!= (Allocator< T1 > const &, Allocator< T2 > const &)
template<typename T1 , typename T2 , CollectionPolicy collect1, CollectionPolicy collect2>
bool operator== (Alloc< T1, collect1 > const &, Alloc< T2, collect2 > const &)
template<typename T1 , typename T2 >
bool operator== (Allocator< T1 > const &, Allocator< T2 > const &)
template<typename R >
static R & release (R &r)
 Decrements the reference count of a anchored object.
template<typename R >
static R * release (R *r)
 Decrements the reference count of a anchored object.
void request_early_collection ()

Detailed Description

Boehm-GC based garbage collector.

This namespace contains code related to the garbage collector and base classes for GC-managed objects.


Generated by  Doxygen 1.6.0   Back to index