|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
Every flow and shape one source file declares. More...
#include <cpp/a11/flow/plan.h>
Public Member Functions | |
| const FlowPlan *absl_nullable | Flow (std::string_view name) const |
The flow of this name, or nullptr. | |
| const FlowPlan *absl_nullable | Entry () const |
The file's entry point, or nullptr when it declares none. | |
| const DtoPlan *absl_nullable | Dto (std::string_view name) const |
The shape of this name, or nullptr. | |
Public Attributes | |
| std::string | source_name |
| std::vector< FlowPlan > | flows |
| std::vector< DtoPlan > | dtos |
| The shapes, in declaration order. | |
Every flow and shape one source file declares.
| const DtoPlan *absl_nullable a11::flow::Program::Dto | ( | std::string_view | name | ) | const |
The shape of this name, or nullptr.
| const FlowPlan *absl_nullable a11::flow::Program::Entry | ( | ) | const |
The file's entry point, or nullptr when it declares none.
| const FlowPlan *absl_nullable a11::flow::Program::Flow | ( | std::string_view | name | ) | const |
The flow of this name, or nullptr.
Never returns the entry flow: an empty name matches nothing, so a run/call cannot reach it.
| std::vector<DtoPlan> a11::flow::Program::dtos |
The shapes, in declaration order.
Beside the flows because a shape is not any one flow's: two flows in a file describe the same records. A name here outranks a serialisation registry tag of the same name, so the local declaration defines the shape.
| std::vector<FlowPlan> a11::flow::Program::flows |
| std::string a11::flow::Program::source_name |