Logo white

OpenSystemsDevelopment / qpdf

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • qpdf
  • libqpdf
  • QPDF_Bool.cc
  • update release date to actual date ...
    9a0b88bf
    
    git-svn-id: svn+q:///qpdf/trunk@599 71b93d88-0707-0410-a8cf-f5a4172ac649
    Jay Berkenbilt authored
    2008-04-29 12:55:25 +0000  
    Browse Code ยป
QPDF_Bool.cc 243 Bytes
Edit Raw Blame History
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;
}