Skip to content

sgns::sgprocessing::ProcessingResult

#include <processing_processor.hpp>

Public Functions

Name
ProcessingResult FromProcessOutput(const struct ProcessOutput & output)

Public Attributes

Name
std::vector< uint8_t > hash
std::shared_ptr< std::pair< std::vector< std::string >, std::vector< std::vector< char > > > > output_buffers
std::vector< std::string > output_locations
Output locations for each saved result (file paths, IPFS CIDs, URLs, etc.)
std::optional< ProcessingError > error
Structured per-stage failure detail (D-25/D-26). Empty/unset on success.

Public Functions Documentation

function FromProcessOutput

static ProcessingResult FromProcessOutput(
    const struct ProcessOutput & output
)

Migration adapter: convert new ProcessOutput to legacy ProcessingResult (D-10). This is a TEMPORARY adapter — removed before Phase 08 ships per D-10/D-12. Forward-declared to avoid circular dependency with ProcessingManager.hpp.

Public Attributes Documentation

variable hash

std::vector< uint8_t > hash;

variable output_buffers

std::shared_ptr< std::pair< std::vector< std::string >, std::vector< std::vector< char > > > > output_buffers;

variable output_locations

std::vector< std::string > output_locations;

Output locations for each saved result (file paths, IPFS CIDs, URLs, etc.)

variable error

std::optional< ProcessingError > error;

Structured per-stage failure detail (D-25/D-26). Empty/unset on success.


Updated on 2026-09-17 at 06:29:14 +0000