morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::detail::CommandLineChoice Struct Reference

The command line's choice of frontend, and the arguments that made it. More...

#include <frontend.hpp>

Public Attributes

std::optional< std::string > name
 The last name given, or none.
bool missingName = false
 Whether a --ui was given without a name after it, or the last name given is empty.
std::vector< std::size_t > used
 The positions in the arguments of every --ui=<name>, --ui and the name after it, ascending.

Detailed Description

The command line's choice of frontend, and the arguments that made it.

Definition at line 283 of file frontend.hpp.

Member Data Documentation

◆ name

std::optional<std::string> morph::ui::detail::CommandLineChoice::name

The last name given, or none.

Definition at line 285 of file frontend.hpp.

◆ missingName

bool morph::ui::detail::CommandLineChoice::missingName = false

Whether a --ui was given without a name after it, or the last name given is empty.

Definition at line 287 of file frontend.hpp.

◆ used

std::vector<std::size_t> morph::ui::detail::CommandLineChoice::used

The positions in the arguments of every --ui=<name>, --ui and the name after it, ascending.

Definition at line 289 of file frontend.hpp.


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