RenderMan API  23.0
RixRefCntPtr< T > Class Template Reference

#include <RiTypesHelper.h>

Public Member Functions

 RixRefCntPtr ()
 
 RixRefCntPtr (T *ptr)
 
 RixRefCntPtr (RixRefCntPtr const &that)
 
 ~RixRefCntPtr ()
 
RixRefCntPtr< T > & operator= (RixRefCntPtr< T > const &that)
 
RixRefCntPtr< T > & operator= (T *ptr)
 
bool operator== (RixRefCntPtr< T > const &that) const
 
bool operator== (T const *ptr) const
 
bool operator!= (RixRefCntPtr< T > const &that) const
 
bool operator!= (T const *ptr) const
 
bool operator< (RixRefCntPtr< T > const &that) const
 
bool operator< (T const *ptr) const
 
 operator bool () const
 
T & operator* ()
 
T const & operator* () const
 
T * operator-> ()
 
T const * operator-> () const
 
T * GetPtr ()
 
const T * GetPtr () const
 
void SetPtr (T *ptr)
 
int GetRefCnt () const
 

Detailed Description

template<typename T>
class RixRefCntPtr< T >

Definition at line 545 of file RiTypesHelper.h.

Constructor & Destructor Documentation

◆ RixRefCntPtr() [1/3]

template<typename T>
RixRefCntPtr< T >::RixRefCntPtr ( )
inline

Definition at line 550 of file RiTypesHelper.h.

◆ RixRefCntPtr() [2/3]

template<typename T>
RixRefCntPtr< T >::RixRefCntPtr ( T *  ptr)
inline

Definition at line 555 of file RiTypesHelper.h.

◆ RixRefCntPtr() [3/3]

template<typename T>
RixRefCntPtr< T >::RixRefCntPtr ( RixRefCntPtr< T > const &  that)
inline

Definition at line 562 of file RiTypesHelper.h.

◆ ~RixRefCntPtr()

template<typename T>
RixRefCntPtr< T >::~RixRefCntPtr ( )
inline

Definition at line 570 of file RiTypesHelper.h.

Member Function Documentation

◆ GetPtr() [1/2]

template<typename T>
T* RixRefCntPtr< T >::GetPtr ( )
inline

Definition at line 658 of file RiTypesHelper.h.

◆ GetPtr() [2/2]

template<typename T>
const T* RixRefCntPtr< T >::GetPtr ( ) const
inline

Definition at line 659 of file RiTypesHelper.h.

◆ GetRefCnt()

template<typename T>
int RixRefCntPtr< T >::GetRefCnt ( ) const
inline

Definition at line 665 of file RiTypesHelper.h.

◆ operator bool()

template<typename T>
RixRefCntPtr< T >::operator bool ( ) const
inline

Definition at line 647 of file RiTypesHelper.h.

◆ operator!=() [1/2]

template<typename T>
bool RixRefCntPtr< T >::operator!= ( RixRefCntPtr< T > const &  that) const
inline

Definition at line 623 of file RiTypesHelper.h.

◆ operator!=() [2/2]

template<typename T>
bool RixRefCntPtr< T >::operator!= ( T const *  ptr) const
inline

Definition at line 629 of file RiTypesHelper.h.

◆ operator*() [1/2]

template<typename T>
T& RixRefCntPtr< T >::operator* ( )
inline

Definition at line 650 of file RiTypesHelper.h.

◆ operator*() [2/2]

template<typename T>
T const& RixRefCntPtr< T >::operator* ( ) const
inline

Definition at line 651 of file RiTypesHelper.h.

◆ operator->() [1/2]

template<typename T>
T* RixRefCntPtr< T >::operator-> ( )
inline

Definition at line 654 of file RiTypesHelper.h.

◆ operator->() [2/2]

template<typename T>
T const* RixRefCntPtr< T >::operator-> ( ) const
inline

Definition at line 655 of file RiTypesHelper.h.

◆ operator<() [1/2]

template<typename T>
bool RixRefCntPtr< T >::operator< ( RixRefCntPtr< T > const &  that) const
inline

Definition at line 635 of file RiTypesHelper.h.

◆ operator<() [2/2]

template<typename T>
bool RixRefCntPtr< T >::operator< ( T const *  ptr) const
inline

Definition at line 641 of file RiTypesHelper.h.

◆ operator=() [1/2]

template<typename T>
RixRefCntPtr<T>& RixRefCntPtr< T >::operator= ( RixRefCntPtr< T > const &  that)
inline

Definition at line 577 of file RiTypesHelper.h.

◆ operator=() [2/2]

template<typename T>
RixRefCntPtr<T>& RixRefCntPtr< T >::operator= ( T *  ptr)
inline

Definition at line 594 of file RiTypesHelper.h.

◆ operator==() [1/2]

template<typename T>
bool RixRefCntPtr< T >::operator== ( RixRefCntPtr< T > const &  that) const
inline

Definition at line 611 of file RiTypesHelper.h.

◆ operator==() [2/2]

template<typename T>
bool RixRefCntPtr< T >::operator== ( T const *  ptr) const
inline

Definition at line 617 of file RiTypesHelper.h.

◆ SetPtr()

template<typename T>
void RixRefCntPtr< T >::SetPtr ( T *  ptr)
inline

Definition at line 662 of file RiTypesHelper.h.


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