PoDoFo 0.9.20
PoDoFo::PdfDataContainer Class Referenceabstract

#include <PdfDataContainer.h>

Inheritance diagram for PoDoFo::PdfDataContainer:
PoDoFo::PdfDataProvider PoDoFo::PdfArray PoDoFo::PdfDictionary

Public Member Functions

const PdfObjectGetOwner () const
 
- Public Member Functions inherited from PoDoFo::PdfDataProvider
std::string ToString () const
 
virtual void Write (OutputStream &stream, PdfWriteFlags writeMode, const PdfStatefulEncrypt &encrypt, charbuff &buffer) const =0
 

Protected Member Functions

 PdfDataContainer ()
 
- Protected Member Functions inherited from PoDoFo::PdfDataProvider
 PdfDataProvider ()
 

Detailed Description

A PdfDataProvider object with a PdfObject owner, specialized in holding objects

Constructor & Destructor Documentation

◆ PdfDataContainer()

PdfDataContainer::PdfDataContainer ( )
protected

Create a new PdfDataOwnedType Can only be called by subclasses

Remarks
We don't define copy/move constructor as the the owner is not copied/movied

Member Function Documentation

◆ GetOwner()

const PdfObject * PoDoFo::PdfDataContainer::GetOwner ( ) const
inline
Returns
a pointer to a PdfObject that is the owner of this data type. Might be nullptr if the data type has no owner.