PoDoFo 1.0.0-dev
Loading...
Searching...
No Matches
PdfFunction.h
1
7#ifndef PDF_FUNCTION_H
8#define PDF_FUNCTION_H
9
10#include "PdfElement.h"
11#include "PdfFunctionDefinition.h"
12
13namespace PoDoFo
14{
15 class PODOFO_API PdfFunction final : public PdfDictionaryElement
16 {
17 friend class PdfDocument;
18
19 private:
20 PdfFunction(PdfDocument& doc, const PdfFunctionDefinitionPtr& definition);
21
22 public:
23 const PdfFunctionDefinition& GetDefinition() const { return *m_Definition; }
24 PdfFunctionDefinitionPtr GetDefinitionPtr() const { return m_Definition; }
25
26 public:
27 PdfFunctionDefinitionPtr m_Definition;
28 };
29}
30
31#endif // PDF_FUNCTION_H
SPDX-FileCopyrightText: (C) 2022 Francesco Pretto ceztko@gmail.com SPDX-License-Identifier: LGPL-2....
Definition basetypes.h:16
std::shared_ptr< const PdfFunctionDefinition > PdfFunctionDefinitionPtr
Convenience alias for a constant PdfFunction shared ptr.
Definition PdfFunctionDefinition.h:58