aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_InlineImage.cc
blob: 48be6387f461970dfd90126f8a9d7c5df3e0e4f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#include <qpdf/QPDF_InlineImage.hh>

#include <qpdf/QUtil.hh>

QPDF_InlineImage::QPDF_InlineImage(std::string const& val) :
    val(val)
{
}

QPDF_InlineImage::~QPDF_InlineImage()
{
}

std::string
QPDF_InlineImage::unparse()
{
    return this->val;
}

QPDFObject::object_type_e
QPDF_InlineImage::getTypeCode() const
{
    return QPDFObject::ot_inlineimage;
}

char const*
QPDF_InlineImage::getTypeName() const
{
    return "inline-image";
}

std::string
QPDF_InlineImage::getVal() const
{
    return this->val;
}