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

file storage adpater for ArchData More...

#include <PersistentFastCheckpointer.hpp>

Public Member Functions

 FileWriteAdapter (std::ostream &out)
 
void dump (std::ostream &o) const
 
uint32_t getSize () const
 
void beginLine (ArchData::line_idx_type idx)
 
void writeLineBytes (const char *data, size_t size)
 
void endArchData ()
 
bool good () const
 

Detailed Description

file storage adpater for ArchData

See also
DeltaCheckpoint

Definition at line 35 of file PersistentFastCheckpointer.hpp.

Constructor & Destructor Documentation

◆ FileWriteAdapter()

sparta::serialization::checkpoint::PersistentFastCheckpointer::FileWriteAdapter::FileWriteAdapter ( std::ostream &  out)
inline

Definition at line 40 of file PersistentFastCheckpointer.hpp.

Member Function Documentation

◆ beginLine()

void sparta::serialization::checkpoint::PersistentFastCheckpointer::FileWriteAdapter::beginLine ( ArchData::line_idx_type  idx)
inline

Definition at line 53 of file PersistentFastCheckpointer.hpp.

◆ dump()

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

Definition at line 44 of file PersistentFastCheckpointer.hpp.

◆ endArchData()

void sparta::serialization::checkpoint::PersistentFastCheckpointer::FileWriteAdapter::endArchData ( )
inline

Definition at line 64 of file PersistentFastCheckpointer.hpp.

◆ getSize()

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

Definition at line 48 of file PersistentFastCheckpointer.hpp.

◆ good()

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

Definition at line 71 of file PersistentFastCheckpointer.hpp.

◆ writeLineBytes()

void sparta::serialization::checkpoint::PersistentFastCheckpointer::FileWriteAdapter::writeLineBytes ( const char *  data,
size_t  size 
)
inline

Definition at line 60 of file PersistentFastCheckpointer.hpp.


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