source: icGREP/icgrep-devel/icgrep/re_name.h @ 3940

Last change on this file since 3940 was 3940, checked in by daled, 5 years ago

The framework for the unicode categories is in place. The static c++ code for each of the categories just needs to be placed into the stub unicode categories class.

File size: 407 bytes
RevLine 
[3917]1#ifndef RE_NAME_H
2#define RE_NAME_H
3
4#include "re_re.h"
5
6#include <string>
7
8class Name : public RE
9{
10public:
[3940]11    typedef enum {FixedLength,Unicode,UnicodeCategory} Type;
[3935]12    Name();
[3917]13    Name(std::string name);
[3935]14    void setName(std::string name);
[3917]15    std::string getName();
[3940]16    void setType(Type type);
17    Type getType();
[3917]18    ~Name();
19private:
20    std::string mName;
[3940]21    Type mType;
[3917]22};
23
24#endif // RE_NAME_H
Note: See TracBrowser for help on using the repository browser.