Implements smart pointers to SoRefCounter objects. More...
#include <Inventor/misc/SoAutoRef.h>
Public Member Functions | |
SoAutoRef () | |
SoAutoRef (const SoAutoRef &that) | |
SoAutoRef (SoRefCounter *pIn) | |
virtual | ~SoAutoRef () |
SoAutoRef & | operator= (const SoAutoRef &that) |
SoAutoRef & | operator= (SoRefCounter *ptr) |
SoRefCounter & | operator* () const |
SoRefCounter * | operator-> () const |
SoRefCounter * | ptr () const |
Implements smart pointers to SoRefCounter objects.
This class implements smart pointers to SoRefCounter objects.
SoAutoRef::SoAutoRef | ( | ) |
Default constructor.
SoAutoRef::SoAutoRef | ( | const SoAutoRef & | that | ) |
Copy constructor.
SoAutoRef::SoAutoRef | ( | SoRefCounter * | pIn | ) |
Construct from C++ pointer.
virtual SoAutoRef::~SoAutoRef | ( | ) | [virtual] |
Destructor.
SoRefCounter& SoAutoRef::operator* | ( | ) | const [inline] |
Dereference pointer.
Reimplemented in SoRef< T >, SoRef< SoEventCallback >, SoRef< SoCallback >, SoRef< SoOrthographicCamera >, SoRef< SoMatrixTransform >, SoRef< SoViewport >, SoRef< SoShapeHints >, SoRef< SoGLContext >, SoRef< SoCameraInteractor >, SoRef< SoBBox >, SoRef< SoSystemTimerTask >, SoRef< SoScale >, SoRef< PlaneBoxIntersection >, SoRef< SoBufferObject >, SoRef< SoRotation >, SoRef< SoRefCounter >, SoRef< SoFieldContainer >, SoRef< SoCompactPathList >, SoRef< SoRenderAreaCore >, SoRef< SoPath >, SoRef< SoTempPath >, SoRef< SoGLBufferObject >, SoRef< SoDeviceContext >, SoRef< SoCameraInteractorImpl >, SoRef< SoNode >, SoRef< SoMaterial >, SoRef< SoNodeDependencies >, SoRef< SoFont >, SoRef< SoLineSet >, SoRef< SbImageDataAdapterHelperImpl >, SoRef< SoCache >, SoRef< SoVertexProperty >, SoRef< SoMarkerSet >, SoRef< SoCpuBufferObject >, SoRef< SoSeparator >, SoRef< SoTranslation >, SoRef< SoText2 >, and SoRef< SoSwitch >.
SoRefCounter* SoAutoRef::operator-> | ( | ) | const [inline] |
Cast to C pointer.
Reimplemented in SoRef< T >, SoRef< SoEventCallback >, SoRef< SoCallback >, SoRef< SoOrthographicCamera >, SoRef< SoMatrixTransform >, SoRef< SoViewport >, SoRef< SoShapeHints >, SoRef< SoGLContext >, SoRef< SoCameraInteractor >, SoRef< SoBBox >, SoRef< SoSystemTimerTask >, SoRef< SoScale >, SoRef< PlaneBoxIntersection >, SoRef< SoBufferObject >, SoRef< SoRotation >, SoRef< SoRefCounter >, SoRef< SoFieldContainer >, SoRef< SoCompactPathList >, SoRef< SoRenderAreaCore >, SoRef< SoPath >, SoRef< SoTempPath >, SoRef< SoGLBufferObject >, SoRef< SoDeviceContext >, SoRef< SoCameraInteractorImpl >, SoRef< SoNode >, SoRef< SoMaterial >, SoRef< SoNodeDependencies >, SoRef< SoFont >, SoRef< SoLineSet >, SoRef< SbImageDataAdapterHelperImpl >, SoRef< SoCache >, SoRef< SoVertexProperty >, SoRef< SoMarkerSet >, SoRef< SoCpuBufferObject >, SoRef< SoSeparator >, SoRef< SoTranslation >, SoRef< SoText2 >, and SoRef< SoSwitch >.
SoAutoRef& SoAutoRef::operator= | ( | SoRefCounter * | ptr | ) |
Assign ordinary C pointer.
Reimplemented in SoRef< SoRefCounter >.
Assign another SoAutoRef
.
Reimplemented in SoRef< T >, SoRef< T >, SoRef< SoEventCallback >, SoRef< SoCallback >, SoRef< SoOrthographicCamera >, SoRef< SoMatrixTransform >, SoRef< SoViewport >, SoRef< SoShapeHints >, SoRef< SoGLContext >, SoRef< SoCameraInteractor >, SoRef< SoBBox >, SoRef< SoSystemTimerTask >, SoRef< SoScale >, SoRef< PlaneBoxIntersection >, SoRef< SoBufferObject >, SoRef< SoRotation >, SoRef< SoRefCounter >, SoRef< SoFieldContainer >, SoRef< SoCompactPathList >, SoRef< SoRenderAreaCore >, SoRef< SoPath >, SoRef< SoTempPath >, SoRef< SoGLBufferObject >, SoRef< SoDeviceContext >, SoRef< SoCameraInteractorImpl >, SoRef< SoNode >, SoRef< SoMaterial >, SoRef< SoNodeDependencies >, SoRef< SoFont >, SoRef< SoLineSet >, SoRef< SbImageDataAdapterHelperImpl >, SoRef< SoCache >, SoRef< SoVertexProperty >, SoRef< SoMarkerSet >, SoRef< SoCpuBufferObject >, SoRef< SoSeparator >, SoRef< SoTranslation >, SoRef< SoText2 >, and SoRef< SoSwitch >.
SoRefCounter* SoAutoRef::ptr | ( | ) | const [inline] |
Cast to C pointer.
Reimplemented in SoRef< T >, SoRef< SoEventCallback >, SoRef< SoCallback >, SoRef< SoOrthographicCamera >, SoRef< SoMatrixTransform >, SoRef< SoViewport >, SoRef< SoShapeHints >, SoRef< SoGLContext >, SoRef< SoCameraInteractor >, SoRef< SoBBox >, SoRef< SoSystemTimerTask >, SoRef< SoScale >, SoRef< PlaneBoxIntersection >, SoRef< SoBufferObject >, SoRef< SoRotation >, SoRef< SoRefCounter >, SoRef< SoFieldContainer >, SoRef< SoCompactPathList >, SoRef< SoRenderAreaCore >, SoRef< SoPath >, SoRef< SoTempPath >, SoRef< SoGLBufferObject >, SoRef< SoDeviceContext >, SoRef< SoCameraInteractorImpl >, SoRef< SoNode >, SoRef< SoMaterial >, SoRef< SoNodeDependencies >, SoRef< SoFont >, SoRef< SoLineSet >, SoRef< SbImageDataAdapterHelperImpl >, SoRef< SoCache >, SoRef< SoVertexProperty >, SoRef< SoMarkerSet >, SoRef< SoCpuBufferObject >, SoRef< SoSeparator >, SoRef< SoTranslation >, SoRef< SoText2 >, and SoRef< SoSwitch >.