Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Option< T > Struct Template Reference
Inheritance diagram for Option< T >:
BaseOption

Public Member Functions

 Option (std::string _selector, std::string _description, T defaultValue)
 
- Public Member Functions inherited from BaseOption
virtual void set (const std::string &_value)=0
 
virtual std::string valueToString ()=0
 
 BaseOption (std::string _selector, std::string _description)
 
virtual ~BaseOption ()
 

Public Attributes

T value
 
- Public Attributes inherited from BaseOption
std::string selector
 
std::string description
 

Additional Inherited Members

- Static Public Member Functions inherited from BaseOption
static void Init (const std::vector< BaseOption * > &, int argc, char **argv)
 

Detailed Description

template<class T>
struct Option< T >

Definition at line 61 of file using_skia_and_harfbuzz.cpp.

Constructor & Destructor Documentation

◆ Option()

template<class T >
Option< T >::Option ( std::string  _selector,
std::string  _description,
T  defaultValue 
)
inline

Definition at line 63 of file using_skia_and_harfbuzz.cpp.

64 : BaseOption(std::move(_selector), std::move(_description))
65 , value(defaultValue) {}

Member Data Documentation

◆ value

template<class T >
T Option< T >::value

Definition at line 62 of file using_skia_and_harfbuzz.cpp.


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