Ipelib
Public Member Functions | Protected Attributes | List of all members
ipe::PdfResourceBase Class Referenceabstract

#include <iperesources.h>

Inherited by ipe::PdfFileResources, and ipe::PdfResources.

Public Member Functions

 PdfResourceBase ()
 
virtual ~PdfResourceBase ()
 
virtual const PdfObjobject (int num) const noexcept=0
 
const PdfObjgetDeep (const PdfDict *d, String key) const noexcept
 
const PdfDictgetDict (const PdfDict *d, String key) const noexcept
 
const PdfDictresourcesOfKind (String kind) const noexcept
 
const PdfDictfindResource (String kind, String name) const noexcept
 
const PdfDictfindResource (const PdfDict *xf, String kind, String name) const noexcept
 

Protected Attributes

std::unique_ptr< PdfDictiPageResources
 

Detailed Description

Base class providing access to PDF objects.

Constructor & Destructor Documentation

◆ PdfResourceBase()

PdfResourceBase::PdfResourceBase ( )

◆ ~PdfResourceBase()

PdfResourceBase::~PdfResourceBase ( )
virtual

Member Function Documentation

◆ object()

virtual const PdfObj* ipe::PdfResourceBase::object ( int  num) const
pure virtualnoexcept

◆ getDeep()

const PdfObj * PdfResourceBase::getDeep ( const PdfDict d,
String  key 
) const
noexcept

◆ getDict()

const PdfDict * PdfResourceBase::getDict ( const PdfDict d,
String  key 
) const
noexcept

References ipe::PdfObj::dict().

◆ resourcesOfKind()

const PdfDict * PdfResourceBase::resourcesOfKind ( String  kind) const
noexcept

References ipe::PdfObj::dict().

◆ findResource() [1/2]

const PdfDict * PdfResourceBase::findResource ( String  kind,
String  name 
) const
noexcept

◆ findResource() [2/2]

const PdfDict * PdfResourceBase::findResource ( const PdfDict xf,
String  kind,
String  name 
) const
noexcept

Member Data Documentation

◆ iPageResources

std::unique_ptr<PdfDict> ipe::PdfResourceBase::iPageResources
protected

The documentation for this class was generated from the following files: