All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DisallowedChange.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 
6 #ifndef PDFTRON_H_CPPPDFDisallowedChange
7 #define PDFTRON_H_CPPPDFDisallowedChange
8 #include <C/PDF/TRN_DisallowedChange.h>
9 
10 #include <Common/BasicTypes.h>
11 #include <Common/UString.h>
12 #include <PDF/PDFDoc.h>
13 
14 namespace pdftron { namespace PDF {
15 
16 
25 {
26 public:
27  //enums:
28  enum Type {
33  e_other = 4,
35  };
37  DisallowedChange(const DisallowedChange& other);
38  DisallowedChange(TRN_DisallowedChange impl);
41 
42  void Destroy();
43 
44  //methods:
45 
51  UInt32 GetObjNum() const;
52 
58  Type GetType() const;
59 
65  UString GetTypeAsString() const;
66 
67 #ifndef SWIGHIDDEN
68  TRN_DisallowedChange m_impl;
69 #endif
70 
71 private:
72 
73 #ifndef SWIGHIDDEN
74  mutable bool m_owner;
75 #endif
76 };
77 
78 #include <Impl/DisallowedChange.inl>
79 } //end pdftron
80 } //end PDF
81 
82 
83 #endif //PDFTRON_H_CPPPDFDisallowedChange
UString GetTypeAsString() const
TRN_UInt32 UInt32
Definition: BasicTypes.h:13
DisallowedChange & operator=(const DisallowedChange &other)