- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DocSnapshot.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------------
2 // Copyright (c) 2001-2025 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_CPPSDFDocSnapshot
9 #define PDFTRON_H_CPPSDFDocSnapshot
10 #include <C/SDF/TRN_DocSnapshot.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
23 class DocSnapshot
24 {
25 public:
26 DocSnapshot(const DocSnapshot& other);
27 DocSnapshot(TRN_DocSnapshot impl);
28 DocSnapshot& operator= (const DocSnapshot& other);
29 ~DocSnapshot();
30
31 void Destroy();
32
33 //methods:
34
40 UInt32 GetHash() const;
41
47 bool IsValid() const;
48
55 bool Equals(DocSnapshot snapshot) const;
56
57 // Internal use only
58 DocSnapshot();
59 #ifndef SWIGHIDDEN
60 TRN_DocSnapshot m_impl;
61 #endif
62
63 private:
64
65 #ifndef SWIGHIDDEN
66 mutable bool m_owner;
67 #endif
68 };
69
70 #include <Impl/DocSnapshot.inl>
71 } //end pdftron
72 } //end SDF
73
74
75 #endif //PDFTRON_H_CPPSDFDocSnapshot
pdftron::SDF::DocSnapshot
Definition: DocSnapshot.h:23
pdftron::SDF::DocSnapshot::m_impl
TRN_DocSnapshot m_impl
Definition: DocSnapshot.h:60
UString.h
pdftron::SDF::DocSnapshot::GetHash
UInt32 GetHash() const
pdftron::UInt32
TRN_UInt32 UInt32
Definition: BasicTypes.h:13
pdftron::SDF::DocSnapshot::operator=
DocSnapshot & operator=(const DocSnapshot &other)
PDFDoc.h
BasicTypes.h
pdftron::SDF::DocSnapshot::IsValid
bool IsValid() const
pdftron::SDF::DocSnapshot::Equals
bool Equals(DocSnapshot snapshot) const
pdftron::SDF::DocSnapshot::DocSnapshot
DocSnapshot()
pdftron::SDF::DocSnapshot::~DocSnapshot
~DocSnapshot()
pdftron::SDF::DocSnapshot::Destroy
void Destroy()