mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-23 11:28:56 +00:00
18 lines
333 B
C++
18 lines
333 B
C++
|
#include <qpdf/QPDFObjGen.hh>
|
||
|
|
||
|
#include <qpdf/QUtil.hh>
|
||
|
|
||
|
std::ostream&
|
||
|
operator<<(std::ostream& os, const QPDFObjGen& og)
|
||
|
{
|
||
|
os << og.obj << "," << og.gen;
|
||
|
return os;
|
||
|
}
|
||
|
|
||
|
std::string
|
||
|
QPDFObjGen::unparse(char separator) const
|
||
|
{
|
||
|
return QUtil::int_to_string(this->obj) + separator +
|
||
|
QUtil::int_to_string(this->gen);
|
||
|
}
|