diff options
Diffstat (limited to 'node')
| -rw-r--r-- | node/occurencecountnode.cpp | 6 | ||||
| -rw-r--r-- | node/occurencecountnode.h | 24 |
2 files changed, 30 insertions, 0 deletions
diff --git a/node/occurencecountnode.cpp b/node/occurencecountnode.cpp new file mode 100644 index 0000000..6343e8e --- /dev/null +++ b/node/occurencecountnode.cpp @@ -0,0 +1,6 @@ +#include "occurencecountnode.h" + +OccurenceCountNode::OccurenceCountNode() +{ + +} 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 |