2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-15 17:17:08 +00:00
qpdf/libqpdf/qpdf/QPDF_Operator.hh
2022-12-31 09:31:07 -05:00

26 lines
579 B
C++

#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<QPDFObject> create(std::string const& val);
virtual std::shared_ptr<QPDFObject> copy(bool shallow = false);
virtual std::string unparse();
virtual JSON getJSON(int json_version);
virtual std::string
getStringValue() const
{
return val;
}
private:
QPDF_Operator(std::string const& val);
std::string val;
};
#endif // QPDF_OPERATOR_HH