aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/occurencecountnode.h
diff options
context:
space:
mode:
Diffstat (limited to 'node/occurencecountnode.h')
-rw-r--r--node/occurencecountnode.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/node/occurencecountnode.h b/node/occurencecountnode.h
new file mode 100644
index 0000000..9c9aa13
--- /dev/null
+++ b/node/occurencecountnode.h
@@ -0,0 +1,24 @@
+#ifndef OCCURENCECOUNTNODE_H
+#define OCCURENCECOUNTNODE_H
+
+#include "executionnode.h"
+#include "validator.h"
+
+class OccurenceCountNode : public ExecutionNode
+{
+public:
+ OccurenceCountNode();
+
+ void run(ExecutionNode* previous = nullptr);
+ virtual QString toString(bool withLabel)const;
+
+ ExecutionNode* getCopy() const;
+ qint64 getPriority() const;
+
+private:
+ qint64 m_width=0;
+ qint64 m_height=0;
+ Validator* m_validator;
+};
+
+#endif // OCCURENCECOUNTNODE_H