2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-13 00:06:28 +00:00
qpdf/libqpdf/qpdf/QPDF_InlineImage.hh

26 lines
621 B
C++

#ifndef QPDF_INLINEIMAGE_HH
#define QPDF_INLINEIMAGE_HH
#include <qpdf/QPDFValue.hh>
class QPDF_InlineImage: public QPDFValue
{
public:
~QPDF_InlineImage() override = default;
static std::shared_ptr<QPDFObject> create(std::string const& val);
std::shared_ptr<QPDFObject> copy(bool shallow = false) override;
std::string unparse() override;
void writeJSON(int json_version, JSON::Writer& p) override;
std::string
getStringValue() const override
{
return val;
}
private:
QPDF_InlineImage(std::string const& val);
std::string val;
};
#endif // QPDF_INLINEIMAGE_HH