|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
A typed reference carried through a fragment-view Flow pipeline. More...
#include <cpp/a11/flow/values.h>
Public Member Functions | |
| NodeReferenceObject (data::NodeRef reference) | |
| const data::NodeRef & | reference () const |
| std::string | Tag () const override |
| The tag the host knows this type by, for a message. | |
| std::string | Text () const override |
What as_text gives: what the value is on the wire, not its repr. | |
| bool | Truthy () const override |
| Whether the value counts as true. | |
| std::optional< size_t > | Size () const override |
| How many things it holds, where that means anything. | |
| Value | Field (std::string_view name) const override |
value.name, or a null value when there is no such field. | |
| Value | Element (const Value &key) const override |
value[key]. | |
| std::optional< Value > | FindField (std::string_view name) const override |
| A field or element with its presence retained, including a null value. | |
| bool | Equals (const HostObject &other) const override |
Whether this is the same value as other, by the host's own equality. | |
Public Member Functions inherited from a11::flow::HostObject | |
| virtual | ~HostObject ()=default |
| virtual std::optional< Value > | FindElement (const Value &key) const |
A typed reference carried through a fragment-view Flow pipeline.
|
inlineexplicit |
value[key].
Implements a11::flow::HostObject.
|
overridevirtual |
Whether this is the same value as other, by the host's own equality.
Implements a11::flow::HostObject.
|
overridevirtual |
value.name, or a null value when there is no such field.
Reading a field a producer did not send answers nothing rather than failing, which is what lets a flow say if not thing.field.
Implements a11::flow::HostObject.
|
overridevirtual |
A field or element with its presence retained, including a null value.
Reimplemented from a11::flow::HostObject.
|
inline |
|
overridevirtual |
How many things it holds, where that means anything.
Implements a11::flow::HostObject.
|
overridevirtual |
The tag the host knows this type by, for a message.
Implements a11::flow::HostObject.
|
overridevirtual |
What as_text gives: what the value is on the wire, not its repr.
Implements a11::flow::HostObject.
|
overridevirtual |
Whether the value counts as true.
Implements a11::flow::HostObject.