File indexing completed on 2024-05-12 05:39:27
0001 #ifndef COUNTEXECUTENODE_H 0002 #define COUNTEXECUTENODE_H 0003 0004 #include "executionnode.h" 0005 0006 #include "result/scalarresult.h" 0007 0008 class ValidatorList; 0009 /** 0010 * @brief The CountExecuteNode class 0011 */ 0012 class CountExecuteNode : public ExecutionNode 0013 { 0014 public: 0015 /** 0016 * @brief CountExecuteNode 0017 */ 0018 CountExecuteNode(); 0019 virtual ~CountExecuteNode(); 0020 /** 0021 * @brief run 0022 * @param previous 0023 */ 0024 virtual void run(ExecutionNode* previous); 0025 /** 0026 * @brief setValidator 0027 */ 0028 virtual void setValidatorList(ValidatorList*); 0029 /** 0030 * @brief toString 0031 * @return 0032 */ 0033 virtual QString toString(bool withLabel) const; 0034 /** 0035 * @brief getPriority 0036 * @return 0037 */ 0038 virtual qint64 getPriority() const; 0039 /** 0040 * @brief getCopy 0041 * @return 0042 */ 0043 virtual ExecutionNode* getCopy() const; 0044 0045 private: 0046 ScalarResult* m_scalarResult; 0047 ValidatorList* m_validatorList; 0048 }; 0049 0050 #endif // COUNTEXECUTENODE_H