All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ClassMap.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------------
2 // Copyright (c) 2001-2020 by PDFTron Systems Inc. All Rights Reserved.
3 // Consult legal.txt regarding legal and license information.
4 //---------------------------------------------------------------------------------------
5 #ifndef PDFTRON_H_CPPPDFStructClassMap
6 #define PDFTRON_H_CPPPDFStructClassMap
7 
8 #include <SDF/Obj.h>
9 #include <C/PDF/Struct/TRN_ClassMap.h>
10 
11 namespace pdftron {
12  namespace PDF {
13  namespace Struct {
14 
17 class ClassMap
18 {
19 public:
28  ClassMap (SDF::Obj dict = SDF::Obj(0));
29 
30  ClassMap (const ClassMap& p);
31  ClassMap& operator= (const ClassMap& p);
32 
38  bool IsValid() const;
39 
45  SDF::Obj GetSDFObj () const;
46 
47 // @cond PRIVATE_DOC
48 #ifndef SWIGHIDDEN
49  ClassMap(TRN_ClassMap impl);
50 private:
51 
52  TRN_ClassMap mp_map;
53 #endif
54 // @endcond
55 
56 };
57 
58 #include <Impl/ClassMap.inl>
59 
60  }; // namespace Struct
61  }; // namespace PDF
62 }; // namespace pdftron
63 
64 #endif // PDFTRON_H_CPPPDFStructClassMap
ClassMap(SDF::Obj dict=SDF::Obj(0))
ClassMap & operator=(const ClassMap &p)