SoAutoRef Class Reference

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 ()
SoAutoRefoperator= (const SoAutoRef &that)
SoAutoRefoperator= (SoRefCounter *ptr)
SoRefCounteroperator* () const
SoRefCounteroperator-> () const
SoRefCounterptr () const

Detailed Description

Implements smart pointers to SoRefCounter objects.

This class implements smart pointers to SoRefCounter objects.


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]


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 28 Oct 2019
Copyright © Thermo Fisher Scientific All rights reserved.