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]

template<class T>
RefCountPtr ( )
inline

Definition at line 10 of file RefCountPtr.h.

+ Here is the caller graph for this function:

◆ RefCountPtr() [2/4]

template<class T>
template<class P>
RefCountPtr ( P * ptr)
inline

Definition at line 15 of file RefCountPtr.h.

◆ RefCountPtr() [3/4]

template<class T>
RefCountPtr ( const RefCountPtr< T > & ptr)
inline

Definition at line 23 of file RefCountPtr.h.

+ Here is the call graph for this function:

◆ RefCountPtr() [4/4]

template<class T>
template<class P>
RefCountPtr ( const RefCountPtr< P > & ptr)
inline

Definition at line 32 of file RefCountPtr.h.

+ Here is the call graph for this function:

◆ ~RefCountPtr()

template<class T>
~RefCountPtr ( )
inline

Definition at line 40 of file RefCountPtr.h.

Member Function Documentation

◆ New()

template<class T>
template<class N>
T * New ( )
inline

Definition at line 60 of file RefCountPtr.h.

◆ operator const T *()

template<class T>
operator const T * ( ) const
inline

Definition at line 158 of file RefCountPtr.h.

◆ operator T*()

template<class T>
operator T* ( )
inline

Definition at line 153 of file RefCountPtr.h.

◆ operator*() [1/2]

template<class T>
T & operator* ( )
inline

Definition at line 142 of file RefCountPtr.h.

◆ operator*() [2/2]

template<class T>
const T & operator* ( ) const
inline

Definition at line 148 of file RefCountPtr.h.

◆ operator->() [1/2]

template<class T>
T * operator-> ( )
inline

Definition at line 130 of file RefCountPtr.h.

◆ operator->() [2/2]

template<class T>
const T * operator-> ( ) const
inline

Definition at line 136 of file RefCountPtr.h.

◆ operator=() [1/3]

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

Definition at line 91 of file RefCountPtr.h.

+ Here is the call graph for this function:

◆ operator=() [2/3]

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

Definition at line 71 of file RefCountPtr.h.

+ Here is the call graph for this function:

◆ operator=() [3/3]

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

Definition at line 111 of file RefCountPtr.h.

◆ operator==() [1/2]

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

Definition at line 177 of file RefCountPtr.h.

+ Here is the call graph for this function:

◆ operator==() [2/2]

template<class T>
template<class P>
bool operator== ( P * ptr) const
inline

Definition at line 184 of file RefCountPtr.h.

◆ Ptr() [1/2]

template<class T>
T * Ptr ( )
inline

Definition at line 164 of file RefCountPtr.h.

◆ Ptr() [2/2]

template<class T>
const T * Ptr ( ) const
inline

Definition at line 170 of file RefCountPtr.h.

◆ Release()

template<class T>
void Release ( )
inline

Definition at line 49 of file RefCountPtr.h.


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