All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ResultSnapshot.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 // !Warning! This file is autogenerated, modify the .codegen file, not this one
6 // (any changes here will be wiped out during the autogen process)
7 
8 #ifndef PDFTRON_H_CPPSDFResultSnapshot
9 #define PDFTRON_H_CPPSDFResultSnapshot
10 #include <C/SDF/TRN_ResultSnapshot.h>
11 
12 #include <Common/BasicTypes.h>
13 #include <Common/UString.h>
14 #include <PDF/PDFDoc.h>
15 
16 namespace pdftron { namespace SDF {
17 
18 
24 {
25 public:
26  ResultSnapshot(const ResultSnapshot& other);
27  ResultSnapshot(TRN_ResultSnapshot impl);
30 
31  void Destroy();
32 
33  //methods:
34 
40  DocSnapshot CurrentState() const;
41 
47  DocSnapshot PreviousState() const;
48 
54  bool IsOk() const;
55 
61  bool IsNullTransition() const;
62 
63 #ifndef SWIGHIDDEN
64  TRN_ResultSnapshot m_impl;
65 #endif
66 
67  // Internal use only
69 
70 private:
71 
72 #ifndef SWIGHIDDEN
73  mutable bool m_owner;
74 #endif
75 };
76 
77 #include <Impl/ResultSnapshot.inl>
78 } //end pdftron
79 } //end SDF
80 
81 
82 #endif //PDFTRON_H_CPPSDFResultSnapshot
DocSnapshot CurrentState() const
TRN_ResultSnapshot m_impl
DocSnapshot PreviousState() const
ResultSnapshot & operator=(const ResultSnapshot &other)