source: icGREP/icgrep-devel/icgrep/pablo/pe_advance.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: 592 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_ADVANCE_H
8#define PE_ADVANCE_H
9
10#include "pe_pabloe.h"
11
12namespace pablo {
13
14class Advance : public PabloE {
15public:
16    Advance(PabloE * expr)
17    : PabloE(ClassTypeId::Advance)
18    , mExpr(expr) {
19
20    }
21
22    virtual ~Advance() {
23        delete mExpr;
24    }
25
26    inline PabloE * getExpr() const {
27        return mExpr;
28    }
29
30private:
31    PabloE * mExpr;
32};
33
34}
35
36#endif // PE_ADVANCE_H
37
38
39
Note: See TracBrowser for help on using the repository browser.