NDEVR
API Documentation
BinaryFileTableInfo

Extended file table information for reading and writing NDV binary files. More...

Inheritance diagram for BinaryFileTableInfo:
[legend]
Collaboration diagram for BinaryFileTableInfo:
[legend]

Public Member Functions

 BinaryFileTableInfo (BinaryFile &file)
 Constructs a BinaryFileTableInfo with default header values.
 BinaryFileTableInfo (BinaryFile &file, NDVHeader &header)
 Constructs a BinaryFileTableInfo from an existing NDVHeader.

Public Attributes

Dictionary< StringAllocatingView, StringAllocatingViewaliases
 Maps column name aliases to their canonical names during serialization.
Dictionary< TableColumn *, BinaryCompressionObject * > compression_objects
 Maps table columns to their associated compression objects.
Set< StringAllocatingViewexclusion_list
 Set of column names to exclude from reading or writing.
BinaryFilefile
 Reference to the BinaryFile being read or written.
Buffer< uint08scene_locations
 Byte offsets for each scene within the file.
Public Attributes inherited from NDVHeader
uint08 checksum = Constant<uint08>::Invalid
 Checksum for file integrity validation (bytes 32-40). Invalid if not computed.
uint08 encryption_data = Constant<uint08>::Invalid
 Encryption metadata for the file (bytes 24-32). Invalid if unencrypted.
Bounds< 1, uint08file_icon_bounds = Bounds<1, uint08>(0U, 0U)
 Byte range of file icon data in the file.
Bounds< 1, uint08file_info_bounds = Bounds<1, uint08>(0U, 0U)
 Byte range of file info metadata in the file.
Bounds< 1, uint08log_bounds = Bounds<1, uint08>(0U, 0U)
 Byte range of log data in the file.
Bounds< 1, uint08resource_bounds = Bounds<1, uint08>(0U, 0U)
 Byte range of resource data in the file.
Bounds< 1, uint08scene_bounds = Bounds<1, uint08>(0U, 0U)
 Byte range of scene data in the file.
Bounds< 1, uint08string_bounds = Bounds<1, uint08>(0U, 0U)
 Byte range of all string data in the file (bytes 40-56).
bool use_large_compression = false
 Whether to use large-block compression for file data.
Bounds< 1, uint08uuid_bounds = Bounds<1, uint08>(0U, 0U)
 Byte range of model UUID data in the file (bytes 56-72).
uint08 version_compat_number = 1763087346
 The oldest version that can read this file (bytes 16-24).
uint08 version_number = ndv_current_version_number
 The file format version number (bytes 8-16).

Detailed Description

Extended file table information for reading and writing NDV binary files.

Inherits the NDVHeader and adds runtime state needed during serialization, including column name aliases, an exclusion list, compression objects, and scene location offsets.

Definition at line 48 of file BinaryFileTableInfo.h.

Constructor & Destructor Documentation

◆ BinaryFileTableInfo() [1/2]

BinaryFileTableInfo::BinaryFileTableInfo ( BinaryFile & file)
inline

Constructs a BinaryFileTableInfo with default header values.

Parameters
[in]fileThe BinaryFile this table info is associated with.

Definition at line 52 of file BinaryFileTableInfo.h.

References file.

◆ BinaryFileTableInfo() [2/2]

BinaryFileTableInfo::BinaryFileTableInfo ( BinaryFile & file,
NDVHeader & header )
inline

Constructs a BinaryFileTableInfo from an existing NDVHeader.

Parameters
[in]fileThe BinaryFile this table info is associated with.
[in]headerThe NDVHeader to copy version, bounds, and checksum data from.

Definition at line 59 of file BinaryFileTableInfo.h.

References file.


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