← Documentation
ADS-IDAC Engine 5.0.0
adsidac::RestartLayout Struct Reference

Byte offsets of the structural landmarks in a restart buffer. An offset is meaningful only when its have_* flag is true. More...

#include <RestartTrim.h>

Public Attributes

std::size_t header_end = 0
 end of header + plot-id block = start of first dump More...
 
std::size_t base = 0
 start of the first COMPLETE restart dump More...
 
std::size_t base_end = 0
 one past it (start of the next dump, or the buffer size) More...
 
std::size_t target = 0
 start of the first dump whose ncount equals want More...
 
std::size_t target_end = 0
 one past it (start of the next dump, or the buffer size) More...
 
bool have_header = false
 at least one dump was found More...
 
bool have_base = false
 a complete restart dump was found More...
 
bool have_target = false
 a dump with ncount == want was found More...
 

Detailed Description

Byte offsets of the structural landmarks in a restart buffer. An offset is meaningful only when its have_* flag is true.

Definition at line 50 of file RestartTrim.h.

Member Data Documentation

◆ base

std::size_t adsidac::RestartLayout::base = 0

start of the first COMPLETE restart dump

Definition at line 52 of file RestartTrim.h.

Referenced by adsidac::extract_header_and_base(), adsidac::extract_restart_record(), and adsidac::scan_restart().

◆ base_end

std::size_t adsidac::RestartLayout::base_end = 0

one past it (start of the next dump, or the buffer size)

Definition at line 53 of file RestartTrim.h.

Referenced by adsidac::extract_header_and_base(), adsidac::extract_restart_record(), and adsidac::scan_restart().

◆ have_base

bool adsidac::RestartLayout::have_base = false

a complete restart dump was found

Definition at line 57 of file RestartTrim.h.

Referenced by adsidac::extract_header_and_base(), adsidac::extract_restart_record(), adsidac::has_complete_restart(), and adsidac::scan_restart().

◆ have_header

bool adsidac::RestartLayout::have_header = false

◆ have_target

bool adsidac::RestartLayout::have_target = false

a dump with ncount == want was found

Definition at line 58 of file RestartTrim.h.

Referenced by adsidac::extract_record_no_base(), adsidac::extract_restart_record(), and adsidac::scan_restart().

◆ header_end

std::size_t adsidac::RestartLayout::header_end = 0

end of header + plot-id block = start of first dump

Definition at line 51 of file RestartTrim.h.

Referenced by adsidac::extract_header_and_base(), adsidac::extract_record_no_base(), adsidac::extract_restart_record(), adsidac::scan_restart(), and adsidac::splice_base().

◆ target

std::size_t adsidac::RestartLayout::target = 0

start of the first dump whose ncount equals want

Definition at line 54 of file RestartTrim.h.

Referenced by adsidac::extract_record_no_base(), adsidac::extract_restart_record(), and adsidac::scan_restart().

◆ target_end

std::size_t adsidac::RestartLayout::target_end = 0

one past it (start of the next dump, or the buffer size)

Definition at line 55 of file RestartTrim.h.

Referenced by adsidac::extract_record_no_base(), adsidac::extract_restart_record(), and adsidac::scan_restart().


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