PineForge v0.13.1-379-g9b50973
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::native_run_spec_v3::NativeRunSpecValidation Struct Reference

Allocation-free facts suitable for the host's durable failure variant. More...

#include <native_run_spec.hpp>

Public Member Functions

constexpr bool ok () const noexcept
 
constexpr operator bool () const noexcept
 

Data Fields

NativeRunSpecError error = NativeRunSpecError::None
 
NativeRunSpecField field = NativeRunSpecField::None
 

Detailed Description

Allocation-free facts suitable for the host's durable failure variant.

Render text at the presentation boundary, never store exception.what().

Definition at line 735 of file native_run_spec.hpp.

Member Function Documentation

◆ ok()

bool pineforge::native_run_spec_v3::NativeRunSpecValidation::ok ( ) const
inlineconstexprnoexcept

Definition at line 739 of file native_run_spec.hpp.

References error, and pineforge::native_run_spec_v3::None.

Referenced by operator bool().

◆ operator bool()

pineforge::native_run_spec_v3::NativeRunSpecValidation::operator bool ( ) const
inlineexplicitconstexprnoexcept

Definition at line 740 of file native_run_spec.hpp.

References ok().

Field Documentation

◆ error

NativeRunSpecError pineforge::native_run_spec_v3::NativeRunSpecValidation::error = NativeRunSpecError::None

Definition at line 736 of file native_run_spec.hpp.

Referenced by ok().

◆ field

NativeRunSpecField pineforge::native_run_spec_v3::NativeRunSpecValidation::field = NativeRunSpecField::None

Definition at line 737 of file native_run_spec.hpp.


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