- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
pdftron::SDF::DocSnapshot Class Reference

`#include <DocSnapshot.h>`

## Public Member Functions
| DocSnapshot (const DocSnapshot &other)
| DocSnapshot (TRN_DocSnapshot impl)
DocSnapshot & | operator= (const DocSnapshot &other)
| ~DocSnapshot ()
void | Destroy ()
UInt32 | GetHash () const
bool | IsValid () const
bool | Equals (DocSnapshot snapshot) const
| DocSnapshot ()

## Public Attributes
TRN_DocSnapshot | m_impl

## Detailed Description

The class DocSnapshot. Represents a state of the document.

Definition at line 23 of file DocSnapshot.h.

## Constructor & Destructor Documentation

pdftron::SDF::DocSnapshot::DocSnapshot | ( | const DocSnapshot & | other | ) |

pdftron::SDF::DocSnapshot::DocSnapshot | ( | TRN_DocSnapshot | impl | ) |

pdftron::SDF::DocSnapshot::~DocSnapshot | ( |  | ) |

pdftron::SDF::DocSnapshot::DocSnapshot | ( |  | ) |

## Member Function Documentation

void pdftron::SDF::DocSnapshot::Destroy | ( |  | ) |

bool pdftron::SDF::DocSnapshot::Equals | ( | DocSnapshot | snapshot | ) | const

Returns whether this snapshot's document state is equivalent to another.

Parameters

  snapshot | – the other snapshot with which to compare.

Returns
  Whether this snapshot's document state is equivalent to another.

UInt32 pdftron::SDF::DocSnapshot::GetHash | ( |  | ) | const

Returns a hash that is unique to particular document states.

Returns
  A hash that is unique to particular document states.

bool pdftron::SDF::DocSnapshot::IsValid | ( |  | ) | const

Returns whether this snapshot is valid.

Returns
  Whether this snapshot is valid.

DocSnapshot& pdftron::SDF::DocSnapshot::operator= | ( | const DocSnapshot & | other | ) |

## Member Data Documentation

TRN_DocSnapshot pdftron::SDF::DocSnapshot::m_impl

Definition at line 60 of file DocSnapshot.h.

The documentation for this class was generated from the following file:

- SDF/DocSnapshot.h