Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Minuit2::MnRefCountedPointer< T > Class Template Reference

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

Definition at line 20 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 24 of file MnRefCountedPointer.h.

◆ MnRefCountedPointer() [2/3]

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

Definition at line 26 of file MnRefCountedPointer.h.

◆ MnRefCountedPointer() [3/3]

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

Definition at line 28 of file MnRefCountedPointer.h.

◆ ~MnRefCountedPointer()

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

Definition at line 33 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 106 of file MnRefCountedPointer.h.

◆ Get()

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

Definition at line 68 of file MnRefCountedPointer.h.

◆ IsValid()

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

Definition at line 46 of file MnRefCountedPointer.h.

◆ operator*()

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

Definition at line 76 of file MnRefCountedPointer.h.

◆ operator->()

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

Definition at line 70 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 48 of file MnRefCountedPointer.h.

◆ operator=() [2/2]

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

Definition at line 59 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 103 of file MnRefCountedPointer.h.

◆ fPtr

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

Definition at line 102 of file MnRefCountedPointer.h.

  • math/minuit2/inc/Minuit2/MnRefCountedPointer.h