add tags
[ecparse.git] / Tag.h
diff --git a/Tag.h b/Tag.h
new file mode 100644 (file)
index 0000000..926c58a
--- /dev/null
+++ b/Tag.h
@@ -0,0 +1,25 @@
+/**
+ * © 2008 by David Roden <droden@gmail.com>
+ */
+
+#pragma once
+
+#include "TagType.h"
+
+class Tag {
+
+protected:
+       Tag(TagType type, int id);
+       virtual ~Tag();
+
+public:
+       TagType getType();
+       int getId();
+       virtual void* getValue() = 0;
+
+private:
+       TagType type;
+       int id;
+
+};
+