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

SoAutoRef::operator bool (  )  const [inline]

Conversion to boolean.

bool SoAutoRef::operator! (  )  const [inline]

NOT operator.

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

Assign ordinary C pointer.

Reimplemented in SoRef< SoRefCounter >.

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

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

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/