Engauge Digitizer  2
 All Classes Functions Variables Typedefs Enumerations Friends Pages
CallbackDocumentHash.h
1 /******************************************************************************************************
2  * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3  * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4  * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5  ******************************************************************************************************/
6 
7 #ifndef CALLBACK_BOUNDING_HASH_H
8 #define CALLBACK_BOUNDING_HASH_H
9 
10 #include "CallbackSearchReturn.h"
11 #include "DocumentAxesPointsRequired.h"
12 #include "DocumentHash.h"
13 #include <QCryptographicHash>
14 #include <QString>
15 
16 class Point;
17 
20 {
21 public:
23  CallbackDocumentHash(DocumentAxesPointsRequired documentAxesPointsRequired);
24  virtual ~CallbackDocumentHash ();
25 
27  CallbackSearchReturn callback (const QString &curveName,
28  const Point &point);
29 
31  DocumentHash hash() const;
32 
33 private:
35 
36  const DocumentAxesPointsRequired m_documentAxesPointsRequired;
37  QCryptographicHash m_documentHash;
38 };
39 
40 #endif // CALLBACK_BOUNDING_HASH_H
CallbackSearchReturn callback(const QString &curveName, const Point &point)
Callback method.
Callback for DocumentHash value for a Document.
Class that represents one digitized point. The screen-to-graph coordinate transformation is always ex...
Definition: Point.h:25
DocumentHash hash() const
Computed hash value.