include/RelationalWriter.h
branchv_0
changeset 13 e7234dd45166
parent 11 27bc67e7c80f
child 14 733334eca89b
--- a/include/RelationalWriter.h	Sat Jul 21 23:01:47 2018 +0200
+++ b/include/RelationalWriter.h	Sat Jul 21 23:46:29 2018 +0200
@@ -4,7 +4,8 @@
 #include <iostream>
 #include <vector>
 
-#include "../include/typedefs.h"
+#include "typedefs.h"
+#include "TypeId.h"
 
 namespace relpipe {
 namespace writer {
@@ -18,7 +19,7 @@
 
 	virtual string_t toTypeCode(const integer_t typeId) = 0;
 
-	virtual void startRelation(string_t name, std::vector<std::pair<string_t, string_t>> attributes, boolean_t writeHeader) = 0;
+	virtual void startRelation(string_t name, std::vector<std::pair<string_t, TypeId>> attributes, boolean_t writeHeader) = 0;
 
 	virtual void writeRecord(std::vector<string_t> attributes) = 0;