source: icGREP/icgrep-devel/icgrep/re_name.cpp @ 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: 408 bytes
Line 
1#include "re_name.h"
2
3Name::Name()
4{
5    mName = "";
6    mType = Name::FixedLength;
7}
8
9Name::Name(std::string name)
10{
11    mName = name;
12    mType = Name::FixedLength;
13}
14
15Name::~Name(){}
16
17void Name::setName(std::string name)
18{
19    mName = name;
20}
21
22std::string Name::getName()
23{
24    return mName;
25}
26
27void Name::setType(Name::Type type)
28{
29    mType = type;
30}
31
32Name::Type Name::getType()
33{
34    return mType;
35}
36
37
Note: See TracBrowser for help on using the repository browser.