SoRef proves an intrusive smart pointer for any SoBase derived class and uses the ref()/unref() methods of SoBase to manage the ref counting.
More...
#include <Inventor/misc/SoRef.h>
template<class T>
class SoRef< T >
Definition at line 10 of file SoRef.h.
◆ SoRef() [1/3]
◆ SoRef() [2/3]
◆ SoRef() [3/3]
◆ ~SoRef()
◆ get()
template<class T >
T * SoRef< T >::get |
( |
| ) |
const |
|
inline |
◆ operator T*()
template<class T >
SoRef< T >::operator T* |
( |
| ) |
const |
|
inline |
This was deprecated at VSG, but we consider it more useful than dangerous.
Definition at line 66 of file SoRef.h.
◆ operator!=() [1/2]
template<class T >
bool SoRef< T >::operator!= |
( |
const SoRef< T > & |
p | ) |
const |
|
inline |
◆ operator!=() [2/2]
template<class T >
bool SoRef< T >::operator!= |
( |
T * |
p | ) |
const |
|
inline |
◆ operator*()
template<class T >
T & SoRef< T >::operator* |
( |
| ) |
const |
|
inline |
◆ operator->()
template<class T >
T * SoRef< T >::operator-> |
( |
| ) |
const |
|
inline |
◆ operator=() [1/3]
◆ operator=() [2/3]
template<class T >
template<class T2 >
◆ operator=() [3/3]
◆ operator==() [1/2]
template<class T >
bool SoRef< T >::operator== |
( |
const SoRef< T > & |
p | ) |
const |
|
inline |
◆ operator==() [2/2]
template<class T >
bool SoRef< T >::operator== |
( |
T * |
p | ) |
const |
|
inline |
◆ ptr()
template<class T >
T * SoRef< T >::ptr |
( |
| ) |
const |
|
inline |
◆ releaseNoDelete()
template<class T >
T * SoRef< T >::releaseNoDelete |
( |
| ) |
|
|
inline |
This is useful in some places where the user knows that he will pass the object to a place which will take over ref counting.
Definition at line 77 of file SoRef.h.
◆ setObject()
template<class T >
void SoRef< T >::setObject |
( |
T * |
o | ) |
|
|
inlineprotected |
The documentation for this class was generated from the following file:
- C:/jh/mevislab/4.0.2_1/build/MeVis/ThirdParty/Sources/Inventor/include/Inventor/misc/SoRef.h