Logo ROOT   6.16/01
Reference Guide
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
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 25 of file MnRefCountedPointer.h.

◆ MnRefCountedPointer() [2/3]

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

Definition at line 27 of file MnRefCountedPointer.h.

◆ MnRefCountedPointer() [3/3]

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

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

◆ DoCheck()

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

Definition at line 93 of file MnRefCountedPointer.h.

◆ Get()

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

Definition at line 64 of file MnRefCountedPointer.h.

◆ IsValid()

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

Definition at line 44 of file MnRefCountedPointer.h.

◆ operator*()

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

Definition at line 68 of file MnRefCountedPointer.h.

◆ operator->()

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

Definition at line 66 of file MnRefCountedPointer.h.

◆ operator<()

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

Definition at line 72 of file MnRefCountedPointer.h.

◆ operator=() [1/2]

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

Definition at line 46 of file MnRefCountedPointer.h.

◆ operator=() [2/2]

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

Definition at line 56 of file MnRefCountedPointer.h.

◆ operator==()

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

Definition at line 70 of file MnRefCountedPointer.h.

◆ References()

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

Definition at line 74 of file MnRefCountedPointer.h.

◆ RemoveReference()

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

Definition at line 78 of file MnRefCountedPointer.h.

Member Data Documentation

◆ fCounter

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

Definition at line 89 of file MnRefCountedPointer.h.

◆ fPtr

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

Definition at line 88 of file MnRefCountedPointer.h.

Libraries for ROOT::Minuit2::MnRefCountedPointer< T >:
[legend]

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