1 #ifndef QPDF_BOOL_HH 2 #define QPDF_BOOL_HH 3 4 #include <qpdf/QPDFObject.hh> 5 6 class QPDF_Bool: public QPDFObject 7 { 8 public: 9 QPDF_Bool(bool val); 10 virtual ~QPDF_Bool(); 11 virtual std::string unparse(); 12 virtual JSON getJSON(); 13 virtual QPDFObject::object_type_e getTypeCode() const; 14 virtual char const* getTypeName() const; 15 bool getVal() const; 16 17 private: 18 bool val; 19 }; 20 21 #endif // QPDF_BOOL_HH 22