Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
SkAutoFc< T, C, D > Class Template Reference
Inheritance diagram for SkAutoFc< T, C, D >:
SkAutoTCallVProc< T, FcTDestroy< T, D > >

Public Member Functions

 SkAutoFc ()
 
 SkAutoFc (T *obj)
 
 SkAutoFc (const SkAutoFc &)=delete
 
 SkAutoFc (SkAutoFc &&that)
 
- Public Member Functions inherited from SkAutoTCallVProc< T, FcTDestroy< T, D > >
 SkAutoTCallVProc (const SkAutoTCallVProc &)=delete
 
 SkAutoTCallVProc (SkAutoTCallVProc &&that)
 
 operator T* () const
 

Detailed Description

template<typename T, T *(*)() C, void(*)(T *) D>
class SkAutoFc< T, C, D >

Definition at line 115 of file SkFontMgr_fontconfig.cpp.

Constructor & Destructor Documentation

◆ SkAutoFc() [1/4]

template<typename T , T *(*)() C, void(*)(T *) D>
SkAutoFc< T, C, D >::SkAutoFc ( )
inline

Definition at line 119 of file SkFontMgr_fontconfig.cpp.

120 T* obj = this->operator T*();
121 SkASSERT_RELEASE(nullptr != obj);
122 }
#define SkASSERT_RELEASE(cond)
Definition: SkAssert.h:100
#define C(TEST_CATEGORY)
Definition: colrv1.cpp:248
#define T
Definition: precompiler.cc:65

◆ SkAutoFc() [2/4]

template<typename T , T *(*)() C, void(*)(T *) D>
SkAutoFc< T, C, D >::SkAutoFc ( T obj)
inlineexplicit

Definition at line 123 of file SkFontMgr_fontconfig.cpp.

123: inherited(obj) {}

◆ SkAutoFc() [3/4]

template<typename T , T *(*)() C, void(*)(T *) D>
SkAutoFc< T, C, D >::SkAutoFc ( const SkAutoFc< T, C, D > &  )
delete

◆ SkAutoFc() [4/4]

template<typename T , T *(*)() C, void(*)(T *) D>
SkAutoFc< T, C, D >::SkAutoFc ( SkAutoFc< T, C, D > &&  that)
inline

Definition at line 125 of file SkFontMgr_fontconfig.cpp.

125: inherited(std::move(that)) {}

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