diff options
| author | 2020-04-26 16:31:31 +0200 | |
|---|---|---|
| committer | 2020-04-26 16:31:31 +0200 | |
| commit | 5f68d8399b771da0f3500a5d037315607e25c78d (patch) | |
| tree | f1600941bde0bfd427f92f8d0bfa7fb97c65d4c6 /validator.h | |
| parent | 214945c0cbf14544df5defdfea0bc89c87626274 (diff) | |
| download | OneRoll-5f68d8399b771da0f3500a5d037315607e25c78d.tar.gz OneRoll-5f68d8399b771da0f3500a5d037315607e25c78d.zip | |
Add support for OnEachValue compare method.
Diffstat (limited to 'validator.h')
| -rw-r--r-- | validator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/validator.h b/validator.h index fafe443..7180bac 100644 --- a/validator.h +++ b/validator.h @@ -90,6 +90,8 @@ protected: template <typename Functor> qint64 onEach(const std::vector<Die*>& b, bool recursive, bool unlight, Functor functor) const; template <typename Functor> + qint64 onEachValue(const std::vector<Die*>& b, bool recursive, bool unlight, Functor functor) const; + template <typename Functor> qint64 oneOfThem(const std::vector<Die*>& b, bool recursive, bool unlight, Functor functor) const; template <typename Functor> qint64 allOfThem(const std::vector<Die*>& b, bool recursive, bool unlight, Functor functor) const; |