Logo ROOT   6.21/01
Reference Guide
ROOT::MacOSX::Util::CFScopeGuard< RefType > Class Template Reference

template<class RefType>
class ROOT::MacOSX::Util::CFScopeGuard< RefType >

Definition at line 268 of file CocoaUtils.h.

Public Member Functions

 CFScopeGuard ()
 
 CFScopeGuard (RefType ref)
 
 ~CFScopeGuard ()
 
RefType Get () const
 
RefType Release ()
 
void Reset (RefType ref)
 

Private Member Functions

 CFScopeGuard (const CFScopeGuard &rhs)
 
CFScopeGuardoperator= (const CFScopeGuard &rhs)
 

Private Attributes

RefType fRef
 

#include <CocoaUtils.h>

Constructor & Destructor Documentation

◆ CFScopeGuard() [1/3]

template<class RefType>
ROOT::MacOSX::Util::CFScopeGuard< RefType >::CFScopeGuard ( )
inline

Definition at line 270 of file CocoaUtils.h.

◆ CFScopeGuard() [2/3]

template<class RefType>
ROOT::MacOSX::Util::CFScopeGuard< RefType >::CFScopeGuard ( RefType  ref)
inlineexplicit

Definition at line 275 of file CocoaUtils.h.

◆ ~CFScopeGuard()

template<class RefType>
ROOT::MacOSX::Util::CFScopeGuard< RefType >::~CFScopeGuard ( )
inline

Definition at line 280 of file CocoaUtils.h.

◆ CFScopeGuard() [3/3]

template<class RefType>
ROOT::MacOSX::Util::CFScopeGuard< RefType >::CFScopeGuard ( const CFScopeGuard< RefType > &  rhs)
private

Member Function Documentation

◆ Get()

template<class RefType>
RefType ROOT::MacOSX::Util::CFScopeGuard< RefType >::Get ( ) const
inline

Definition at line 286 of file CocoaUtils.h.

◆ operator=()

template<class RefType>
CFScopeGuard& ROOT::MacOSX::Util::CFScopeGuard< RefType >::operator= ( const CFScopeGuard< RefType > &  rhs)
private

◆ Release()

template<class RefType>
RefType ROOT::MacOSX::Util::CFScopeGuard< RefType >::Release ( )
inline

Definition at line 300 of file CocoaUtils.h.

◆ Reset()

template<class RefType>
void ROOT::MacOSX::Util::CFScopeGuard< RefType >::Reset ( RefType  ref)
inline

Definition at line 291 of file CocoaUtils.h.

Member Data Documentation

◆ fRef

template<class RefType>
RefType ROOT::MacOSX::Util::CFScopeGuard< RefType >::fRef
private

Definition at line 308 of file CocoaUtils.h.


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