adtf_file_library  0.13.2
Public Attributes | List of all members
ifhd::v201_v301::FileHeader Struct Reference

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]
 

Detailed Description

The File header for dat-files.

Warning
!!! IMPORTANT !!! When changing header please change the Stream2FileHeader in IndexedFile!

Member Data Documentation

◆ continuous_offset

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)

◆ description

int8_t ifhd::v201_v301::FileHeader::description[1912]

common string description. This value is separated into a short and detailed description separated by '
'.

◆ file_id

uint32_t ifhd::v201_v301::FileHeader::file_id

identifier for every dat-File. intel cpu implementations uses "IFHD" motorola uses "DHFI" see also headerByteOrder

◆ first_chunk_offset

uint64_t ifhd::v201_v301::FileHeader::first_chunk_offset

the file offset of the first chunk (only needed for IndexedFile::m_nVersionIdWithHistory)

◆ header_byte_order

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!

◆ ring_buffer_end_offset

uint64_t ifhd::v201_v301::FileHeader::ring_buffer_end_offset

the end position withing the ring buffer section (only needed for IndexedFile::m_nVersionIdWithHistory)

◆ time_offset

uint64_t ifhd::v201_v301::FileHeader::time_offset

time offset for every time within the file is referred to (timestamp zero)

◆ version_id

uint32_t ifhd::v201_v301::FileHeader::version_id

format version of dat files, current version is IndexedFile::m_nVersionId or IndexedFile::m_nVersionIdWithHistory


The documentation for this struct was generated from the following file:

Copyright © CARIAD SE.
Generated on Mon Jun 10 2024 by doxygen 1.9.1
GIT Commit Hash: eb3af397a6b49ad6fcad9a60d8277d909b458b48