Ignore:
Timestamp:
Sep 23, 2014, 3:15:47 PM (5 years ago)
Author:
nmedfort
Message:

Some refactoring of the RE CC class and CC Compiler; Moved RE into re subdirectory.

Location:
icGREP/icgrep-devel/icgrep/re
Files:
1 added
1 moved

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/re/re_rep.cpp

    r4182 r4187  
    66
    77#include "re_rep.h"
    8 
    9 Rep::Rep(RE* re, int lb, int ub)
    10 {
    11     mRE = re;
    12     mLB = lb;
    13     mUB = ub;
    14 }
    15 
    16 Rep::~Rep()
    17 {
    18     delete mRE;
    19 }
    20 
    21 RE* Rep::getRE() const
    22 {
    23     return mRE;
    24 }
    25 
    26 int Rep::getLB() const
    27 {
    28     return mLB;
    29 }
    30 
    31 void Rep::setLB(int lb)
    32 {
    33     mLB = lb;
    34 }
    35 
    36 int Rep::getUB() const
    37 {
    38     return mUB;
    39 }
    40 
    41 void Rep::setUB(int ub)
    42 {
    43     mUB = ub;
    44 }
    45 
    46 
Note: See TracChangeset for help on using the changeset viewer.