Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
StringOption Struct Reference
Inheritance diagram for StringOption:
Option< std::string > BaseOption

Public Member Functions

void set (const std::string &_value) override
 
std::string valueToString () override
 
 StringOption (std::string _selector, std::string _description, std::string defaultValue)
 
- Public Member Functions inherited from Option< std::string >
 Option (std::string _selector, std::string _description, std::string 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 ()
 

Additional Inherited Members

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

Detailed Description

Definition at line 111 of file using_skia_and_harfbuzz.cpp.

Constructor & Destructor Documentation

◆ StringOption()

StringOption::StringOption ( std::string  _selector,
std::string  _description,
std::string  defaultValue 
)
inline

Definition at line 114 of file using_skia_and_harfbuzz.cpp.

115 : Option<std::string>(std::move(_selector),
116 std::move(_description),
117 std::move(defaultValue)) {}

Member Function Documentation

◆ set()

void StringOption::set ( const std::string &  _value)
inlineoverridevirtual

Implements BaseOption.

Definition at line 112 of file using_skia_and_harfbuzz.cpp.

112{ value = _value; }

◆ valueToString()

std::string StringOption::valueToString ( )
inlineoverridevirtual

Implements BaseOption.

Definition at line 113 of file using_skia_and_harfbuzz.cpp.

113{ return value; }

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