\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.6.1 - Kinetic Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::Ref_counted< T > Class Template Reference

#include <CGAL/Kinetic/Ref_counted.h>

Definition

The class Ref_counted implements a base class for objects which are reference counted.

To use it simply inherit from Ref_counted (passing the type to be reference counted as the template argument) and then access the object through Handle objects rather than bare C++ pointers.

Operations

There are no methods which should be called by users of this class.

Types

typedef unspecified_type Handle
 A reference counted pointer to an Object.
 
typedef unspecified_type Const_handle
 A const reference counted pointer to an Object.
 

Creation

 Ref_counted ()
 default constructor.