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

A state declaration. More...

#include <document.hpp>

Public Attributes

std::string name
 The name.
std::string path
 The declaration's JSON Pointer.
Type type
 The declared type; any when the document gives none.
ExprPtr init
 The initial value; nullptr starts null.

Detailed Description

A state declaration.

Definition at line 171 of file document.hpp.

Member Data Documentation

◆ name

std::string morph::ui::StateDecl::name

The name.

Definition at line 173 of file document.hpp.

◆ path

std::string morph::ui::StateDecl::path

The declaration's JSON Pointer.

Definition at line 175 of file document.hpp.

◆ type

Type morph::ui::StateDecl::type

The declared type; any when the document gives none.

Definition at line 177 of file document.hpp.

◆ init

ExprPtr morph::ui::StateDecl::init

The initial value; nullptr starts null.

Definition at line 179 of file document.hpp.


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