source: icGREP/icgrep-devel/icgrep/pablo/pe_all.h @ 4199

Last change on this file since 4199 was 4199, checked in by nmedfort, 5 years ago

First stage of refactoring PabloE classes.

File size: 623 bytes
Line 
1/*
2 *  Copyright (c) 2014 International Characters.
3 *  This software is licensed to the public under the Open Software License 3.0.
4 *  icgrep is a trademark of International Characters.
5 */
6
7#ifndef PE_ALL_H
8#define PE_ALL_H
9
10#include "pe_pabloe.h"
11
12namespace pablo {
13
14class All : public PabloE {
15public:
16
17    All(const bool value)
18    : PabloE(ClassTypeId::All)
19    , mValue(value)
20    {
21
22    }
23
24    virtual ~All() {
25
26    }
27
28    inline bool getValue() const {
29        return mValue;
30    }
31
32    inline void setValue(const bool value) {
33        mValue = value;
34    }
35
36private:
37    bool mValue;
38};
39
40}
41
42#endif // PE_ALL_H
43
44
Note: See TracBrowser for help on using the repository browser.