5#ifndef PDF_MEMORY_OBJECT_STREAM_H
6#define PDF_MEMORY_OBJECT_STREAM_H
10#include "PdfObjectStreamProvider.h"
35 void Clear()
override;
37 bool TryCopyFrom(
const PdfObjectStreamProvider&
rhs)
override;
39 bool TryMoveFrom(PdfObjectStreamProvider&&
rhs)
override;
41 std::unique_ptr<InputStream> GetInputStream(
PdfObject&
obj)
override;
43 std::unique_ptr<OutputStream> GetOutputStream(
PdfObject&
obj)
override;
47 size_t GetLength()
const override;
49 const charbuff& GetBuffer()
const {
return m_buffer; }
This file should be included as the FIRST file in every header of PoDoFo lib.
An interface for writing blocks of data to a data source.
Definition OutputStream.h:15
A list of PdfObjects that constitutes the indirect object list of the document The PdfParser will rea...
Definition PdfIndirectObjectList.h:28
A PDF stream can be appended to any PdfObject and can contain arbitrary data.
Definition PdfMemoryObjectStream.h:24
This class represents a PDF indirect Object in memory.
Definition PdfObject.h:31
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