Flutter Engine
The Flutter Engine
Public Types | Public Member Functions | List of all members
SkSVGFuncIRI Class Reference

#include <SkSVGTypes.h>

Public Types

enum class  Type { kNone , kIRI }
 

Public Member Functions

 SkSVGFuncIRI ()
 
 SkSVGFuncIRI (Type t)
 
 SkSVGFuncIRI (SkSVGIRI &&iri)
 
bool operator== (const SkSVGFuncIRI &other) const
 
bool operator!= (const SkSVGFuncIRI &other) const
 
Type type () const
 
const SkSVGIRIiri () const
 

Detailed Description

Definition at line 264 of file SkSVGTypes.h.

Member Enumeration Documentation

◆ Type

enum class SkSVGFuncIRI::Type
strong
Enumerator
kNone 
kIRI 

Definition at line 266 of file SkSVGTypes.h.

266 {
267 kNone,
268 kIRI,
269 };
@ kNone
Definition: layer.h:53

Constructor & Destructor Documentation

◆ SkSVGFuncIRI() [1/3]

SkSVGFuncIRI::SkSVGFuncIRI ( )
inline

Definition at line 271 of file SkSVGTypes.h.

271: fType(Type::kNone) {}

◆ SkSVGFuncIRI() [2/3]

SkSVGFuncIRI::SkSVGFuncIRI ( Type  t)
inlineexplicit

Definition at line 272 of file SkSVGTypes.h.

272: fType(t) {}

◆ SkSVGFuncIRI() [3/3]

SkSVGFuncIRI::SkSVGFuncIRI ( SkSVGIRI &&  iri)
inlineexplicit

Definition at line 273 of file SkSVGTypes.h.

273: fType(Type::kIRI), fIRI(std::move(iri)) {}
const SkSVGIRI & iri() const
Definition: SkSVGTypes.h:281

Member Function Documentation

◆ iri()

const SkSVGIRI & SkSVGFuncIRI::iri ( ) const
inline

Definition at line 281 of file SkSVGTypes.h.

281{ SkASSERT(fType == Type::kIRI); return fIRI; }
#define SkASSERT(cond)
Definition: SkAssert.h:116

◆ operator!=()

bool SkSVGFuncIRI::operator!= ( const SkSVGFuncIRI other) const
inline

Definition at line 278 of file SkSVGTypes.h.

278{ return !(*this == other); }

◆ operator==()

bool SkSVGFuncIRI::operator== ( const SkSVGFuncIRI other) const
inline

Definition at line 275 of file SkSVGTypes.h.

275 {
276 return fType == other.fType && fIRI == other.fIRI;
277 }

◆ type()

Type SkSVGFuncIRI::type ( ) const
inline

Definition at line 280 of file SkSVGTypes.h.

280{ return fType; }

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