Skip to main content

NodeContractDefinition Struct

Bundle of port and field specs that fully describes a Node's contract. More...

Declaration

struct simaai::neat::NodeContractDefinition { ... }

Included Headers

Public Member Attributes Index

std::stringnode_kind

Node kind label (matches Node::kind()). More...

std::stringplugin_kind

Backing plugin/element kind (for diagnostics). More...

std::vector< ContractPortSpec >inputs

Per-input-port contracts. More...

std::vector< ContractPortSpec >outputs

Per-output-port contracts. More...

std::vector< ContractFieldSpec >fields

Per-field contracts. More...

Description

Bundle of port and field specs that fully describes a Node's contract.

Returned by NodeContractProvider::contract_definition() and consumed by the Builder during contract negotiation.

See Also

NodeContractProvider

Definition at line 90 of file NodeContractDefinition.h.

Public Member Attributes

fields

std::vector<ContractFieldSpec> simaai::neat::NodeContractDefinition::fields

Per-field contracts.

Definition at line 95 of file NodeContractDefinition.h.

95 std::vector<ContractFieldSpec> fields;

inputs

std::vector<ContractPortSpec> simaai::neat::NodeContractDefinition::inputs

Per-input-port contracts.

Definition at line 93 of file NodeContractDefinition.h.

93 std::vector<ContractPortSpec> inputs;

node_kind

std::string simaai::neat::NodeContractDefinition::node_kind

Node kind label (matches Node::kind()).

Definition at line 91 of file NodeContractDefinition.h.

91 std::string node_kind;

outputs

std::vector<ContractPortSpec> simaai::neat::NodeContractDefinition::outputs

Per-output-port contracts.

Definition at line 94 of file NodeContractDefinition.h.

94 std::vector<ContractPortSpec> outputs;

plugin_kind

std::string simaai::neat::NodeContractDefinition::plugin_kind

Backing plugin/element kind (for diagnostics).

Definition at line 92 of file NodeContractDefinition.h.

92 std::string plugin_kind;

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.