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)
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
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

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 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/