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

One scope during validation: its names and its parent. More...

#include <document.hpp>

Public Attributes

ScopeInfo * parent = nullptr
 The enclosing scope; nullptr for a screen or a component fallback.
bool row = false
 Whether it is a forEach or table row scope.
bool screen = false
 Whether it is the screen's own scope.
std::map< std::string, NameEntry, std::less<> > names
 The names it declares.

Detailed Description

One scope during validation: its names and its parent.

Definition at line 2144 of file document.hpp.

Member Data Documentation

◆ parent

ScopeInfo* morph::ui::detail::ScopeInfo::parent = nullptr

The enclosing scope; nullptr for a screen or a component fallback.

Definition at line 2146 of file document.hpp.

◆ row

bool morph::ui::detail::ScopeInfo::row = false

Whether it is a forEach or table row scope.

Definition at line 2148 of file document.hpp.

◆ screen

bool morph::ui::detail::ScopeInfo::screen = false

Whether it is the screen's own scope.

Definition at line 2150 of file document.hpp.

◆ names

std::map<std::string, NameEntry, std::less<> > morph::ui::detail::ScopeInfo::names

The names it declares.

Definition at line 2152 of file document.hpp.


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