Loading...
Searching...
No Matches
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
16namespace pdftron { namespace SDF {
17
18
24{
25public:
26 DocSnapshot(const DocSnapshot& other);
27 DocSnapshot(TRN_DocSnapshot impl);
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
59#ifndef SWIGHIDDEN
60 TRN_DocSnapshot m_impl;
61#endif
62
63private:
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
DocSnapshot(TRN_DocSnapshot impl)
bool Equals(DocSnapshot snapshot) const
DocSnapshot(const DocSnapshot &other)
DocSnapshot & operator=(const DocSnapshot &other)
TRN_DocSnapshot m_impl
Definition DocSnapshot.h:60
TRN_UInt32 UInt32
Definition BasicTypes.h:13