Signet Forge 0.1.0
C++20 Parquet library with AI-native extensions
DEMO
Loading...
Searching...
No Matches
signet::forge::ComplianceReport Struct Reference

The generated compliance report returned to the caller. More...

#include <compliance_types.hpp>

Public Attributes

ComplianceStandard standard = ComplianceStandard::MIFID2_RTS24
 Which regulation this report satisfies.
 
ReportFormat format = ReportFormat::JSON
 Serialization format of content.
 
std::string content
 The report body — JSON object, NDJSON lines, or CSV text.
 
std::string report_id
 Unique identifier for this report (auto-generated if not supplied).
 
std::string generated_at_iso
 UTC ISO 8601 timestamp at which the report was generated.
 
int64_t generated_at_ns = 0
 Nanosecond timestamp at which the report was generated.
 
int64_t total_records = 0
 Number of records included in this report.
 
bool chain_verified = false
 True if all log files' hash chains verified successfully.
 
std::string chain_id
 Chain ID from the first log file processed.
 
std::string period_start_iso
 ISO 8601 representation of opts.start_ns.
 
std::string period_end_iso
 ISO 8601 representation of opts.end_ns (or "open" if unbounded).
 
bool incomplete_data = false
 H-20: True if one or more log file batches could not be read.
 
std::vector< std::string > read_errors
 H-20: Accumulated read errors from log files whose records could not be read.
 

Detailed Description

The generated compliance report returned to the caller.

Contains the serialized report body (JSON/NDJSON/CSV), metadata about when it was generated, and chain verification status.

Definition at line 140 of file compliance_types.hpp.

Member Data Documentation

◆ chain_id

std::string signet::forge::ComplianceReport::chain_id

Chain ID from the first log file processed.

Definition at line 168 of file compliance_types.hpp.

◆ chain_verified

bool signet::forge::ComplianceReport::chain_verified = false

True if all log files' hash chains verified successfully.

False if any file failed verification or verification was skipped (opts.verify_chain == false).

Definition at line 165 of file compliance_types.hpp.

◆ content

std::string signet::forge::ComplianceReport::content

The report body — JSON object, NDJSON lines, or CSV text.

Definition at line 148 of file compliance_types.hpp.

◆ format

ReportFormat signet::forge::ComplianceReport::format = ReportFormat::JSON

Serialization format of content.

Definition at line 145 of file compliance_types.hpp.

◆ generated_at_iso

std::string signet::forge::ComplianceReport::generated_at_iso

UTC ISO 8601 timestamp at which the report was generated.

Definition at line 154 of file compliance_types.hpp.

◆ generated_at_ns

int64_t signet::forge::ComplianceReport::generated_at_ns = 0

Nanosecond timestamp at which the report was generated.

Definition at line 157 of file compliance_types.hpp.

◆ incomplete_data

bool signet::forge::ComplianceReport::incomplete_data = false

H-20: True if one or more log file batches could not be read.

When true, the report may contain incomplete data.

Definition at line 178 of file compliance_types.hpp.

◆ period_end_iso

std::string signet::forge::ComplianceReport::period_end_iso

ISO 8601 representation of opts.end_ns (or "open" if unbounded).

Definition at line 174 of file compliance_types.hpp.

◆ period_start_iso

std::string signet::forge::ComplianceReport::period_start_iso

ISO 8601 representation of opts.start_ns.

Definition at line 171 of file compliance_types.hpp.

◆ read_errors

std::vector<std::string> signet::forge::ComplianceReport::read_errors

H-20: Accumulated read errors from log files whose records could not be read.

Definition at line 181 of file compliance_types.hpp.

◆ report_id

std::string signet::forge::ComplianceReport::report_id

Unique identifier for this report (auto-generated if not supplied).

Definition at line 151 of file compliance_types.hpp.

◆ standard

ComplianceStandard signet::forge::ComplianceReport::standard = ComplianceStandard::MIFID2_RTS24

Which regulation this report satisfies.

Definition at line 142 of file compliance_types.hpp.

◆ total_records

int64_t signet::forge::ComplianceReport::total_records = 0

Number of records included in this report.

Definition at line 160 of file compliance_types.hpp.


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