Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef LIBWCCL_VALUES_TSET_H
#define LIBWCCL_VALUES_TSET_H
#include <libwccl/values/value.h>
#include <libcorpus2/tag.h>
namespace Wccl {
class TSet : public Value
{
public:
WCCL_VALUE_PREAMBLE;
TSet()
: tag_()
{
}
explicit TSet(Corpus2::Tag tag)
: tag_(tag)
{
}
const Corpus2::Tag& get_tag() const {
return tag_;
}
void set_tag(const Corpus2::Tag& tag) {
tag_ = tag;
}
Corpus2::Tag& tag_ref() {
return tag_;
}
private:
Corpus2::Tag tag_;
};
} /* end ns Wccl */
#endif // LIBWCCL_VALUES_TSET_H