aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/QPDF_Operator.hh
blob: 30c400706fe92109462c374b825ae1e675b1baac (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/QPDFValue.hh>

class QPDF_Operator: public QPDFValue
{
  public:
    virtual ~QPDF_Operator() = default;
    static std::shared_ptr<QPDFValueProxy> create(std::string const& val);
    virtual std::shared_ptr<QPDFValueProxy> shallowCopy();
    virtual std::string unparse();
    virtual JSON getJSON(int json_version);
    std::string getVal() const;

  private:
    QPDF_Operator(std::string const& val);
    std::string val;
};

#endif // QPDF_OPERATOR_HH