58 using Record = std::array<char, 1024>;
64 using BaseParser::open;
79 bool isValidFile()
const;
86 size_t readRecord(
int recordIndex,
void* buffer,
size_t size)
const;
92 size_t readFileRecord(
void* buffer,
size_t size)
const;
97 errc_t getFileRecord(
Record& fileRecord)
const;
103 errc_t getSummaryRecords(std::vector<Record>& summaryRecords)
const;
113 errc_t getFileRecord(
int& nd,
int& ni,
int& fward,
int& bward,
int& free)
const;
119 errc_t getComment(std::string& comment)
const;
124 errc_t getComment(std::vector<std::string>& comments)
const;
128 void printComment(std::FILE* fp=stdout)
const;
132 errc_t readSummaryRecords(
int fward,
int bward, std::vector<Record>& summaryRecords)
const;
137 bool isValidFile_=
false;
138 bool isSameEndian_=
false;