diff options
| author | 2020-08-01 14:05:12 +0200 | |
|---|---|---|
| committer | 2020-08-01 20:29:20 +0200 | |
| commit | c35ae0246f09432d4ab54d6216fcab2167318967 (patch) | |
| tree | 9464593530f450780b46639de8d4013e0abf7bed /node/groupnode.h | |
| parent | fc07b874ed64b065eb59b57485bc6a3379700728 (diff) | |
| download | OneRoll-c35ae0246f09432d4ab54d6216fcab2167318967.tar.gz OneRoll-c35ae0246f09432d4ab54d6216fcab2167318967.zip | |
Group Operator can display complex output
Diffstat (limited to 'node/groupnode.h')
| -rw-r--r-- | node/groupnode.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/node/groupnode.h b/node/groupnode.h index afef8c0..84ff2bb 100644 --- a/node/groupnode.h +++ b/node/groupnode.h @@ -24,7 +24,7 @@ #include "node/executionnode.h" #include "result/scalarresult.h" -// typedef QList<qint64> DieGroup; +#include "result/stringresult.h" #include <QList> class DieGroup : public QList<qint64> @@ -47,7 +47,7 @@ private: class GroupNode : public ExecutionNode { public: - GroupNode(); + GroupNode(bool complexOutput= false); void run(ExecutionNode* previous); virtual QString toString(bool withLabel) const; virtual qint64 getPriority() const; @@ -63,8 +63,10 @@ protected: private: ScalarResult* m_scalarResult; + StringResult* m_stringResult; qint64 m_groupValue; QList<DieGroup> m_groupsList; + bool m_complexOutput= false; }; #endif // GROUPNODE_H |