aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_Bool.cc
blob: 2b50c4c230ca0aee0e1504b231191b375e4c4c74 (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

#include <qpdf/QPDF_Bool.hh>

QPDF_Bool::QPDF_Bool(bool val) :
    val(val)
{
}

QPDF_Bool::~QPDF_Bool()
{
}

std::string
QPDF_Bool::unparse()
{
    return (val ? "true" : "false");
}

bool
QPDF_Bool::getVal() const
{
    return this->val;
}