A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
a11::flow::discover::ActionInfo Struct Reference

One action a flow may run or call. More...

#include <cpp/a11/flow/catalogue.h>

Public Member Functions

const PortInfo *absl_nullable Port (std::string_view port_name, syntax::PortDirection direction) const
std::vector< std::string > PortNames (syntax::PortDirection direction) const

Public Attributes

std::string name
std::string description
std::vector< PortInfo > inputs
std::vector< PortInfo > outputs
std::vector< PortInfo > headers
 Header names the action declares, with what each is for.
std::optional< Origin > origin
 Where the declaration is, when it was found by reading source.
std::vector< Origin > schema_origins
 All interfaces contributing to the effective schema.
bool schema_complete = true
 Source discovery may omit computed members; live schemas are complete.

Detailed Description

One action a flow may run or call.

Member Function Documentation

◆ Port()

const PortInfo *absl_nullable a11::flow::catalogue::ActionInfo::Port ( std::string_view port_name,
syntax::PortDirection direction ) const
nodiscard

◆ PortNames()

std::vector< std::string > a11::flow::catalogue::ActionInfo::PortNames ( syntax::PortDirection direction) const
nodiscard

Member Data Documentation

◆ description

◆ headers

Header names the action declares, with what each is for.

◆ inputs

◆ name

◆ origin

Where the declaration is, when it was found by reading source.

◆ outputs

◆ schema_complete

Source discovery may omit computed members; live schemas are complete.

◆ schema_origins

All interfaces contributing to the effective schema.


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