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