]> git.tdb.fi Git - libs/gl.git/blob - source/tag.h
Drop Id tags and copyright notices from files
[libs/gl.git] / source / tag.h
1 #ifndef MSP_GL_TAG_H_
2 #define MSP_GL_TAG_H_
3
4 #include <string>
5
6 namespace Msp {
7 namespace GL {
8
9 struct Tag
10 {
11         unsigned id;
12
13         Tag(): id(0) { }
14         Tag(const char *);
15         Tag(const std::string &s);
16
17         bool operator<(const Tag &t) const { return id<t.id; }
18         bool operator==(const Tag &t) const { return id==t.id; }
19 };
20
21 } // namespace GL
22 } // namespace Msp
23
24 #endif