BBLogFile(const char *filename, bool do_sanity_check)
Constructor.
void print_info(const char *line_prefix="", FILE *outf=stdout)
Print file meta info.
void set_num_entries(size_t num_entries)
Set number of entries.
void set_interface(fawkes::Interface *interface)
Set the internal interface.
unsigned int remaining_entries()
Get number of remaining entries.
uint32_t file_version() const
Get file version.
const char * interface_id() const
Get interface ID.
fawkes::Interface * interface()
Get interface instance.
static void repair_file(const char *filename)
Repair file.
const char * scenario() const
Get scenario identifier.
bool has_next()
Check if another entry is available.
void print_entry(FILE *outf=stdout)
Print an entry.
void read_index(unsigned int index)
Read entry at particular index.
bool is_big_endian() const
Check if file is big endian.
uint32_t num_data_items() const
Get number of data items in file.
fawkes::Time & start_time()
Get start time.
unsigned char * interface_hash() const
Get interface hash.
const char * interface_type() const
Get interface type.
const fawkes::Time & entry_offset() const
Get current entry offset.