Thrill  0.1
MultiplexerHeader Class Reference

Detailed Description

Definition at line 36 of file multiplexer_header.hpp.

+ Inheritance diagram for MultiplexerHeader:

#include <multiplexer_header.hpp>

Public Member Functions

 MultiplexerHeader ()=default
 
 MultiplexerHeader (MagicByte m, const PinnedBlock &b)
 

Public Attributes

uint32_t first_item: 30
 
uint32_t is_last_block: 1
 is last block piggybacked indicator More...
 
MagicByte magic = MagicByte::Invalid
 
uint32_t num_items = 0
 
uint32_t size = 0
 
uint32_t typecode_verify: 1
 typecode self verify More...
 

Static Public Attributes

static constexpr size_t header_size
 
static constexpr bool self_verify = common::g_self_verify
 
static constexpr size_t total_size
 

Constructor & Destructor Documentation

◆ MultiplexerHeader() [1/2]

MultiplexerHeader ( )
default

◆ MultiplexerHeader() [2/2]

MultiplexerHeader ( MagicByte  m,
const PinnedBlock b 
)
inlineexplicit

Definition at line 53 of file multiplexer_header.hpp.

References MultiplexerHeader::typecode_verify.

Member Data Documentation

◆ first_item

◆ header_size

constexpr size_t header_size
static
Initial value:
=
sizeof(MagicByte) + 3 * sizeof(uint32_t)

Definition at line 63 of file multiplexer_header.hpp.

◆ is_last_block

uint32_t is_last_block

is last block piggybacked indicator

Definition at line 49 of file multiplexer_header.hpp.

Referenced by Multiplexer::OnCatStreamBlock(), and Multiplexer::OnMixStreamBlock().

◆ magic

◆ num_items

◆ self_verify

constexpr bool self_verify = common::g_self_verify
static

Definition at line 39 of file multiplexer_header.hpp.

◆ size

◆ total_size

◆ typecode_verify


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