RefCountPtr< T > Class Template Reference

#include <VisionX/components/pointcloud_processor/EfficientRANSACPrimitiveExtractor/EfficientRANSAC/MiscLib/RefCountPtr.h>

Public Member Functions

template<class N >
TNew ()
 
 operator const T * () const
 
 operator T* ()
 
Toperator* ()
 
const Toperator* () const
 
Toperator-> ()
 
const Toperator-> () const
 
template<class P >
RefCountPtr< T > & operator= (const RefCountPtr< P > &ptr)
 
RefCountPtr< T > & operator= (const RefCountPtr< T > &ptr)
 
template<class P >
RefCountPtr< T > & operator= (P *ptr)
 
template<class P >
bool operator== (const RefCountPtr< P > &ptr) const
 
template<class P >
bool operator== (P *ptr) const
 
TPtr ()
 
const TPtr () const
 
 RefCountPtr ()
 
template<class P >
 RefCountPtr (const RefCountPtr< P > &ptr)
 
 RefCountPtr (const RefCountPtr< T > &ptr)
 
template<class P >
 RefCountPtr (P *ptr)
 
void Release ()
 
 ~RefCountPtr ()
 

Detailed Description

template<class T>
class MiscLib::RefCountPtr< T >

Definition at line 7 of file RefCountPtr.h.

Constructor & Destructor Documentation

◆ RefCountPtr() [1/4]

RefCountPtr ( )
inline

Definition at line 10 of file RefCountPtr.h.

◆ RefCountPtr() [2/4]

RefCountPtr ( P *  ptr)
inline

Definition at line 15 of file RefCountPtr.h.

◆ RefCountPtr() [3/4]

RefCountPtr ( const RefCountPtr< T > &  ptr)
inline

Definition at line 24 of file RefCountPtr.h.

◆ RefCountPtr() [4/4]

RefCountPtr ( const RefCountPtr< P > &  ptr)
inline

Definition at line 34 of file RefCountPtr.h.

◆ ~RefCountPtr()

~RefCountPtr ( )
inline

Definition at line 43 of file RefCountPtr.h.

Member Function Documentation

◆ New()

T* New ( )
inline

Definition at line 61 of file RefCountPtr.h.

◆ operator const T *()

operator const T * ( ) const
inline

Definition at line 152 of file RefCountPtr.h.

◆ operator T*()

operator T* ( )
inline

Definition at line 147 of file RefCountPtr.h.

◆ operator*() [1/2]

T& operator* ( )
inline

Definition at line 137 of file RefCountPtr.h.

◆ operator*() [2/2]

const T& operator* ( ) const
inline

Definition at line 142 of file RefCountPtr.h.

◆ operator->() [1/2]

T* operator-> ( )
inline

Definition at line 127 of file RefCountPtr.h.

◆ operator->() [2/2]

const T* operator-> ( ) const
inline

Definition at line 132 of file RefCountPtr.h.

◆ operator=() [1/3]

RefCountPtr< T >& operator= ( const RefCountPtr< P > &  ptr)
inline

Definition at line 90 of file RefCountPtr.h.

◆ operator=() [2/3]

RefCountPtr< T >& operator= ( const RefCountPtr< T > &  ptr)
inline

Definition at line 71 of file RefCountPtr.h.

◆ operator=() [3/3]

RefCountPtr< T >& operator= ( P *  ptr)
inline

Definition at line 109 of file RefCountPtr.h.

◆ operator==() [1/2]

bool operator== ( const RefCountPtr< P > &  ptr) const
inline

Definition at line 168 of file RefCountPtr.h.

◆ operator==() [2/2]

bool operator== ( P *  ptr) const
inline

Definition at line 174 of file RefCountPtr.h.

◆ Ptr() [1/2]

T* Ptr ( )
inline

Definition at line 157 of file RefCountPtr.h.

◆ Ptr() [2/2]

const T* Ptr ( ) const
inline

Definition at line 162 of file RefCountPtr.h.

◆ Release()

void Release ( )
inline

Definition at line 51 of file RefCountPtr.h.


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