aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/QPDF_Bool.hh
blob: 5da6e87c94db8bf1b297fc2d925a7cc520a2f2cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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();
    virtual std::string unparse();
    virtual JSON getJSON();
    virtual QPDFObject::object_type_e getTypeCode() const;
    virtual char const* getTypeName() const;
    bool getVal() const;

  private:
    bool val;
};

#endif // QPDF_BOOL_HH