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

A list of view nodes. More...

#include <author.hpp>

Public Member Functions

 Nodes ()=default
 No nodes.
 Nodes (Node const &node)
 One node.
 Nodes (std::initializer_list< Node > nodes)
 Nodes in order.
 Nodes (std::vector< Node > const &nodes)
 Nodes in order.
bool empty () const noexcept
 Whether the list is empty.
Json json () const
 The list's JSON.
CatalogFacts const & facts () const noexcept
 The catalog facts of the models and actions the nodes name.

Detailed Description

A list of view nodes.

Definition at line 1740 of file author.hpp.

Constructor & Destructor Documentation

◆ Nodes() [1/3]

morph::ui::author::Nodes::Nodes ( Node const & node)
inline

One node.

Parameters
nodeThe node.

Definition at line 1991 of file author.hpp.

◆ Nodes() [2/3]

morph::ui::author::Nodes::Nodes ( std::initializer_list< Node > nodes)
inline

Nodes in order.

Parameters
nodesThe nodes.

Definition at line 1993 of file author.hpp.

◆ Nodes() [3/3]

morph::ui::author::Nodes::Nodes ( std::vector< Node > const & nodes)
inline

Nodes in order.

Parameters
nodesThe nodes.

Definition at line 2000 of file author.hpp.

Member Function Documentation

◆ empty()

bool morph::ui::author::Nodes::empty ( ) const
inlinenodiscardnoexcept

Whether the list is empty.

Returns
True when it is.

Definition at line 1759 of file author.hpp.

◆ json()

Json morph::ui::author::Nodes::json ( ) const
inlinenodiscard

The list's JSON.

Returns
An array of nodes.

Definition at line 1763 of file author.hpp.

◆ facts()

CatalogFacts const & morph::ui::author::Nodes::facts ( ) const
inlinenodiscardnoexcept

The catalog facts of the models and actions the nodes name.

Returns
The facts.

Definition at line 1767 of file author.hpp.


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