add blob tag
[ecparse.git] / Tag.h
1 /**
2  * © 2008 by David Roden <droden@gmail.com>
3  */
4
5 #pragma once
6
7 #include "TagType.h"
8
9 class Tag {
10
11 protected:
12         Tag(TagType type, int id);
13         virtual ~Tag();
14
15 public:
16         TagType getType();
17         int getId();
18         virtual void* getValue() = 0;
19
20 private:
21         TagType type;
22         int id;
23
24 };
25