2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-06-16 08:52:21 +00:00
qpdf/libqpdf/qpdf/QPDF_Bool.hh
Jay Berkenbilt 16f4f94cd9 Prepare code for JSON v2
Update getJSON() methods and calls to them
2022-05-07 11:12:01 -04:00

22 lines
443 B
C++

#ifndef QPDF_BOOL_HH
#define QPDF_BOOL_HH
#include <qpdf/QPDFObject.hh>
class QPDF_Bool: public QPDFObject
{
public:
QPDF_Bool(bool val);
virtual ~QPDF_Bool() = default;
virtual std::string unparse();
virtual JSON getJSON(int json_version);
virtual QPDFObject::object_type_e getTypeCode() const;
virtual char const* getTypeName() const;
bool getVal() const;
private:
bool val;
};
#endif // QPDF_BOOL_HH