qpdf/libqpdf/qpdf/QPDF_Bool.hh

22 lines
449 B
C++

#ifndef QPDF_BOOL_HH
#define QPDF_BOOL_HH
#include <qpdf/QPDFValue.hh>
class QPDF_Bool: public QPDFValue
{
public:
virtual ~QPDF_Bool() = default;
static std::shared_ptr<QPDFObject> create(bool val);
virtual std::shared_ptr<QPDFObject> shallowCopy();
virtual std::string unparse();
virtual JSON getJSON(int json_version);
bool getVal() const;
private:
QPDF_Bool(bool val);
bool val;
};
#endif // QPDF_BOOL_HH