Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::MacOSX::Util::NSScopeGuard< DerivedType > Class Template Reference

template<class DerivedType>
class ROOT::MacOSX::Util::NSScopeGuard< DerivedType >

Definition at line 118 of file CocoaUtils.h.

Public Member Functions

 NSScopeGuard ()
 
 NSScopeGuard (NSObject *nsObject)
 
 ~NSScopeGuard ()
 
DerivedTypeGet () const
 
NSObjectRelease ()
 
void Reset (NSObject *object)
 

Private Member Functions

 NSScopeGuard (const NSScopeGuard &rhs)
 
NSScopeGuardoperator= (const NSScopeGuard &rhs)
 

Private Attributes

NSObjectfNSObject
 

#include <CocoaUtils.h>

Constructor & Destructor Documentation

◆ NSScopeGuard() [1/3]

template<class DerivedType >
ROOT::MacOSX::Util::NSScopeGuard< DerivedType >::NSScopeGuard ( )
inline

Definition at line 120 of file CocoaUtils.h.

◆ NSScopeGuard() [2/3]

template<class DerivedType >
ROOT::MacOSX::Util::NSScopeGuard< DerivedType >::NSScopeGuard ( NSObject * nsObject)
inlineexplicit

Definition at line 125 of file CocoaUtils.h.

◆ ~NSScopeGuard()

Definition at line 129 of file CocoaUtils.h.

◆ NSScopeGuard() [3/3]

Member Function Documentation

◆ Get()

Definition at line 136 of file CocoaUtils.h.

◆ operator=()

◆ Release()

Definition at line 149 of file CocoaUtils.h.

◆ Reset()

template<class DerivedType >
void ROOT::MacOSX::Util::NSScopeGuard< DerivedType >::Reset ( NSObject * object)
inline

Definition at line 141 of file CocoaUtils.h.

Member Data Documentation

◆ fNSObject

Definition at line 156 of file CocoaUtils.h.

  • core/macosx/inc/CocoaUtils.h