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