Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
SkPngCodec::voidp Struct Reference

#include <SkPngCodec.h>

Public Member Functions

 voidp (void *ptr)
 
template<typename T >
 operator T* () const
 
 operator bool () const
 

Public Attributes

void * fPtr
 

Detailed Description

Definition at line 43 of file SkPngCodec.h.

Constructor & Destructor Documentation

◆ voidp()

SkPngCodec::voidp::voidp ( void *  ptr)
inline

Definition at line 44 of file SkPngCodec.h.

44: fPtr(ptr) {}

Member Function Documentation

◆ operator bool()

SkPngCodec::voidp::operator bool ( ) const
inlineexplicit

Definition at line 49 of file SkPngCodec.h.

49{ return fPtr != nullptr; }

◆ operator T*()

template<typename T >
SkPngCodec::voidp::operator T* ( ) const
inline

Definition at line 47 of file SkPngCodec.h.

47{ return (T*)fPtr; }
#define T
Definition: precompiler.cc:65

Member Data Documentation

◆ fPtr

void* SkPngCodec::voidp::fPtr

Definition at line 51 of file SkPngCodec.h.


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