2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-11 15:40:58 +00:00
qpdf/libqpdf/qpdf/QPDF_Operator.hh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
579 B
C++
Raw Normal View History

#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