Logo ROOT  
Reference Guide
ROOT::MacOSX::Util::NSStrongReference< DerivedType > Class Template Reference

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

Definition at line 31 of file CocoaUtils.h.

Public Member Functions

 NSStrongReference ()
 
 NSStrongReference (const NSStrongReference &rhs)
 
 NSStrongReference (NSObject *nsObject)
 
 NSStrongReference (NSStrongReference &&rhs)
 
 ~NSStrongReference ()
 
DerivedType * Get () const
 
NSStrongReferenceoperator= (const NSStrongReference &rhs)
 
NSStrongReferenceoperator= (NSObject *nsObject)
 
NSStrongReferenceoperator= (NSStrongReference &&rhs)
 
void Reset (NSObject *object)
 

Private Attributes

NSObjectfNSObject
 

#include <CocoaUtils.h>

Constructor & Destructor Documentation

◆ NSStrongReference() [1/4]

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

Definition at line 33 of file CocoaUtils.h.

◆ NSStrongReference() [2/4]

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

Definition at line 38 of file CocoaUtils.h.

◆ NSStrongReference() [3/4]

template<class DerivedType >
ROOT::MacOSX::Util::NSStrongReference< DerivedType >::NSStrongReference ( const NSStrongReference< DerivedType > &  rhs)
inline

Definition at line 43 of file CocoaUtils.h.

◆ ~NSStrongReference()

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

Definition at line 49 of file CocoaUtils.h.

◆ NSStrongReference() [4/4]

template<class DerivedType >
ROOT::MacOSX::Util::NSStrongReference< DerivedType >::NSStrongReference ( NSStrongReference< DerivedType > &&  rhs)
inline

Definition at line 65 of file CocoaUtils.h.

Member Function Documentation

◆ Get()

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

Definition at line 93 of file CocoaUtils.h.

◆ operator=() [1/3]

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

Definition at line 54 of file CocoaUtils.h.

◆ operator=() [2/3]

template<class DerivedType >
NSStrongReference & ROOT::MacOSX::Util::NSStrongReference< DerivedType >::operator= ( NSObject nsObject)
inline

Definition at line 83 of file CocoaUtils.h.

◆ operator=() [3/3]

template<class DerivedType >
NSStrongReference & ROOT::MacOSX::Util::NSStrongReference< DerivedType >::operator= ( NSStrongReference< DerivedType > &&  rhs)
inline

Definition at line 71 of file CocoaUtils.h.

◆ Reset()

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

Definition at line 98 of file CocoaUtils.h.

Member Data Documentation

◆ fNSObject

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

Definition at line 108 of file CocoaUtils.h.


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