Action Engine
Loading...
Searching...
No Matches
act::NodeFragment Struct Reference

Detailed Description

ActionEngine node fragment.

This structure represents a fragment of a node in the ActionEngine format: a data chunk, the node ID, the sequence number of the chunk, and a flag indicating whether more fragments are expected.

#include <actionengine/data/types.h>

Public Attributes

std::string id
 
std::variant< Chunk, NodeRef > data = Chunk{}
 
std::optional< int32_t > seq
 
bool continued = false
 

Member Data Documentation

◆ continued

bool act::NodeFragment::continued = false

A flag indicating whether more fragments are expected.

◆ data

std::variant<Chunk, NodeRef> act::NodeFragment::data = Chunk{}

The data associated with the node fragment.

◆ id

std::string act::NodeFragment::id

The node ID for this fragment.

◆ seq

std::optional<int32_t> act::NodeFragment::seq

The chunk's order in the sequence. -1 means "undefined" or "not set".


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