PoDoFo  1.0.0-dev
Public Member Functions | Protected Member Functions | List of all members
PoDoFo::PdfResourceOperations Class Referenceabstract

Low level interface for resource handling operations Inherited by PdfResources. More...

#include <PdfResourceOperations.h>

Inheritance diagram for PoDoFo::PdfResourceOperations:
PoDoFo::PdfResources

Public Member Functions

virtual PdfName AddResource (PdfResourceType type, const PdfObject &obj)=0
 Add resource by type generating a new unique identifier.
 
virtual void AddResource (PdfResourceType type, const PdfName &key, const PdfObject &obj)=0
 Add resource by type and key.
 
virtual PdfObjectGetResource (PdfResourceType type, const std::string_view &key)=0
 Get resource by type and key.
 
virtual const PdfObjectGetResource (PdfResourceType type, const std::string_view &key) const =0
 Get resource by type and key.
 
virtual PdfDictionaryIndirectIterable GetResourceIterator (PdfResourceType type)=0
 Get resource iterator by type.
 
virtual PdfDictionaryConstIndirectIterable GetResourceIterator (PdfResourceType type) const =0
 Get resource iterator by type.
 
virtual void RemoveResource (PdfResourceType type, const std::string_view &key)=0
 Remove resource by type and key. More...
 
virtual void RemoveResources (PdfResourceType type)=0
 Remove resources by type. More...
 
virtual PdfName AddResource (const PdfName &type, const PdfObject &obj)=0
 Add resource by type name string generating a new unique identifier.
 
virtual void AddResource (const PdfName &type, const PdfName &key, const PdfObject &obj)=0
 Add resource by type name string and key.
 
virtual PdfObjectGetResource (const std::string_view &type, const std::string_view &key)=0
 Get resource by type name string and key.
 
virtual const PdfObjectGetResource (const std::string_view &type, const std::string_view &key) const =0
 Get resource by type name string and key.
 
virtual PdfDictionaryIndirectIterable GetResourceIterator (const std::string_view &type)=0
 Get resource iterator by type name string.
 
virtual PdfDictionaryConstIndirectIterable GetResourceIterator (const std::string_view &type) const =0
 Get resource iterator by type name string.
 
virtual void RemoveResource (const std::string_view &type, const std::string_view &key)=0
 Remove resource by type name string and key. More...
 
virtual void RemoveResources (const std::string_view &type)=0
 Remove resources by type name string. More...
 

Protected Member Functions

 PdfResourceOperations (const PdfResourceOperations &)=default
 
PdfResourceOperationsoperator= (const PdfResourceOperations &)=default
 

Detailed Description

Low level interface for resource handling operations Inherited by PdfResources.

Member Function Documentation

◆ RemoveResource() [1/2]

virtual void PoDoFo::PdfResourceOperations::RemoveResource ( const std::string_view &  type,
const std::string_view &  key 
)
pure virtual

Remove resource by type name string and key.

Remarks
It remove the resource only by reference

◆ RemoveResource() [2/2]

virtual void PoDoFo::PdfResourceOperations::RemoveResource ( PdfResourceType  type,
const std::string_view &  key 
)
pure virtual

Remove resource by type and key.

Remarks
It remove the resource only by reference

◆ RemoveResources() [1/2]

virtual void PoDoFo::PdfResourceOperations::RemoveResources ( const std::string_view &  type)
pure virtual

Remove resources by type name string.

Remarks
It remove the resources only by reference

◆ RemoveResources() [2/2]

virtual void PoDoFo::PdfResourceOperations::RemoveResources ( PdfResourceType  type)
pure virtual

Remove resources by type.

Remarks
It remove the resources only by reference

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