summaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/QPDF_Operator.hh
blob: 62a0e47b4233847fd6844ea1420713901669cb0b (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_OPERATOR_HH
#define QPDF_OPERATOR_HH

#include <qpdf/QPDFObject.hh>

class QPDF_Operator: public QPDFObject
{
  public:
    QPDF_Operator(std::string const& val);
    virtual ~QPDF_Operator() = default;
    virtual std::string unparse();
    virtual JSON getJSON();
    virtual QPDFObject::object_type_e getTypeCode() const;
    virtual char const* getTypeName() const;
    std::string getVal() const;

  private:
    std::string val;
};

#endif // QPDF_OPERATOR_HH