FastMM documentation
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
Loading...
Searching...
No Matches
fastmm::bt::ReplayResult Struct Reference

#include <fastmm/backtest/replay.hpp>

Public Member Functions

bool ok () const noexcept
 

Public Attributes

std::string strategy
 
std::string outbound_sha256
 what the replayed engine sent
 
std::string recorded_sha256
 the journal's Out* records
 
std::uint64_t outbound_messages = 0
 
std::uint64_t recorded_messages = 0
 
std::uint64_t events = 0
 inbound events replayed
 
std::int64_t first_mismatch = -1
 index of the first differing message (verify only)
 
std::string expected_message
 summaries at first_mismatch ("(none)" past the end)
 
std::string actual_message
 
bool session_restored = false
 the header's session settings were applied
 
bool incomplete = false
 the journal has no trailer or a damaged tail block
 

Member Function Documentation

◆ ok()

bool fastmm::bt::ReplayResult::ok ( ) const
inlinenoexcept

Member Data Documentation

◆ strategy

std::string fastmm::bt::ReplayResult::strategy

◆ outbound_sha256

std::string fastmm::bt::ReplayResult::outbound_sha256

what the replayed engine sent

◆ recorded_sha256

std::string fastmm::bt::ReplayResult::recorded_sha256

the journal's Out* records

◆ outbound_messages

std::uint64_t fastmm::bt::ReplayResult::outbound_messages = 0

◆ recorded_messages

std::uint64_t fastmm::bt::ReplayResult::recorded_messages = 0

◆ events

std::uint64_t fastmm::bt::ReplayResult::events = 0

inbound events replayed

◆ first_mismatch

std::int64_t fastmm::bt::ReplayResult::first_mismatch = -1

index of the first differing message (verify only)

◆ expected_message

std::string fastmm::bt::ReplayResult::expected_message

summaries at first_mismatch ("(none)" past the end)

◆ actual_message

std::string fastmm::bt::ReplayResult::actual_message

◆ session_restored

bool fastmm::bt::ReplayResult::session_restored = false

the header's session settings were applied

◆ incomplete

bool fastmm::bt::ReplayResult::incomplete = false

the journal has no trailer or a damaged tail block