Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
SoAutoRef Class Reference

Implements smart pointers to SoRefCounter objects. More...

#include <Inventor/misc/SoAutoRef.h>

+ Inheritance diagram for SoAutoRef:

Public Member Functions

 SoAutoRef ()
 Default constructor.
 
 SoAutoRef (const SoAutoRef &that)
 Copy constructor.
 
 SoAutoRef (SoRefCounter *pIn)
 Construct from C++ pointer.
 
 ~SoAutoRef ()
 Destructor.
 
SoAutoRefoperator= (const SoAutoRef &that)
 Assign another SoAutoRef.
 
SoAutoRefoperator= (SoRefCounter *ptr)
 Assign ordinary C pointer.
 
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
 Conversion to boolean.
 
bool operator! () const
 NOT operator.
 
SoRefCounteroperator* () const
 Dereference pointer.
 
SoRefCounteroperator-> () const
 Cast to C pointer.
 
SoRefCounterptr () const
 Cast to C pointer.
 

Detailed Description

Implements smart pointers to SoRefCounter objects.

This class implements smart pointers to SoRefCounter objects.

SEE ALSO

SoRefCounter SoRef

Definition at line 45 of file SoAutoRef.h.

Constructor & Destructor Documentation

◆ SoAutoRef() [1/3]

SoAutoRef::SoAutoRef ( )
inline

Default constructor.

Definition at line 49 of file SoAutoRef.h.

◆ SoAutoRef() [2/3]

SoAutoRef::SoAutoRef ( const SoAutoRef that)
inline

Copy constructor.

Definition at line 54 of file SoAutoRef.h.

◆ SoAutoRef() [3/3]

SoAutoRef::SoAutoRef ( SoRefCounter pIn)
inline

Construct from C++ pointer.

Definition at line 62 of file SoAutoRef.h.

◆ ~SoAutoRef()

SoAutoRef::~SoAutoRef ( )
inline

Destructor.

Definition at line 70 of file SoAutoRef.h.

Member Function Documentation

◆ operator bool()

SoAutoRef::operator bool ( ) const
inline

Conversion to boolean.

Definition at line 162 of file SoAutoRef.h.

◆ operator!()

bool SoAutoRef::operator! ( ) const
inline

NOT operator.

Definition at line 168 of file SoAutoRef.h.

◆ operator!=() [1/2]

bool SoAutoRef::operator!= ( const SoAutoRef other) const
inline

Definition at line 104 of file SoAutoRef.h.

◆ operator!=() [2/2]

bool SoAutoRef::operator!= ( const SoRefCounter ptr) const
inline

Definition at line 136 of file SoAutoRef.h.

◆ operator*()

SoRefCounter & SoAutoRef::operator* ( ) const
inline

Dereference pointer.

Definition at line 174 of file SoAutoRef.h.

◆ operator->()

SoRefCounter * SoAutoRef::operator-> ( ) const
inline

Cast to C pointer.

Definition at line 178 of file SoAutoRef.h.

◆ operator<() [1/2]

bool SoAutoRef::operator< ( const SoAutoRef other) const
inline

Definition at line 109 of file SoAutoRef.h.

◆ operator<() [2/2]

bool SoAutoRef::operator< ( const SoRefCounter ptr) const
inline

Definition at line 141 of file SoAutoRef.h.

◆ operator<=() [1/2]

bool SoAutoRef::operator<= ( const SoAutoRef other) const
inline

Definition at line 114 of file SoAutoRef.h.

◆ operator<=() [2/2]

bool SoAutoRef::operator<= ( const SoRefCounter ptr) const
inline

Definition at line 146 of file SoAutoRef.h.

◆ operator=() [1/2]

SoAutoRef & SoAutoRef::operator= ( const SoAutoRef that)
inline

Assign another SoAutoRef.

Definition at line 77 of file SoAutoRef.h.

◆ operator=() [2/2]

SoAutoRef & SoAutoRef::operator= ( SoRefCounter ptr)
inline

Assign ordinary C pointer.

Definition at line 84 of file SoAutoRef.h.

◆ operator==() [1/2]

bool SoAutoRef::operator== ( const SoAutoRef other) const
inline

Definition at line 99 of file SoAutoRef.h.

◆ operator==() [2/2]

bool SoAutoRef::operator== ( const SoRefCounter ptr) const
inline

Definition at line 131 of file SoAutoRef.h.

◆ operator>() [1/2]

bool SoAutoRef::operator> ( const SoAutoRef other) const
inline

Definition at line 119 of file SoAutoRef.h.

◆ operator>() [2/2]

bool SoAutoRef::operator> ( const SoRefCounter ptr) const
inline

Definition at line 151 of file SoAutoRef.h.

◆ operator>=() [1/2]

bool SoAutoRef::operator>= ( const SoAutoRef other) const
inline

Definition at line 124 of file SoAutoRef.h.

◆ operator>=() [2/2]

bool SoAutoRef::operator>= ( const SoRefCounter ptr) const
inline

Definition at line 156 of file SoAutoRef.h.

◆ ptr()

SoRefCounter * SoAutoRef::ptr ( ) const
inline

Cast to C pointer.

Definition at line 182 of file SoAutoRef.h.


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