Flutter Engine
fml::scoped_nsobject< NST > Class Template Reference

#include <scoped_nsobject.h>

Inheritance diagram for fml::scoped_nsobject< NST >:
fml::scoped_nsprotocol< NST *>

Public Member Functions

 scoped_nsobject (NST *object=nil)
 
 scoped_nsobject (const scoped_nsobject< NST > &that)
 
template<typename NSU >
 scoped_nsobject (const scoped_nsobject< NSU > &that)
 
scoped_nsobjectoperator= (const scoped_nsobject< NST > &that)
 
- Public Member Functions inherited from fml::scoped_nsprotocol< NST *>
 scoped_nsprotocol (NST * object=nil)
 
 scoped_nsprotocol (const scoped_nsprotocol< NST * > &that)
 
 scoped_nsprotocol (const scoped_nsprotocol< NSU > &that)
 
 ~scoped_nsprotocol ()
 
scoped_nsprotocoloperator= (const scoped_nsprotocol< NST * > &that)
 
void reset (NST * object=nil)
 
bool operator== (NST * that) const
 
bool operator!= (NST * that) const
 
 operator NST * () const
 
NST * get () const
 
void swap (scoped_nsprotocol &that)
 
NST * autorelease ()
 

Detailed Description

template<typename NST>
class fml::scoped_nsobject< NST >

Definition at line 112 of file scoped_nsobject.h.

Constructor & Destructor Documentation

◆ scoped_nsobject() [1/3]

template<typename NST>
fml::scoped_nsobject< NST >::scoped_nsobject ( NST *  object = nil)
inlineexplicit

Definition at line 114 of file scoped_nsobject.h.

114 : scoped_nsprotocol<NST*>(object) {}

◆ scoped_nsobject() [2/3]

template<typename NST>
fml::scoped_nsobject< NST >::scoped_nsobject ( const scoped_nsobject< NST > &  that)
inline

Definition at line 116 of file scoped_nsobject.h.

116 : scoped_nsprotocol<NST*>(that) {}

◆ scoped_nsobject() [3/3]

template<typename NST>
template<typename NSU >
fml::scoped_nsobject< NST >::scoped_nsobject ( const scoped_nsobject< NSU > &  that)
inline

Definition at line 119 of file scoped_nsobject.h.

119 : scoped_nsprotocol<NST*>(that) {}

Member Function Documentation

◆ operator=()

template<typename NST>
scoped_nsobject& fml::scoped_nsobject< NST >::operator= ( const scoped_nsobject< NST > &  that)
inline

Definition at line 121 of file scoped_nsobject.h.

121  {
123  return *this;
124  }
scoped_nsprotocol & operator=(const scoped_nsprotocol< NST > &that)

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