All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AttrObj.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------------
2 // Copyright (c) 2001-2024 by Apryse Software Inc. All Rights Reserved.
3 // Consult legal.txt regarding legal and license information.
4 //---------------------------------------------------------------------------------------
5 #ifndef PDFTRON_H_CPPPDFAttrObj
6 #define PDFTRON_H_CPPPDFAttrObj
7 
8 #include <SDF/Obj.h>
9 #include <C/PDF/Struct/TRN_AttrObj.h>
10 
11 namespace pdftron {
12  namespace PDF {
13  namespace Struct {
14 
24 class AttrObj
25 {
26 public:
27 
36  AttrObj (SDF::Obj dict = SDF::Obj(0));
37 
38  AttrObj (const AttrObj& a);
39  AttrObj& operator= (const AttrObj& a);
40 
45  const char* GetOwner() const;
46 
50  SDF::Obj GetSDFObj () const;
51 
52 private:
53  TRN_AttrObj mp_obj;
54 };
55 
56 
57 #include <Impl/AttrObj.inl>
58 
59 
60  }; // namespace Struct
61  }; // namespace PDF
62 }; // namespace pdftron
63 
64 #endif // PDFTRON_H_CPPPDFAttrObj
AttrObj & operator=(const AttrObj &a)
const char * GetOwner() const
AttrObj(SDF::Obj dict=SDF::Obj(0))
SDF::Obj GetSDFObj() const