Gui::CoinPtr< T > Class Template Reference

Convenience smart pointer to wrap coin node. More...

#include <ViewProvider.h>

Public Types

typedef boost::intrusive_ptr< T > inherited
 

Public Member Functions

 CoinPtr ()
 
template<class Y >
 CoinPtr (CoinPtr< Y > const &r)
 
 CoinPtr (T *p, bool add_ref=true)
 
 operator T* () const
 

Detailed Description

template<class T>
class Gui::CoinPtr< T >

Convenience smart pointer to wrap coin node.

It is basically boost::intrusive plus implicit pointer conversion to save the trouble of typing get() all the time.

Member Typedef Documentation

◆ inherited

template<class T >
typedef boost::intrusive_ptr<T> Gui::CoinPtr< T >::inherited

Constructor & Destructor Documentation

◆ CoinPtr() [1/3]

template<class T >
Gui::CoinPtr< T >::CoinPtr ( )

◆ CoinPtr() [2/3]

template<class T >
Gui::CoinPtr< T >::CoinPtr ( T *  p,
bool  add_ref = true 
)

◆ CoinPtr() [3/3]

template<class T >
template<class Y >
Gui::CoinPtr< T >::CoinPtr ( CoinPtr< Y > const &  r)

Member Function Documentation

◆ operator T*()

template<class T >
Gui::CoinPtr< T >::operator T* ( ) const

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