Chemical Data Processing Library C++ API - Version 1.4.0
CDPL::Vis::CairoPointerTraits< T > Struct Template Reference

Traits class providing the reference-count management functions for a particular Cairo 2D Graphics Library data type T. More...

Detailed Description

template<typename T>
struct CDPL::Vis::CairoPointerTraits< T >

Traits class providing the reference-count management functions for a particular Cairo 2D Graphics Library data type T.

CairoPointerTraits has to be specialized for each Cairo data type that shall be manageable by a Vis::CairoPointer. Each specialization provides the static methods reference() and destroy(), which increment and decrement the reference count of the wrapped object, respectively. Specializations are provided for cairo_t, cairo_surface_t and cairo_pattern_t.

Template Parameters
TThe type of the managed Cairo data structure.
See also
Vis::CairoPointer, [CAIRO]

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