mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-02 03:42:30 +00:00
35 lines
566 B
C++
35 lines
566 B
C++
#include <qpdf/QPDF_Unresolved.hh>
|
|
|
|
#include <stdexcept>
|
|
|
|
QPDF_Unresolved::QPDF_Unresolved() :
|
|
QPDFValue(::ot_unresolved, "unresolved")
|
|
{
|
|
}
|
|
|
|
std::shared_ptr<QPDFObject>
|
|
QPDF_Unresolved::create()
|
|
{
|
|
return do_create(new QPDF_Unresolved());
|
|
}
|
|
|
|
std::shared_ptr<QPDFObject>
|
|
QPDF_Unresolved::shallowCopy()
|
|
{
|
|
return create();
|
|
}
|
|
|
|
std::string
|
|
QPDF_Unresolved::unparse()
|
|
{
|
|
throw std::logic_error(
|
|
"attempted to unparse an unresolved QPDFObjectHandle");
|
|
return "";
|
|
}
|
|
|
|
JSON
|
|
QPDF_Unresolved::getJSON(int json_version)
|
|
{
|
|
return JSON::makeNull();
|
|
}
|