- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
11 namespace pdftron {
12 namespace FDF {
13
14
15 class FDFField
16 {
17 public:
18
22 FDFField (SDF::Obj field_dict = 0, SDF::Obj fdf_dict = 0);
23
24 FDFField (const FDFField& p);
25 FDFField& operator= (const FDFField& p);
26
32 SDF::Obj GetValue();
33
40 void SetValue(SDF::Obj value);
41
46 UString GetName();
47
52 UString GetPartialName();
53
57 SDF::Obj GetSDFObj () const;
58
65 SDF::Obj FindAttribute (const char* attrib) const;
66
70 operator bool () { return m_field.mp_leaf_node!=0;}
71
72 private:
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
pdftron::FDF::FDFField::GetValue
SDF::Obj GetValue()
pdftron::FDF::FDFField::FindAttribute
SDF::Obj FindAttribute(const char *attrib) const
Obj.h
pdftron::FDF::FDFField
Definition: FDFField.h:15
pdftron::FDF::FDFField::GetPartialName
UString GetPartialName()
pdftron::FDF::FDFField::GetSDFObj
SDF::Obj GetSDFObj() const
pdftron::FDF::FDFField::GetName
UString GetName()
pdftron::SDF::Obj
Definition: Obj.h:40
pdftron::FDF::FDFField::SetValue
void SetValue(SDF::Obj value)
pdftron::FDF::FDFField::FDFField
FDFField(SDF::Obj field_dict=0, SDF::Obj fdf_dict=0)
pdftron::UString
Definition: UString.h:27
pdftron::FDF::FDFField::operator=
FDFField & operator=(const FDFField &p)