LibTIFF 4.7.2
TIFF library public API and implementation reference
Loading...
Searching...
No Matches
Data Fields
TIFFHeaderUnion Union Reference

Store either TIFF header layout in the library's in-memory state. More...

#include <tiffiop.h>

Collaboration diagram for TIFFHeaderUnion:
[legend]

Data Fields

TIFFHeaderCommon common
 Shared byte-order and version fields.
 
TIFFHeaderClassic classic
 Header when version is TIFF_VERSION_CLASSIC.
 
TIFFHeaderBig big
 Header when version is TIFF_VERSION_BIG.
 

Detailed Description

Store either TIFF header layout in the library's in-memory state.

The common version field selects the classic or big member. After decoding, multibyte numeric fields are in host byte order; the magic field still identifies the file's byte order. Members contain values, not owned pointers.

Definition at line 360 of file tiffiop.h.

Field Documentation

◆ big

TIFFHeaderBig TIFFHeaderUnion::big

Header when version is TIFF_VERSION_BIG.

Definition at line 367 of file tiffiop.h.

Referenced by TIFFClientOpenExt(), TIFFLinkDirectory(), TIFFNumberOfDirectories(), TIFFRewriteDirectorySec(), TIFFSetDirectory(), and TIFFUnlinkDirectory().

◆ classic

TIFFHeaderClassic TIFFHeaderUnion::classic

Header when version is TIFF_VERSION_CLASSIC.

Definition at line 365 of file tiffiop.h.

Referenced by TIFFLinkDirectory(), TIFFNumberOfDirectories(), TIFFRewriteDirectorySec(), TIFFSetDirectory(), and TIFFUnlinkDirectory().

◆ common

TIFFHeaderCommon TIFFHeaderUnion::common

Shared byte-order and version fields.

Definition at line 363 of file tiffiop.h.

Referenced by TIFFClientOpenExt(), and TIFFIsBigEndian().


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