2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-19 02:45:10 +00:00
qpdf/libqpdf/QPDF_Reserved.cc
Jay Berkenbilt 913eb5ac35 Add getTypeCode() and getTypeName()
Add virtual methods to QPDFObject, wrappers to QPDFObjectHandle, and
implementations to all the QPDF_Object types.
2013-01-22 10:01:45 -05:00

26 lines
389 B
C++

#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 "";
}
QPDFObject::object_type_e
QPDF_Reserved::getTypeCode() const
{
return QPDFObject::ot_reserved;
}
char const*
QPDF_Reserved::getTypeName() const
{
return "reserved";
}