8#include "PdfBaseDataTypes.h"
64 bool IsIndirect()
const;
94 struct hash<
PoDoFo::PdfReference>
98 return ref.ObjectNumber() ^ (ref.GenerationNumber() << 16);
An interface for writing blocks of data to a data source.
Definition OutputStream.h:15
A class to inherit for classes that are stored as union members in a PdfVariant.
Definition PdfBaseDataTypes.h:18
An helper class to inherit to provide common serialization methods.
Definition PdfBaseDataTypes.h:36
A reference is a pointer to a object in the PDF file of the form "4 0 R", where 4 is the object numbe...
Definition PdfReference.h:20
PdfReference(const PdfReference &rhs)=default
Create a copy of an existing PdfReference.
void SetObjectNumber(uint32_t o)
Set the object number of this object.
Definition PdfReference.h:69
PdfReference & operator=(const PdfReference &rhs)=default
Assign the value of another object to this PdfReference.
void SetGenerationNumber(const uint16_t g)
Set the generation number of this object.
Definition PdfReference.h:77
uint16_t GenerationNumber() const
Get the generation number.
Definition PdfReference.h:81
uint32_t ObjectNumber() const
Get the object number.
Definition PdfReference.h:73
Convenient type for char array storage and/or buffer with std::string compatibility.
Definition basetypes.h:30
All classes, functions, types and enums of PoDoFo are members of these namespace.
Definition basetypes.h:13
PdfWriteFlags
Specify additional options for writing the PDF.
Definition PdfDeclarations.h:136