PoDoFo 1.2.0
Loading...
Searching...
No Matches
PdfFunction.h
1// SPDX-FileCopyrightText: 2025 Francesco Pretto <ceztko@gmail.com>
2// SPDX-License-Identifier: LGPL-2.0-or-later OR MPL-2.0
3
4#ifndef PDF_FUNCTION_H
5#define PDF_FUNCTION_H
6
7#include "PdfElement.h"
8#include "PdfFunctionDefinition.h"
9
10namespace PoDoFo
11{
12 class PODOFO_API PdfFunction final : public PdfDictionaryElement
13 {
14 friend class PdfDocument;
15
16 private:
17 PdfFunction(PdfDocument& doc, PdfFunctionDefinitionPtr&& definition);
18
19 public:
20 const PdfFunctionDefinition& GetDefinition() const { return *m_Definition; }
21 PdfFunctionDefinitionPtr GetDefinitionPtr() const { return m_Definition; }
22
23 public:
24 PdfFunctionDefinitionPtr m_Definition;
25 };
26}
27
28#endif // PDF_FUNCTION_H
All classes, functions, types and enums of PoDoFo are members of these namespace.
Definition basetypes.h:13
std::shared_ptr< const PdfFunctionDefinition > PdfFunctionDefinitionPtr
Convenience alias for a constant PdfFunction shared ptr.
Definition PdfFunctionDefinition.h:54