#include <UFSSwapLogParser.h>

Inheritance diagram for Fs::Ufs::UFSSwapLogParser:
Collaboration diagram for Fs::Ufs::UFSSwapLogParser:

Public Member Functions

 UFSSwapLogParser (FILE *fp)
 
virtual ~UFSSwapLogParser ()
 
virtual bool ReadRecord (StoreSwapLogData &swapData)=0
 
int SwapLogEntries ()
 
void Close ()
 

Static Public Member Functions

static UFSSwapLogParserGetUFSSwapLogParser (FILE *fp)
 

Public Attributes

FILE * log
 
int log_entries
 
int record_size
 

Detailed Description

Definition at line 19 of file UFSSwapLogParser.h.

Constructor & Destructor Documentation

◆ UFSSwapLogParser()

Fs::Ufs::UFSSwapLogParser::UFSSwapLogParser ( FILE *  fp)
inline

Definition at line 26 of file UFSSwapLogParser.h.

◆ ~UFSSwapLogParser()

virtual Fs::Ufs::UFSSwapLogParser::~UFSSwapLogParser ( )
inlinevirtual

Definition at line 28 of file UFSSwapLogParser.h.

References fp, GetUFSSwapLogParser(), ReadRecord(), and SwapLogEntries().

Member Function Documentation

◆ Close()

void Fs::Ufs::UFSSwapLogParser::Close ( )
inline

Definition at line 34 of file UFSSwapLogParser.h.

References NULL.

Referenced by Fs::Ufs::RebuildState::rebuildFromSwapLog().

◆ GetUFSSwapLogParser()

◆ ReadRecord()

virtual bool Fs::Ufs::UFSSwapLogParser::ReadRecord ( StoreSwapLogData swapData)
pure virtual

◆ SwapLogEntries()

int Fs::Ufs::UFSSwapLogParser::SwapLogEntries ( )

Definition at line 170 of file UFSSwapLogParser.cc.

References log, log_entries, and record_size.

Referenced by Fs::Ufs::RebuildState::rebuildStep(), and ~UFSSwapLogParser().

Member Data Documentation

◆ log

FILE* Fs::Ufs::UFSSwapLogParser::log

◆ log_entries

int Fs::Ufs::UFSSwapLogParser::log_entries

Definition at line 23 of file UFSSwapLogParser.h.

Referenced by SwapLogEntries().

◆ record_size

int Fs::Ufs::UFSSwapLogParser::record_size

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors