96 std::unique_ptr<BLOCK_BASE>
ParseBlock(
bool& aEndOfObjectsMarker );
140 std::unique_ptr<BRD_DB>
Parse();
BLOCK_PARSER(FILE_STREAM &aStream, FMT_VER aVer, size_t aX27End=0)
std::unique_ptr< BLOCK_BASE > ParseBlock(bool &aEndOfObjectsMarker)
Parse one block from the stream, returning a BLOCK_BASE representing the raw data of the block.
const size_t m_x27_end
To parse an 0x27 block, we need to know where the end of the block is in the stream.
An Allegro database that represents a .brd file (amd presumably .dra)
Stream that reads primitive types from a memory buffer containing Allegro .brd (or ....
PROGRESS_REPORTER * m_progressReporter
void readObjects(BRD_DB &aDb)
std::unique_ptr< BRD_DB > Parse()
void EndAtUnknownBlock(bool aEndAtUnknownBlock)
When set to true, the parser will stop at the first unknown block, rather than throwing an error.
PARSER(FILE_STREAM &aStream, PROGRESS_REPORTER *aProgressReporter)
A progress reporter interface for use in multi-threaded environments.
FMT_VER
The format of an Allego file.