include/RelationalWriter.h
branchv_0
changeset 11 27bc67e7c80f
parent 9 0a40752e401d
child 13 e7234dd45166
equal deleted inserted replaced
10:40ab091e5dfa 11:27bc67e7c80f
    16 
    16 
    17 	virtual integer_t toTypeId(const string_t typeCode) = 0;
    17 	virtual integer_t toTypeId(const string_t typeCode) = 0;
    18 
    18 
    19 	virtual string_t toTypeCode(const integer_t typeId) = 0;
    19 	virtual string_t toTypeCode(const integer_t typeId) = 0;
    20 
    20 
    21 	virtual void startRelation(std::vector<std::pair<string_t, string_t>> attributes, boolean_t writeHeader) = 0;
    21 	virtual void startRelation(string_t name, std::vector<std::pair<string_t, string_t>> attributes, boolean_t writeHeader) = 0;
    22 
    22 
    23 	virtual void writeRecord(std::vector<string_t> attributes) = 0;
    23 	virtual void writeRecord(std::vector<string_t> attributes) = 0;
    24 
    24 
    25 	static RelationalWriter* create(std::ostream &output);
    25 	static RelationalWriter* create(std::ostream &output);
    26 };
    26 };