source: icGREP/icgrep-devel/icgrep/pablo/pe_scanthru.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: 767 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 PS_SCANTHRU_H
8#define PS_SCANTHRU_H
9
10#include "ps_pablos.h"
11
12namespace pablo {
13
14class ScanThru : public  PabloE {
15public:
16    ScanThru(PabloE* from, PabloE* thru)
17    : PabloE(ClassTypeId::ScanThru)
18    , mScanFrom(from)
19    , mScanThru(thru)
20    {
21
22    }
23
24    virtual ~ScanThru() {
25        delete mScanFrom;
26        delete mScanThru;
27    }
28
29    PabloE * getScanFrom() const {
30        return mScanFrom;
31    }
32
33    PabloE * getScanThru() const {
34        return mScanThru;
35    }
36private:
37    PabloE* mScanFrom;
38    PabloE* mScanThru;
39};
40
41}
42
43#endif // PS_SCANTHRU_H
44
45
46
Note: See TracBrowser for help on using the repository browser.