mirror of
https://github.com/qpdf/qpdf.git
synced 2024-05-29 00:10:54 +00:00
913eb5ac35
Add virtual methods to QPDFObject, wrappers to QPDFObjectHandle, and implementations to all the QPDF_Object types.
37 lines
468 B
C++
37 lines
468 B
C++
#include <qpdf/QPDF_Keyword.hh>
|
|
|
|
#include <qpdf/QUtil.hh>
|
|
|
|
QPDF_Keyword::QPDF_Keyword(std::string const& val) :
|
|
val(val)
|
|
{
|
|
}
|
|
|
|
QPDF_Keyword::~QPDF_Keyword()
|
|
{
|
|
}
|
|
|
|
std::string
|
|
QPDF_Keyword::unparse()
|
|
{
|
|
return this->val;
|
|
}
|
|
|
|
QPDFObject::object_type_e
|
|
QPDF_Keyword::getTypeCode() const
|
|
{
|
|
return QPDFObject::ot_keyword;
|
|
}
|
|
|
|
char const*
|
|
QPDF_Keyword::getTypeName() const
|
|
{
|
|
return "keyword";
|
|
}
|
|
|
|
std::string
|
|
QPDF_Keyword::getVal() const
|
|
{
|
|
return this->val;
|
|
}
|