2012-07-08 18:19:19 +00:00
|
|
|
#include <qpdf/QPDF_Reserved.hh>
|
|
|
|
#include <stdexcept>
|
|
|
|
|
|
|
|
QPDF_Reserved::~QPDF_Reserved()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
std::string
|
|
|
|
QPDF_Reserved::unparse()
|
|
|
|
{
|
|
|
|
throw std::logic_error("attempt to unparse QPDF_Reserved");
|
|
|
|
return "";
|
|
|
|
}
|
2013-01-22 14:57:07 +00:00
|
|
|
|
2018-12-17 22:40:29 +00:00
|
|
|
JSON
|
|
|
|
QPDF_Reserved::getJSON()
|
|
|
|
{
|
|
|
|
throw std::logic_error("attempt to generate JSON from QPDF_Reserved");
|
|
|
|
return JSON::makeNull();
|
|
|
|
}
|
|
|
|
|
2013-01-22 14:57:07 +00:00
|
|
|
QPDFObject::object_type_e
|
|
|
|
QPDF_Reserved::getTypeCode() const
|
|
|
|
{
|
|
|
|
return QPDFObject::ot_reserved;
|
|
|
|
}
|
|
|
|
|
|
|
|
char const*
|
|
|
|
QPDF_Reserved::getTypeName() const
|
|
|
|
{
|
|
|
|
return "reserved";
|
|
|
|
}
|