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

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

Definition at line 49 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 57 of file CocoaUtils.h.

◆ NSStrongReference() [2/4]

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

Definition at line 62 of file CocoaUtils.h.

◆ NSStrongReference() [3/4]

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

Definition at line 67 of file CocoaUtils.h.

◆ ~NSStrongReference()

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

Definition at line 73 of file CocoaUtils.h.

◆ NSStrongReference() [4/4]

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

Definition at line 89 of file CocoaUtils.h.

Member Function Documentation

◆ Get()

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

Definition at line 117 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 78 of file CocoaUtils.h.

◆ operator=() [2/3]

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

Definition at line 107 of file CocoaUtils.h.

◆ operator=() [3/3]

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

Definition at line 95 of file CocoaUtils.h.

◆ Reset()

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

Definition at line 122 of file CocoaUtils.h.

Member Data Documentation

◆ fNSObject

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

Definition at line 132 of file CocoaUtils.h.


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