#include <StoreSwapLogData.h>

Collaboration diagram for StoreSwapLogHeader:

Public Member Functions

 StoreSwapLogHeader ()
 
bool sane () const
 consistency self-check: whether the data appears to make sense More...
 
size_t gapSize () const
 number of bytes after the log header before the first log entry More...
 

Public Attributes

uint8_t op
 
SwapChecksum24 checksum
 
int32_t version
 
int32_t record_size
 

Detailed Description

Swap log starts with this binary structure.

Definition at line 181 of file StoreSwapLogData.h.

Constructor & Destructor Documentation

StoreSwapLogHeader::StoreSwapLogHeader ( )

Definition at line 83 of file StoreSwapLogData.cc.

References checksum, record_size, SwapChecksum24::set(), and version.

Member Function Documentation

size_t StoreSwapLogHeader::gapSize ( ) const
bool StoreSwapLogHeader::sane ( ) const

Member Data Documentation

SwapChecksum24 StoreSwapLogHeader::checksum

Definition at line 194 of file StoreSwapLogData.h.

Referenced by sane(), and StoreSwapLogHeader().

uint8_t StoreSwapLogHeader::op

Definition at line 193 of file StoreSwapLogData.h.

Referenced by Fs::Ufs::UFSSwapLogParser::GetUFSSwapLogParser(), and sane().

int32_t StoreSwapLogHeader::version

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors