HoverRace
2.0
|
Standard HoverRace 1.x parcel format. More...
#include <ClassicRecordFile.h>
Public Member Functions | |
ClassicRecordFile () | |
virtual | ~ClassicRecordFile () |
bool | ApplyChecksum (const Util::OS::path_t &filename) override |
bool | BeginANewRecord () override |
bool | CreateForWrite (const Util::OS::path_t &filename, MR_UInt32 numRecords, const char *title=nullptr) override |
DWORD | GetAlignMode () override |
MR_UInt32 | GetNbRecords () const override |
void | Inspect (Util::InspectMapNode &node) const override |
bool | OpenForRead (const Util::OS::path_t &filename, bool validateChecksum=false) override |
bool | OpenForWrite (const Util::OS::path_t &filename) override |
void | SelectRecord (MR_UInt32 i) override |
ObjStreamPtr | StreamIn () override |
Open an object stream for reading at the current record. More... | |
ObjStreamPtr | StreamOut () override |
Open an object stream for writing at the current record. More... | |
Public Member Functions inherited from HoverRace::Parcel::RecordFile | |
RecordFile () | |
virtual | ~RecordFile () |
Public Member Functions inherited from HoverRace::Util::Inspectable | |
Inspectable () | |
virtual | ~Inspectable () |
Static Protected Member Functions | |
static DWORD | ComputeSum (const Util::OS::path_t &filename) |
Private Types | |
using | SUPER = RecordFile |
Private Attributes | |
bool | constructionMode |
MR_UInt32 | curRecord |
Util::OS::path_t | filename |
FILE * | fileStream |
ClassicRecordFileHeader * | header |
Standard HoverRace 1.x parcel format.
|
private |
HoverRace::Parcel::ClassicRecordFile::ClassicRecordFile | ( | ) |
|
virtual |
|
overridevirtual |
Implements HoverRace::Parcel::RecordFile.
|
overridevirtual |
Implements HoverRace::Parcel::RecordFile.
|
staticprotected |
|
overridevirtual |
Implements HoverRace::Parcel::RecordFile.
|
overridevirtual |
Implements HoverRace::Parcel::RecordFile.
|
overridevirtual |
Implements HoverRace::Parcel::RecordFile.
|
overridevirtual |
Implements HoverRace::Util::Inspectable.
|
overridevirtual |
Implements HoverRace::Parcel::RecordFile.
|
overridevirtual |
Implements HoverRace::Parcel::RecordFile.
|
overridevirtual |
Implements HoverRace::Parcel::RecordFile.
|
overridevirtual |
Open an object stream for reading at the current record.
It is the caller's responsibility to ensure that only one stream (input or output) exists at a time.
NULL
). Implements HoverRace::Parcel::RecordFile.
|
overridevirtual |
Open an object stream for writing at the current record.
It is the caller's responsibility to ensure that only one stream (input or output) exists at a time.
NULL
). Implements HoverRace::Parcel::RecordFile.
|
private |
|
private |
|
private |
|
private |
|
private |