Loading...
Searching...
No Matches
FDFField.h
Go to the documentation of this file.
1//---------------------------------------------------------------------------------------
2// Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
3// Consult legal.txt regarding legal and license information.
4//---------------------------------------------------------------------------------------
5#ifndef PDFTRON_H_CPPFDFFDFField
6#define PDFTRON_H_CPPFDFFDFField
7
8#include <SDF/Obj.h>
9#include <C/FDF/TRN_FDFField.h>
10
11namespace pdftron {
12 namespace FDF {
13
14
16{
17public:
18
22 FDFField (SDF::Obj field_dict = 0, SDF::Obj fdf_dict = 0);
23
24 FDFField (const FDFField& p);
26
33
40 void SetValue(SDF::Obj value);
41
47
53
58
65 SDF::Obj FindAttribute (const char* attrib) const;
66
70 operator bool () { return m_field.mp_leaf_node!=0;}
71
72private:
73 TRN_FDFField m_field;
74};
75
76
77
78#include <Impl/FDFField.inl>
79
80 }; // namespace FDF
81}; // namespace pdftron
82
83#endif // PDFTRON_H_CPPFDFFDFField
FDFField & operator=(const FDFField &p)
SDF::Obj FindAttribute(const char *attrib) const
FDFField(SDF::Obj field_dict=0, SDF::Obj fdf_dict=0)
void SetValue(SDF::Obj value)
FDFField(const FDFField &p)
SDF::Obj GetSDFObj() const