2018-08-12 18:07:22 +00:00
|
|
|
#ifndef QPDF_OPERATOR_HH
|
|
|
|
#define QPDF_OPERATOR_HH
|
2013-01-20 19:55:01 +00:00
|
|
|
|
2022-08-02 20:35:04 +00:00
|
|
|
#include <qpdf/QPDFValue.hh>
|
2013-01-20 19:55:01 +00:00
|
|
|
|
2022-08-02 20:35:04 +00:00
|
|
|
class QPDF_Operator: public QPDFValue
|
2013-01-20 19:55:01 +00:00
|
|
|
{
|
|
|
|
public:
|
2022-04-15 23:44:07 +00:00
|
|
|
virtual ~QPDF_Operator() = default;
|
2022-09-08 15:29:23 +00:00
|
|
|
static std::shared_ptr<QPDFObject> create(std::string const& val);
|
2022-11-14 17:54:12 +00:00
|
|
|
virtual std::shared_ptr<QPDFObject> copy(bool shallow = false);
|
2013-01-20 19:55:01 +00:00
|
|
|
virtual std::string unparse();
|
2022-05-07 11:53:45 +00:00
|
|
|
virtual JSON getJSON(int json_version);
|
2022-12-21 13:14:05 +00:00
|
|
|
virtual std::string
|
|
|
|
getStringValue() const
|
|
|
|
{
|
|
|
|
return val;
|
|
|
|
}
|
2013-01-20 19:55:01 +00:00
|
|
|
|
|
|
|
private:
|
2022-06-16 16:45:04 +00:00
|
|
|
QPDF_Operator(std::string const& val);
|
2013-01-20 19:55:01 +00:00
|
|
|
std::string val;
|
|
|
|
};
|
|
|
|
|
2018-08-12 18:07:22 +00:00
|
|
|
#endif // QPDF_OPERATOR_HH
|