add tags
[ecparse.git] / Tag.cpp
diff --git a/Tag.cpp b/Tag.cpp
new file mode 100644 (file)
index 0000000..28c6956
--- /dev/null
+++ b/Tag.cpp
@@ -0,0 +1,22 @@
+/**
+ * © 2008 by David Roden <droden@gmail.com>
+ */
+
+#include "Tag.h"
+
+Tag::Tag(TagType type, int id) {
+       this->type = type;
+       this->id = id;
+}
+
+Tag::~Tag() {
+}
+
+TagType Tag::getType() {
+       return type;
+}
+
+int Tag::getId() {
+       return id;
+}
+