Logo ROOT  
Reference Guide
ROOT::Minuit2::MnRefCountedPointer< T > Class Template Reference

template<class T>
class ROOT::Minuit2::MnRefCountedPointer< T >

Definition at line 28 of file MnRefCountedPointer.h.

Public Member Functions

 MnRefCountedPointer ()
 
 MnRefCountedPointer (const MnRefCountedPointer< T > &other)
 
 MnRefCountedPointer (T *pt)
 
 ~MnRefCountedPointer ()
 
void AddReference () const
 
T * Get () const
 
bool IsValid () const
 
T & operator* () const
 
T * operator-> () const
 
bool operator< (const T *otherP) const
 
MnRefCountedPointeroperator= (const MnRefCountedPointer< T > &other)
 
MnRefCountedPointeroperator= (T *ptr)
 
bool operator== (const T *otherP) const
 
unsigned int References () const
 
void RemoveReference ()
 

Private Member Functions

void DoCheck () const
 

Private Attributes

MnReferenceCounterfCounter
 
T * fPtr
 

#include <Minuit2/MnRefCountedPointer.h>

Constructor & Destructor Documentation

◆ MnRefCountedPointer() [1/3]

template<class T >
ROOT::Minuit2::MnRefCountedPointer< T >::MnRefCountedPointer ( )
inline

Definition at line 37 of file MnRefCountedPointer.h.

◆ MnRefCountedPointer() [2/3]

template<class T >
ROOT::Minuit2::MnRefCountedPointer< T >::MnRefCountedPointer ( T *  pt)
inline

Definition at line 39 of file MnRefCountedPointer.h.

◆ MnRefCountedPointer() [3/3]

template<class T >
ROOT::Minuit2::MnRefCountedPointer< T >::MnRefCountedPointer ( const MnRefCountedPointer< T > &  other)
inline

Definition at line 42 of file MnRefCountedPointer.h.

◆ ~MnRefCountedPointer()

template<class T >
ROOT::Minuit2::MnRefCountedPointer< T >::~MnRefCountedPointer ( )
inline

Definition at line 45 of file MnRefCountedPointer.h.

Member Function Documentation

◆ AddReference()

template<class T >
void ROOT::Minuit2::MnRefCountedPointer< T >::AddReference ( ) const
inline

Definition at line 88 of file MnRefCountedPointer.h.

◆ DoCheck()

template<class T >
void ROOT::Minuit2::MnRefCountedPointer< T >::DoCheck ( ) const
inlineprivate

Definition at line 105 of file MnRefCountedPointer.h.

◆ Get()

template<class T >
T* ROOT::Minuit2::MnRefCountedPointer< T >::Get ( ) const
inline

Definition at line 76 of file MnRefCountedPointer.h.

◆ IsValid()

template<class T >
bool ROOT::Minuit2::MnRefCountedPointer< T >::IsValid ( ) const
inline

Definition at line 56 of file MnRefCountedPointer.h.

◆ operator*()

template<class T >
T& ROOT::Minuit2::MnRefCountedPointer< T >::operator* ( ) const
inline

Definition at line 80 of file MnRefCountedPointer.h.

◆ operator->()

template<class T >
T* ROOT::Minuit2::MnRefCountedPointer< T >::operator-> ( ) const
inline

Definition at line 78 of file MnRefCountedPointer.h.

◆ operator<()

template<class T >
bool ROOT::Minuit2::MnRefCountedPointer< T >::operator< ( const T *  otherP) const
inline

Definition at line 84 of file MnRefCountedPointer.h.

◆ operator=() [1/2]

template<class T >
MnRefCountedPointer& ROOT::Minuit2::MnRefCountedPointer< T >::operator= ( const MnRefCountedPointer< T > &  other)
inline

Definition at line 58 of file MnRefCountedPointer.h.

◆ operator=() [2/2]

template<class T >
MnRefCountedPointer& ROOT::Minuit2::MnRefCountedPointer< T >::operator= ( T *  ptr)
inline

Definition at line 68 of file MnRefCountedPointer.h.

◆ operator==()

template<class T >
bool ROOT::Minuit2::MnRefCountedPointer< T >::operator== ( const T *  otherP) const
inline

Definition at line 82 of file MnRefCountedPointer.h.

◆ References()

template<class T >
unsigned int ROOT::Minuit2::MnRefCountedPointer< T >::References ( ) const
inline

Definition at line 86 of file MnRefCountedPointer.h.

◆ RemoveReference()

template<class T >
void ROOT::Minuit2::MnRefCountedPointer< T >::RemoveReference ( )
inline

Definition at line 90 of file MnRefCountedPointer.h.

Member Data Documentation

◆ fCounter

template<class T >
MnReferenceCounter* ROOT::Minuit2::MnRefCountedPointer< T >::fCounter
private

Definition at line 101 of file MnRefCountedPointer.h.

◆ fPtr

template<class T >
T* ROOT::Minuit2::MnRefCountedPointer< T >::fPtr
private

Definition at line 100 of file MnRefCountedPointer.h.


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