Logo ROOT   6.10/09
Reference Guide
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
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 ()
 
DerivedType * Get () const
 
NSObject * Release ()
 
void Reset (NSObject *object)
 

Private Member Functions

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

Private Attributes

NSObject * fNSObject
 

#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()

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

Definition at line 129 of file CocoaUtils.h.

◆ NSScopeGuard() [3/3]

template<class DerivedType>
ROOT::MacOSX::Util::NSScopeGuard< DerivedType >::NSScopeGuard ( const NSScopeGuard< DerivedType > &  rhs)
private

Member Function Documentation

◆ Get()

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

Definition at line 136 of file CocoaUtils.h.

◆ operator=()

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

◆ Release()

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

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

template<class DerivedType>
NSObject* ROOT::MacOSX::Util::NSScopeGuard< DerivedType >::fNSObject
private

Definition at line 156 of file CocoaUtils.h.


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