diff options
| author | 2020-01-30 01:27:15 +0100 | |
|---|---|---|
| committer | 2020-03-28 02:05:05 +0100 | |
| commit | 653ba9395a36cc20ec1d68c9a9cae78973fa334c (patch) | |
| tree | 72753ed3bdca117baf001cdf8251b1fb22276eeb /node/occurencecountnode.h | |
| parent | 22d71d0032e2f44a8f267895aea3bd87864791b3 (diff) | |
| download | OneRoll-653ba9395a36cc20ec1d68c9a9cae78973fa334c.tar.gz OneRoll-653ba9395a36cc20ec1d68c9a9cae78973fa334c.zip | |
add unicity and repeat function part2
Diffstat (limited to 'node/occurencecountnode.h')
| -rw-r--r-- | node/occurencecountnode.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/node/occurencecountnode.h b/node/occurencecountnode.h index 492b295..aa5c2de 100644 --- a/node/occurencecountnode.h +++ b/node/occurencecountnode.h @@ -21,8 +21,8 @@ #define OCCURENCECOUNTNODE_H #include "executionnode.h" -#include "validator.h" +class ValidatorList; class StringResult; class DiceResult; class OccurenceCountNode : public ExecutionNode @@ -42,8 +42,8 @@ public: qint64 getHeight() const; void setHeight(const qint64& height); - Validator* getValidator() const; - void setValidator(Validator* validator); + ValidatorList* getValidatorList() const; + void setValidatorList(ValidatorList* validator); private: void runForStringResult(const std::map<qint64, qint64>& mapOccurence, QVector<qint64>& vec); @@ -52,7 +52,7 @@ private: private: qint64 m_width= 1; qint64 m_height= 0; - Validator* m_validator= nullptr; + ValidatorList* m_validatorList= nullptr; StringResult* m_stringResult= nullptr; DiceResult* m_diceResult= nullptr; }; |