All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RoleMap.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------------
2 // Copyright (c) 2001-2023 by Apryse Software Inc. All Rights Reserved.
3 // Consult legal.txt regarding legal and license information.
4 //---------------------------------------------------------------------------------------
5 #ifndef PDFTRON_H_CPPPDFStructRoleMap
6 #define PDFTRON_H_CPPPDFStructRoleMap
7 
8 #include <SDF/Obj.h>
9 #include <C/PDF/Struct/TRN_RoleMap.h>
10 
11 namespace pdftron {
12  namespace PDF {
13  namespace Struct {
14 
20 class RoleMap
21 {
22 public:
23 
32  RoleMap (SDF::Obj dict);
33 
34  RoleMap (const RoleMap& p);
35  RoleMap& operator= (const RoleMap& p);
36 
42  bool IsValid() const;
43 
50  const char* GetDirectMap(const char* type) const;
51 
56  SDF::Obj GetSDFObj () const;
57 
58 
59 // @cond PRIVATE_DOC
60 #ifndef SWIGHIDDEN
61  RoleMap(TRN_RoleMap impl);
62 private:
63  TRN_RoleMap mp_map;
64 #endif
65 // @endcond
66 };
67 
68 
69 #include <Impl/RoleMap.inl>
70 
71  }; // namespace Struct
72  }; // namespace PDF
73 }; // namespace pdftron
74 
75 #endif // PDFTRON_H_CPPPDFStructRoleMap
SDF::Obj GetSDFObj() const
RoleMap & operator=(const RoleMap &p)
const char * GetDirectMap(const char *type) const