aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/occurencecountnode.h
blob: 9c9aa138036e2cf0f8359158a602279bc7616ffc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef OCCURENCECOUNTNODE_H
#define OCCURENCECOUNTNODE_H

#include "executionnode.h"
#include "validator.h"

class OccurenceCountNode : public ExecutionNode
{
public:
    OccurenceCountNode();

    void run(ExecutionNode* previous = nullptr);
    virtual QString toString(bool withLabel)const;

    ExecutionNode* getCopy() const;
    qint64 getPriority() const;

private:
    qint64 m_width=0;
    qint64 m_height=0;
    Validator* m_validator;
};

#endif // OCCURENCECOUNTNODE_H