Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
SkSVGIRI Class Reference

#include <SkSVGTypes.h>

Public Types

enum class  Type { kLocal , kNonlocal , kDataURI }
 

Public Member Functions

 SkSVGIRI ()
 
 SkSVGIRI (Type t, const SkSVGStringType &iri)
 
Type type () const
 
const SkSVGStringTypeiri () const
 
bool operator== (const SkSVGIRI &other) const
 
bool operator!= (const SkSVGIRI &other) const
 

Detailed Description

Definition at line 152 of file SkSVGTypes.h.

Member Enumeration Documentation

◆ Type

enum class SkSVGIRI::Type
strong
Enumerator
kLocal 
kNonlocal 
kDataURI 

Definition at line 154 of file SkSVGTypes.h.

154 {
155 kLocal,
156 kNonlocal,
157 kDataURI,
158 };

Constructor & Destructor Documentation

◆ SkSVGIRI() [1/2]

SkSVGIRI::SkSVGIRI ( )
inline

Definition at line 160 of file SkSVGTypes.h.

160: fType(Type::kLocal) {}

◆ SkSVGIRI() [2/2]

SkSVGIRI::SkSVGIRI ( Type  t,
const SkSVGStringType iri 
)
inline

Definition at line 161 of file SkSVGTypes.h.

161: fType(t), fIRI(iri) {}
const SkSVGStringType & iri() const
Definition SkSVGTypes.h:164

Member Function Documentation

◆ iri()

const SkSVGStringType & SkSVGIRI::iri ( ) const
inline

Definition at line 164 of file SkSVGTypes.h.

164{ return fIRI; }

◆ operator!=()

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

Definition at line 169 of file SkSVGTypes.h.

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

◆ operator==()

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

Definition at line 166 of file SkSVGTypes.h.

166 {
167 return fType == other.fType && fIRI == other.fIRI;
168 }

◆ type()

Type SkSVGIRI::type ( ) const
inline

Definition at line 163 of file SkSVGTypes.h.

163{ return fType; }

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