Vanilla.PDF  2.0.0
Cross-platform toolkit for creating and modifying PDF documents
c_xref.h File Reference

This file contains class definitions for cross-reference tables, chained tables and entries. More...

Go to the source code of this file.

Enumerations

enum  XrefEntryType { XrefEntryType_Null = 0 , XrefEntryType_Free , XrefEntryType_Used , XrefEntryType_Compressed }
 Required for conversion to derived types. More...
 

Detailed Description

This file contains class definitions for cross-reference tables, chained tables and entries.

Enumeration Type Documentation

◆ XrefEntryType

Required for conversion to derived types.

Enumerator
XrefEntryType_Null 

This type is not actually used.

It represents undefined type only to distinguish from other types. When an entry is created, this is the default value to mark it uninitialized entry.

No function should return this value. If it does, it is a bug.

The reason it exists is that entry needs to have a default constructor. This is only entry type that have default constructor.

XrefEntryType_Free 

Represents free entry within cross-reference section.

See also
XrefFreeEntryHandle
XrefEntryType_Used 

Represents used entry within cross-reference section.

See also
XrefUsedEntryHandle
XrefEntryType_Compressed 

Represents compressed entry within cross-reference section.

See also
XrefCompressedEntryHandle