DGtal  0.6.devel
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Data Fields
DGtal::CountedPtr< T >::counter Struct Reference

Public Member Functions

 counter (T *p=0, unsigned c=1)

Data Fields

T * ptr
unsigned count

Detailed Description

template<typename T>
struct DGtal::CountedPtr< T >::counter

Definition at line 95 of file CountedPtr.h.


Constructor & Destructor Documentation

template<typename T>
DGtal::CountedPtr< T >::counter::counter ( T *  p = 0,
unsigned  c = 1 
)
inline

Definition at line 96 of file CountedPtr.h.

: ptr(p), count(c) {}

Field Documentation

template<typename T>
unsigned DGtal::CountedPtr< T >::counter::count
template<typename T>
T* DGtal::CountedPtr< T >::counter::ptr

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