aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validator.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2016-11-28 00:36:15 +0100
committerRenaud G <renaud@rolisteam.org>2016-11-28 00:36:15 +0100
commit13e297604b00615d47352538e3c82ea1ac700d4c (patch)
tree567efe03594d261831897f03a7821c4c6eeac59b /validator.h
parentcdd1716bd1aa8d9bbd0137aa98ff24867b6b3a0e (diff)
downloadOneRoll-13e297604b00615d47352538e3c82ea1ac700d4c.tar.gz
OneRoll-13e297604b00615d47352538e3c82ea1ac700d4c.zip
-Add API for copying a branch of execution node.
-Allow to use if node several times.
Diffstat (limited to 'validator.h')
-rw-r--r--validator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/validator.h b/validator.h
index 6a404da..edb72a3 100644
--- a/validator.h
+++ b/validator.h
@@ -59,6 +59,11 @@ public:
* @return
*/
virtual quint64 getValidRangeSize(quint64 faces) const = 0 ;
+ /**
+ * @brief getCopy
+ * @return return a copy of this validator
+ */
+ virtual Validator* getCopy() const = 0;
};
#endif // VALIDATOR_H