PoDoFo 0.9.6
PoDoFo::PdfObjectStreamParserObject Class Reference

#include <PdfObjectStreamParserObject.h>

Public Member Functions

 PdfObjectStreamParserObject (PdfParserObject *pParser, PdfVecObjects *pVecObjects, const PdfRefCountedBuffer &rBuffer)

Detailed Description

A utility class for PdfParser that can parse an object stream object.

It is mainly here to make PdfParser more modular.

Constructor & Destructor Documentation

◆ PdfObjectStreamParserObject()

PoDoFo::PdfObjectStreamParserObject::PdfObjectStreamParserObject ( PdfParserObject * pParser,
PdfVecObjects * pVecObjects,
const PdfRefCountedBuffer & rBuffer )

Create a new PdfObjectStreamParserObject from an existing PdfParserObject. The PdfParserObject will be removed and deleted. All objects from the object stream will be read into memory.

Parameters
pParserPdfParserObject for an object stream
pVecObjectsadd loaded objects to this vector of objects
rBufferuse this allocated buffer for caching