CMS 3D CMS Logo

List of all members | Public Member Functions
ConstReferenceCountingPointer< T > Class Template Reference

#include <ReferenceCounted.h>

Inheritance diagram for ConstReferenceCountingPointer< T >:

Public Member Functions

 ConstReferenceCountingPointer (const T *iT)
 
 ConstReferenceCountingPointer ()
 
 ConstReferenceCountingPointer (const ReferenceCountingPointer< T > &other)
 

Detailed Description

template<class T>
class ConstReferenceCountingPointer< T >

Creates a new instance of a BoundSurface at a new location (using the copy constructor).

Definition at line 71 of file ReferenceCounted.h.

Constructor & Destructor Documentation

template<class T>
ConstReferenceCountingPointer< T >::ConstReferenceCountingPointer ( const T iT)
inline

Definition at line 75 of file ReferenceCounted.h.

75 : boost::intrusive_ptr<const T>(iT) {}

Definition at line 76 of file ReferenceCounted.h.

76 {}
template<class T>
ConstReferenceCountingPointer< T >::ConstReferenceCountingPointer ( const ReferenceCountingPointer< T > &  other)
inline

Definition at line 77 of file ReferenceCounted.h.

77  :
78  boost::intrusive_ptr<const T>(&(*other)) {}