2018-08-12 18:07:22 +00: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);
|
2022-04-15 23:44:07 +00:00
|
|
|
virtual ~QPDF_Bool() = default;
|
2008-04-29 12:55:25 +00:00
|
|
|
virtual std::string unparse();
|
2022-05-07 11:53:45 +00:00
|
|
|
virtual JSON getJSON(int json_version);
|
2013-01-22 14:57:07 +00: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 18:07:22 +00:00
|
|
|
#endif // QPDF_BOOL_HH
|