Loading...
Searching...
No Matches
ResultSnapshot.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_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
23 class ResultSnapshot
24{
25 public:
26 ResultSnapshot(const ResultSnapshot& other);
27 ResultSnapshot(TRN_ResultSnapshot impl);
28 ResultSnapshot& operator= (const ResultSnapshot& other);
29 ~ResultSnapshot();
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
68 ResultSnapshot();
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
BasicTypes.h
PDFDoc.h
UString.h
pdftron::SDF::DocSnapshot
Definition DocSnapshot.h:24
pdftron::SDF::ResultSnapshot::CurrentState
DocSnapshot CurrentState() const
pdftron::SDF::ResultSnapshot::ResultSnapshot
ResultSnapshot(const ResultSnapshot &other)
pdftron::SDF::ResultSnapshot::IsOk
bool IsOk() const
pdftron::SDF::ResultSnapshot::Destroy
void Destroy()
pdftron::SDF::ResultSnapshot::IsNullTransition
bool IsNullTransition() const
pdftron::SDF::ResultSnapshot::ResultSnapshot
ResultSnapshot()
pdftron::SDF::ResultSnapshot::~ResultSnapshot
~ResultSnapshot()
pdftron::SDF::ResultSnapshot::m_impl
TRN_ResultSnapshot m_impl
Definition ResultSnapshot.h:64
pdftron::SDF::ResultSnapshot::ResultSnapshot
ResultSnapshot(TRN_ResultSnapshot impl)
pdftron::SDF::ResultSnapshot::operator=
ResultSnapshot & operator=(const ResultSnapshot &other)
pdftron::SDF::ResultSnapshot::PreviousState
DocSnapshot PreviousState() const
pdftron::SDF
Definition DictIterator.h:12
pdftron
Definition BasicTypes.h:10