|
CGAL 4.4 - Kinetic Framework
|
#include <CGAL/Kinetic/Ref_counted.h>
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. More... | |
| typedef unspecified_type | Const_handle |
| A const reference counted pointer to an Object. More... | |
Creation | |
| Ref_counted () | |
| default constructor. More... | |
| typedef unspecified_type CGAL::Ref_counted< T >::Const_handle |
A const reference counted pointer to an Object.
| typedef unspecified_type CGAL::Ref_counted< T >::Handle |
A reference counted pointer to an Object.
| CGAL::Ref_counted< T >::Ref_counted | ( | ) |
default constructor.