libaaruformat 1.0
Aaru Data Preservation Suite - Format Library
Loading...
Searching...
No Matches
FluxCaptureKey Struct Reference

Key structure for flux capture lookup map. More...

#include <aaruformat/structs/flux.h>

Data Fields

uint32_t head
 Head number identifying the capture location.
uint16_t track
 Track number identifying the capture location.
uint8_t subtrack
 Subtrack number identifying the capture location.
uint32_t captureIndex
 Capture index, allowing multiple captures for the same location.

Detailed Description

Key structure for flux capture lookup map.

This structure uniquely identifies a flux capture within an image. It is used as the key in the internal hash table (flux_map) that provides O(1) lookup of flux captures by their identifier tuple.

The structure matches the first four fields of FluxEntry (head, track, subtrack, captureIndex).

Note
This structure is used internally for efficient lookup and is not part of the public API.
The combination of (head, track, subtrack, captureIndex) must be unique within an image.

Definition at line 296 of file flux.h.

Field Documentation

◆ captureIndex

uint32_t FluxCaptureKey::captureIndex

Capture index, allowing multiple captures for the same location.

Definition at line 301 of file flux.h.

Referenced by find_flux_entry_by_key().

◆ head

uint32_t FluxCaptureKey::head

Head number identifying the capture location.

Definition at line 298 of file flux.h.

Referenced by find_flux_entry_by_key().

◆ subtrack

uint8_t FluxCaptureKey::subtrack

Subtrack number identifying the capture location.

Definition at line 300 of file flux.h.

Referenced by find_flux_entry_by_key().

◆ track

uint16_t FluxCaptureKey::track

Track number identifying the capture location.

Definition at line 299 of file flux.h.

Referenced by find_flux_entry_by_key().


The documentation for this struct was generated from the following file:
  • include/aaruformat/structs/flux.h