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 23 of file RefCountPtr.h.

◆ RefCountPtr() [4/4]

RefCountPtr ( const RefCountPtr< P > &  ptr)
inline

Definition at line 32 of file RefCountPtr.h.

◆ ~RefCountPtr()

~RefCountPtr ( )
inline

Definition at line 40 of file RefCountPtr.h.

Member Function Documentation

◆ New()

T* New ( )
inline

Definition at line 60 of file RefCountPtr.h.

◆ operator const T *()

operator const T * ( ) const
inline

Definition at line 158 of file RefCountPtr.h.

◆ operator T*()

operator T* ( )
inline

Definition at line 153 of file RefCountPtr.h.

◆ operator*() [1/2]

T& operator* ( )
inline

Definition at line 142 of file RefCountPtr.h.

◆ operator*() [2/2]

const T& operator* ( ) const
inline

Definition at line 148 of file RefCountPtr.h.

◆ operator->() [1/2]

T* operator-> ( )
inline

Definition at line 130 of file RefCountPtr.h.

◆ operator->() [2/2]

const T* operator-> ( ) const
inline

Definition at line 136 of file RefCountPtr.h.

◆ operator=() [1/3]

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

Definition at line 91 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 111 of file RefCountPtr.h.

◆ operator==() [1/2]

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

Definition at line 177 of file RefCountPtr.h.

◆ operator==() [2/2]

bool operator== ( P *  ptr) const
inline

Definition at line 184 of file RefCountPtr.h.

◆ Ptr() [1/2]

T* Ptr ( )
inline

Definition at line 164 of file RefCountPtr.h.

◆ Ptr() [2/2]

const T* Ptr ( ) const
inline

Definition at line 170 of file RefCountPtr.h.

◆ Release()

void Release ( )
inline

Definition at line 49 of file RefCountPtr.h.


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