Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Attributes | List of all members
SkSVGWrapperValue< T, ValueType > Class Template Referencefinal

#include <SkSVGValue.h>

Inheritance diagram for SkSVGWrapperValue< T, ValueType >:
SkSVGValue SkNoncopyable

Public Member Functions

 SkSVGWrapperValue (const T &v)
 
 operator const T & () const
 
const Toperator-> () const
 
- Public Member Functions inherited from SkSVGValue
Type type () const
 
template<typename T >
const Tas () const
 
- Public Member Functions inherited from SkNoncopyable
 SkNoncopyable ()=default
 
 SkNoncopyable (SkNoncopyable &&)=default
 
SkNoncopyableoperator= (SkNoncopyable &&)=default
 

Static Public Attributes

static constexpr Type TYPE = ValueType
 

Additional Inherited Members

- Public Types inherited from SkSVGValue
enum class  Type {
  kColor , kFilter , kLength , kNumber ,
  kObjectBoundingBoxUnits , kPreserveAspectRatio , kStopColor , kString ,
  kTransform , kViewBox
}
 
- Protected Member Functions inherited from SkSVGValue
 SkSVGValue (Type t)
 

Detailed Description

template<typename T, SkSVGValue::Type ValueType>
class SkSVGWrapperValue< T, ValueType >

Definition at line 50 of file SkSVGValue.h.

Constructor & Destructor Documentation

◆ SkSVGWrapperValue()

template<typename T , SkSVGValue::Type ValueType>
SkSVGWrapperValue< T, ValueType >::SkSVGWrapperValue ( const T v)
inlineexplicit

Definition at line 54 of file SkSVGValue.h.

55 : INHERITED(ValueType)
56 , fWrappedValue(v) { }

Member Function Documentation

◆ operator const T &()

template<typename T , SkSVGValue::Type ValueType>
SkSVGWrapperValue< T, ValueType >::operator const T & ( ) const
inline

Definition at line 58 of file SkSVGValue.h.

58{ return fWrappedValue; }

◆ operator->()

template<typename T , SkSVGValue::Type ValueType>
const T * SkSVGWrapperValue< T, ValueType >::operator-> ( ) const
inline

Definition at line 59 of file SkSVGValue.h.

59{ return &fWrappedValue; }

Member Data Documentation

◆ TYPE

template<typename T , SkSVGValue::Type ValueType>
constexpr Type SkSVGWrapperValue< T, ValueType >::TYPE = ValueType
staticconstexpr

Definition at line 52 of file SkSVGValue.h.


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