48 using Record = std::array<char, 1024>;
54 using BaseParser::open;
69 bool isValidFile()
const;
76 size_t readRecord(
int recordIndex,
void* buffer,
size_t size)
const;
82 size_t readFileRecord(
void* buffer,
size_t size)
const;
87 errc_t getFileRecord(
Record& fileRecord)
const;
93 errc_t getSummaryRecords(std::vector<Record>& summaryRecords)
const;
103 errc_t getFileRecord(
int& nd,
int& ni,
int& fward,
int& bward,
int& free)
const;
109 errc_t getComment(std::string& comment)
const;
114 errc_t getComment(std::vector<std::string>& comments)
const;
118 void printComment(std::FILE* fp=stdout)
const;
122 errc_t readSummaryRecords(
int fward,
int bward, std::vector<Record>& summaryRecords)
const;
127 bool isValidFile_=
false;
128 bool isSameEndian_=
false;