mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-18 02:25:08 +00:00
f3d7c26de1
git-svn-id: svn+q:///qpdf/trunk@709 71b93d88-0707-0410-a8cf-f5a4172ac649
23 lines
242 B
C++
23 lines
242 B
C++
#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;
|
|
}
|