Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
fml::CommandLine::Option Struct Reference

#include <command_line.h>

Public Member Functions

 Option ()
 
 Option (const std::string &name)
 
 Option (const std::string &name, const std::string &value)
 
bool operator== (const Option &other) const
 
bool operator!= (const Option &other) const
 

Public Attributes

std::string name
 
std::string value
 

Detailed Description

Definition at line 61 of file command_line.h.

Constructor & Destructor Documentation

◆ Option() [1/3]

fml::CommandLine::Option::Option ( )
inline

Definition at line 62 of file command_line.h.

62{}

◆ Option() [2/3]

fml::CommandLine::Option::Option ( const std::string &  name)
explicit

Definition at line 11 of file command_line.cc.

11: name(name) {}

◆ Option() [3/3]

fml::CommandLine::Option::Option ( const std::string &  name,
const std::string &  value 
)

Definition at line 13 of file command_line.cc.

14 : name(name), value(value) {}

Member Function Documentation

◆ operator!=()

bool fml::CommandLine::Option::operator!= ( const Option other) const
inline

Definition at line 69 of file command_line.h.

69{ return !operator==(other); }
bool operator==(const Option &other) const

◆ operator==()

bool fml::CommandLine::Option::operator== ( const Option other) const
inline

Definition at line 66 of file command_line.h.

66 {
67 return name == other.name && value == other.value;
68 }

Member Data Documentation

◆ name

std::string fml::CommandLine::Option::name

Definition at line 71 of file command_line.h.

◆ value

std::string fml::CommandLine::Option::value

Definition at line 72 of file command_line.h.


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