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

An action a document names, with the model type it runs on: what the authoriser is asked about. More...

#include <service.hpp>

Public Member Functions

auto operator<=> (ActionRef const &) const =default
 Orders by model type, then action.

Public Attributes

std::string modelType
 The model's registered type id.
std::string action
 The action id.

Detailed Description

An action a document names, with the model type it runs on: what the authoriser is asked about.

Definition at line 49 of file service.hpp.

Member Function Documentation

◆ operator<=>()

auto morph::ui::ActionRef::operator<=> ( ActionRef const & ) const
default

Orders by model type, then action.

Returns
The ordering.

Member Data Documentation

◆ modelType

std::string morph::ui::ActionRef::modelType

The model's registered type id.

Definition at line 51 of file service.hpp.

◆ action

std::string morph::ui::ActionRef::action

The action id.

Definition at line 53 of file service.hpp.


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