pstore2
Public Attributes | List of all members
pstore::trailer::body Struct Reference

Represents the portion of the trailer structure which is covered by the computed CRC value. More...

#include <file_header.hpp>

Collaboration diagram for pstore::trailer::body:
Collaboration graph
[legend]

Public Attributes

std::array< std::uint8_t, 8 > signature1 = default_signature1
 
std::atomic< std::uint32_t > generation {0}
 
std::uint32_t unused1 {0}
 
std::atomic< std::uint64_t > size {0}
 The number of bytes contained by this transaction. More...
 
std::atomic< std::uint64_t > time {0}
 The time at which the transaction was committed, in milliseconds since the epoch.
 
typed_address< trailerprev_generation = typed_address<trailer>::null ()
 A pointer to the previous generation. More...
 
index_records_array index_records
 
std::uint32_t unused2 {0}
 
std::uint32_t unused3 {0}
 

Detailed Description

Represents the portion of the trailer structure which is covered by the computed CRC value.

Member Data Documentation

◆ prev_generation

typed_address<trailer> pstore::trailer::body::prev_generation = typed_address<trailer>::null ()

A pointer to the previous generation.

This field forms a reverse linked list which allows a consumer to enumerate the generations contained within the store and to "sync" to a specific number.

◆ size

std::atomic<std::uint64_t> pstore::trailer::body::size {0}

The number of bytes contained by this transaction.

The value does not include the size of the footer record.


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