The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta::serialization::checkpoint::PersistentFastCheckpointer::FileReadAdapter Class Reference

file storage adpater for ArchData More...

#include <PersistentFastCheckpointer.hpp>

Public Member Functions

 FileReadAdapter (std::istream &in)
 
void dump (std::ostream &o) const
 
uint32_t getSize () const
 
void prepareForLoad ()
 
bool good () const
 
ArchData::line_idx_type getNextRestoreLine ()
 
void copyLineBytes (char *buf, uint32_t size)
 

Detailed Description

file storage adpater for ArchData

See also
DeltaCheckpoint

Definition at line 80 of file PersistentFastCheckpointer.hpp.

Constructor & Destructor Documentation

◆ FileReadAdapter()

sparta::serialization::checkpoint::PersistentFastCheckpointer::FileReadAdapter::FileReadAdapter ( std::istream &  in)
inline

Definition at line 85 of file PersistentFastCheckpointer.hpp.

Member Function Documentation

◆ copyLineBytes()

void sparta::serialization::checkpoint::PersistentFastCheckpointer::FileReadAdapter::copyLineBytes ( char *  buf,
uint32_t  size 
)
inline

Definition at line 123 of file PersistentFastCheckpointer.hpp.

◆ dump()

void sparta::serialization::checkpoint::PersistentFastCheckpointer::FileReadAdapter::dump ( std::ostream &  o) const
inline

Definition at line 89 of file PersistentFastCheckpointer.hpp.

◆ getNextRestoreLine()

ArchData::line_idx_type sparta::serialization::checkpoint::PersistentFastCheckpointer::FileReadAdapter::getNextRestoreLine ( )
inline

Definition at line 106 of file PersistentFastCheckpointer.hpp.

◆ getSize()

uint32_t sparta::serialization::checkpoint::PersistentFastCheckpointer::FileReadAdapter::getSize ( ) const
inline

Definition at line 93 of file PersistentFastCheckpointer.hpp.

◆ good()

bool sparta::serialization::checkpoint::PersistentFastCheckpointer::FileReadAdapter::good ( ) const
inline

Definition at line 102 of file PersistentFastCheckpointer.hpp.

◆ prepareForLoad()

void sparta::serialization::checkpoint::PersistentFastCheckpointer::FileReadAdapter::prepareForLoad ( )
inline

Definition at line 98 of file PersistentFastCheckpointer.hpp.


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