adtf_file_library
0.13.2
|
The File header for dat-files. More...
#include <indexedfile_types_v201_v301.h>
Public Attributes | |
uint32_t | file_id |
uint32_t | version_id |
uint32_t | flags |
flags ... not in use yet | |
uint32_t | extension_count |
amount of extension blocks | |
uint64_t | extension_offset |
file-offset to the begin of extension table block (absolute) | |
uint64_t | data_offset |
file-offset to the begin of data block (absolute) | |
uint64_t | data_size |
size of the data area block (in bytes) | |
uint64_t | chunk_count |
amount of chunks | |
uint64_t | max_chunk_size |
greatest user data size of chunk | |
uint64_t | duration |
timestamp of the last chunk | |
uint64_t | file_time |
creation time of file | |
uint8_t | header_byte_order |
uint64_t | time_offset |
uint8_t | patch_number |
patch number (not in use yet) | |
uint64_t | first_chunk_offset |
uint64_t | continuous_offset |
uint64_t | ring_buffer_end_offset |
int8_t | reserved [30] |
reserved bytes. currently not in use | |
int8_t | description [1912] |
The File header for dat-files.
uint64_t ifhd::v201_v301::FileHeader::continuous_offset |
the offset of the first chunk of the continuous section of the file (only needed for IndexedFile::m_nVersionIdWithHistory)
int8_t ifhd::v201_v301::FileHeader::description[1912] |
common string description. This value is separated into a short and detailed description separated by '
'.
uint32_t ifhd::v201_v301::FileHeader::file_id |
identifier for every dat-File. intel cpu implementations uses "IFHD" motorola uses "DHFI" see also headerByteOrder
uint64_t ifhd::v201_v301::FileHeader::first_chunk_offset |
the file offset of the first chunk (only needed for IndexedFile::m_nVersionIdWithHistory)
uint8_t ifhd::v201_v301::FileHeader::header_byte_order |
endianess of management structures (little or big endian), see also PLATFORM_BYTEORDER_UINT8. every single value within the structures (FileHeader, FileExtension, ChunkHeader ... ) are stored in this corresponding byteorder!
uint64_t ifhd::v201_v301::FileHeader::ring_buffer_end_offset |
the end position withing the ring buffer section (only needed for IndexedFile::m_nVersionIdWithHistory)
uint64_t ifhd::v201_v301::FileHeader::time_offset |
time offset for every time within the file is referred to (timestamp zero)
uint32_t ifhd::v201_v301::FileHeader::version_id |
format version of dat files, current version is IndexedFile::m_nVersionId or IndexedFile::m_nVersionIdWithHistory