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

Store one custom field value and its descriptor. More...

#include <tif_dir.h>

Collaboration diagram for TIFFTagValue:
[legend]

Data Fields

const TIFFField * info
 Borrowed live descriptor; must outlive this custom value.
 
int count
 Number of internally stored elements; after a partial setter failure it may be zero or a nonzero count with value NULL, so check value before use.
 
void * value
 Owned custom-value allocation, or NULL after clearing/failure.
 

Detailed Description

Store one custom field value and its descriptor.

info is borrowed from the registered field table. The directory owns value and frees it on replacement, unset, or directory cleanup. count is an element count in the internal representation, not a file byte extent. Partial setter failure can leave an entry with a NULL value.

Definition at line 45 of file tif_dir.h.

Field Documentation

◆ count

int TIFFTagValue::count

Number of internally stored elements; after a partial setter failure it may be zero or a nonzero count with value NULL, so check value before use.

Definition at line 54 of file tif_dir.h.

Referenced by _TIFFVGetField(), _TIFFVSetField(), and TIFFWriteDirectorySec().

◆ info

const TIFFField* TIFFTagValue::info

Borrowed live descriptor; must outlive this custom value.

Definition at line 48 of file tif_dir.h.

Referenced by _TIFFVGetField(), _TIFFVSetField(), TIFFGetTagListEntry(), TIFFUnsetField(), and TIFFWriteDirectorySec().

◆ value

void* TIFFTagValue::value

Owned custom-value allocation, or NULL after clearing/failure.

Definition at line 56 of file tif_dir.h.

Referenced by _TIFFVGetField(), _TIFFVSetField(), TIFFFreeDirectory(), TIFFUnsetField(), and TIFFWriteDirectorySec().


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