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 | |
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.
typedef boost::intrusive_ptr<T> Gui::CoinPtr< T >::inherited |
Gui::CoinPtr< T >::CoinPtr | ( | ) |
Gui::CoinPtr< T >::CoinPtr | ( | T * | p, |
bool | add_ref = true |
||
) |
Gui::CoinPtr< T >::operator T* | ( | ) | const |