5#ifndef PDF_MEMORY_OBJECT_STREAM_H
6#define PDF_MEMORY_OBJECT_STREAM_H
10#include "PdfObjectStreamProvider.h"
36 void Clear()
override;
38 bool TryCopyFrom(
const PdfObjectStreamProvider&
rhs)
override;
40 bool TryMoveFrom(PdfObjectStreamProvider&&
rhs)
override;
42 std::unique_ptr<InputStream> GetInputStream(
PdfObject&
obj)
override;
44 std::unique_ptr<OutputStream> GetOutputStream(
PdfObject&
obj)
override;
48 size_t GetLength()
const override;
50 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:16
A list of PdfObjects that constitutes the indirect object list of the document The PdfParser will rea...
Definition PdfIndirectObjectList.h:29
A PDF stream can be appended to any PdfObject and can contain arbitrary data.
Definition PdfMemoryObjectStream.h:25
This class represents a PDF indirect Object in memory.
Definition PdfObject.h:33
Convenient type for char array storage and/or buffer with std::string compatibility.
Definition basetypes.h:35
All classes, functions, types and enums of PoDoFo are members of these namespace.
Definition basetypes.h:13