|
LibTIFF 4.7.2
TIFF library public API and implementation reference
|
Describe a borrowed schema or owned compatibility batch. More...
#include <tif_dir.h>
Data Fields | |
| TIFFFieldArrayType | type |
| Namespace/category of the schema. | |
| uint32_t | allocated_size |
| Descriptor capacity when owned; zero identifies a static schema. | |
| uint32_t | count |
| Number of valid descriptors in fields. | |
| TIFFField * | fields |
| Descriptor array; static/borrowed or owned according to allocated_size and creator. | |
Describe a borrowed schema or owned compatibility batch.
Built-in arrays have static fields and zero allocated_size. Compatibility batches own their descriptor storage but borrow names; TIFFDefaultDirectory() (on each directory setup) and handle cleanup release the batch allocations, so legacy descriptors must be re-registered, typically from a tag extender, for each directory. Registration itself stores pointers into fields, so descriptor storage must outlive every lookup/value referring to it.
| uint32_t _TIFFFieldArray::allocated_size |
Descriptor capacity when owned; zero identifies a static schema.
Definition at line 970 of file tif_dir.h.
Referenced by TIFFCleanup(), TIFFDefaultDirectory(), and TIFFMergeFieldInfo().
| uint32_t _TIFFFieldArray::count |
Number of valid descriptors in fields.
Definition at line 972 of file tif_dir.h.
Referenced by _TIFFSetupFields(), TIFFMergeFieldInfo(), and TIFFReadCustomDirectory().
| TIFFField* _TIFFFieldArray::fields |
Descriptor array; static/borrowed or owned according to allocated_size and creator.
Definition at line 978 of file tif_dir.h.
Referenced by _TIFFSetupFields(), TIFFCleanup(), TIFFDefaultDirectory(), TIFFMergeFieldInfo(), and TIFFReadCustomDirectory().
| TIFFFieldArrayType _TIFFFieldArray::type |
Namespace/category of the schema.
Definition at line 964 of file tif_dir.h.
Referenced by TIFFMergeFieldInfo().