morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::author::Point Class Reference

A customization point (spec 5 §12b). More...

#include <author.hpp>

Public Member Functions

 Point (std::string name)
 A point by name.
std::string const & name () const noexcept
 The point's name.
AnyHandle pref (std::string const &path={}) const
 The user's choice at the point.

Detailed Description

A customization point (spec 5 §12b).

Definition at line 2379 of file author.hpp.

Constructor & Destructor Documentation

◆ Point()

morph::ui::author::Point::Point ( std::string name)
inlineexplicit

A point by name.

Parameters
nameThe point's name.

Definition at line 2383 of file author.hpp.

Member Function Documentation

◆ name()

std::string const & morph::ui::author::Point::name ( ) const
inlinenodiscardnoexcept

The point's name.

Returns
The name.

Definition at line 2387 of file author.hpp.

◆ pref()

AnyHandle morph::ui::author::Point::pref ( std::string const & path = {}) const
inlinenodiscard

The user's choice at the point.

Parameters
pathA path inside the choice; empty for the whole.
Returns
{"pref": "point.path"}.

Definition at line 2392 of file author.hpp.


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