mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-16 01:27:07 +00:00
1e74c03acd
git-svn-id: svn+q:///qpdf/trunk@688 71b93d88-0707-0410-a8cf-f5a4172ac649
28 lines
417 B
C++
28 lines
417 B
C++
|
|
|
|
#include <qpdf/Pipeline.hh>
|
|
|
|
DLL_EXPORT
|
|
Pipeline::Pipeline(char const* identifier, Pipeline* next) :
|
|
identifier(identifier),
|
|
next(next)
|
|
{
|
|
}
|
|
|
|
DLL_EXPORT
|
|
Pipeline::~Pipeline()
|
|
{
|
|
}
|
|
|
|
Pipeline*
|
|
Pipeline::getNext(bool allow_null)
|
|
{
|
|
if ((next == 0) && (! allow_null))
|
|
{
|
|
throw Exception(
|
|
this->identifier +
|
|
": Pipeline::getNext() called on pipeline with no next");
|
|
}
|
|
return this->next;
|
|
}
|