diff options
Diffstat (limited to 'libqpdf/qpdf/QPDF_Operator.hh')
-rw-r--r-- | libqpdf/qpdf/QPDF_Operator.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libqpdf/qpdf/QPDF_Operator.hh b/libqpdf/qpdf/QPDF_Operator.hh index 672da728..1da43d72 100644 --- a/libqpdf/qpdf/QPDF_Operator.hh +++ b/libqpdf/qpdf/QPDF_Operator.hh @@ -6,8 +6,9 @@ class QPDF_Operator: public QPDFObject { public: - QPDF_Operator(std::string const& val); virtual ~QPDF_Operator() = default; + static std::shared_ptr<QPDFObject> create(std::string const& val); + virtual std::shared_ptr<QPDFObject> shallowCopy(); virtual std::string unparse(); virtual JSON getJSON(int json_version); virtual QPDFObject::object_type_e getTypeCode() const; @@ -15,6 +16,7 @@ class QPDF_Operator: public QPDFObject std::string getVal() const; private: + QPDF_Operator(std::string const& val); std::string val; }; |