SoAutoRef Class Reference
[General]

Implements smart pointers to SoRefCounter objects. More...

#include <Inventor/misc/SoAutoRef.h>

Inheritance diagram for SoAutoRef:
SoRef< T >

List of all members.

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

Detailed Description

Implements smart pointers to SoRefCounter objects.

This class implements smart pointers to SoRefCounter objects.

SEE ALSO

SoRefCounter SoRef


Constructor & Destructor Documentation

SoAutoRef::SoAutoRef (  ) 

Default constructor.

SoAutoRef::SoAutoRef ( const SoAutoRef &  that  ) 

Copy constructor.

SoAutoRef::SoAutoRef ( SoRefCounter *  pIn  ) 

Construct from C++ pointer.

virtual SoAutoRef::~SoAutoRef (  )  [virtual]

Destructor.


Member Function Documentation

SoRefCounter& SoAutoRef::operator* (  )  const [inline]
SoRefCounter* SoAutoRef::operator-> (  )  const [inline]
SoAutoRef& SoAutoRef::operator= ( SoRefCounter *  ptr  ) 

Assign ordinary C pointer.

Reimplemented in SoRef< SoRefCounter >.

SoAutoRef& SoAutoRef::operator= ( const SoAutoRef &  that  )  [inline]
SoRefCounter* SoAutoRef::ptr (  )  const [inline]

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

Open Inventor Toolkit reference manual, generated on 9 Jul 2026
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/