2018-08-12 14:07:22 -04:00
|
|
|
#ifndef QPDF_BOOL_HH
|
|
|
|
#define QPDF_BOOL_HH
|
2008-04-29 12:55:25 +00:00
|
|
|
|
|
|
|
#include <qpdf/QPDFObject.hh>
|
|
|
|
|
|
|
|
class QPDF_Bool: public QPDFObject
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
QPDF_Bool(bool val);
|
|
|
|
virtual ~QPDF_Bool();
|
|
|
|
virtual std::string unparse();
|
2018-12-17 17:40:29 -05:00
|
|
|
virtual JSON getJSON();
|
2013-01-22 09:57:07 -05:00
|
|
|
virtual QPDFObject::object_type_e getTypeCode() const;
|
|
|
|
virtual char const* getTypeName() const;
|
2008-04-29 12:55:25 +00:00
|
|
|
bool getVal() const;
|
|
|
|
|
|
|
|
private:
|
|
|
|
bool val;
|
|
|
|
};
|
|
|
|
|
2018-08-12 14:07:22 -04:00
|
|
|
#endif // QPDF_BOOL_HH
|