aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/libparser/node/countexecutenode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libparser/node/countexecutenode.h')
-rw-r--r--src/libparser/node/countexecutenode.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/libparser/node/countexecutenode.h b/src/libparser/node/countexecutenode.h
new file mode 100644
index 0000000..37b7a4f
--- /dev/null
+++ b/src/libparser/node/countexecutenode.h
@@ -0,0 +1,50 @@
+#ifndef COUNTEXECUTENODE_H
+#define COUNTEXECUTENODE_H
+
+#include "executionnode.h"
+
+#include "result/scalarresult.h"
+
+class ValidatorList;
+/**
+ * @brief The CountExecuteNode class
+ */
+class CountExecuteNode : public ExecutionNode
+{
+public:
+ /**
+ * @brief CountExecuteNode
+ */
+ CountExecuteNode();
+ virtual ~CountExecuteNode();
+ /**
+ * @brief run
+ * @param previous
+ */
+ virtual void run(ExecutionNode* previous);
+ /**
+ * @brief setValidator
+ */
+ virtual void setValidatorList(ValidatorList*);
+ /**
+ * @brief toString
+ * @return
+ */
+ virtual QString toString(bool withLabel) const;
+ /**
+ * @brief getPriority
+ * @return
+ */
+ virtual qint64 getPriority() const;
+ /**
+ * @brief getCopy
+ * @return
+ */
+ virtual ExecutionNode* getCopy() const;
+
+private:
+ ScalarResult* m_scalarResult;
+ ValidatorList* m_validatorList;
+};
+
+#endif // COUNTEXECUTENODE_H