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

One field's encoded value. More...

#include <values.hpp>

Public Member Functions

bool operator== (WireValue const &other) const =default
 Member-wise equality.

Public Attributes

std::string json
 The JSON literal the body carries, byte for byte.
ui::Value value {}
 The exact value rules compare, in the expression language's terms: an int, a decimal, a bool, a string or a timestamp; null for objects and for a value the language cannot hold exactly (an integer beyond int64).

Detailed Description

One field's encoded value.

Definition at line 51 of file values.hpp.

Member Function Documentation

◆ operator==()

bool morph::forms::WireValue::operator== ( WireValue const & other) const
default

Member-wise equality.

Parameters
otherThe other value.
Returns
true when literal and value match.

Member Data Documentation

◆ json

std::string morph::forms::WireValue::json

The JSON literal the body carries, byte for byte.

Definition at line 53 of file values.hpp.

◆ value

ui::Value morph::forms::WireValue::value {}

The exact value rules compare, in the expression language's terms: an int, a decimal, a bool, a string or a timestamp; null for objects and for a value the language cannot hold exactly (an integer beyond int64).

Definition at line 57 of file values.hpp.


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