ROSE 2.1.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Rose::BinaryAnalysis::Serialization::SerialFrame Class Reference

Description

Framed container for SerialIo records.

This class owns all raw I/O for the RBA container format and uses Boost binary archives to encode/decode record metadata. SerialIo interacts with this class using objectType/format/roseVersion/payloadBytes, and does not call ::read/::write directly.

Definition at line 140 of file SerialFrame.h.

#include <Rose/BinaryAnalysis/Serialization/SerialFrame.h>

Public Member Functions

void openForWrite (const boost::filesystem::path &fileName, ProgressCallback saveCB)
 
void openForRead (const boost::filesystem::path &fileName, ProgressCallback loadCB)
 
void close ()
 
void writeFileHeader ()
 
void readAndVerifyFileHeader ()
 
void writeRecord (const RecordHeader &header, const std::vector< char > &payload)
 
Record readRecord ()
 
void writeFrameRecord (const FrameRecord &frameRecord)
 
FrameRecord readFrameRecord ()
 

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