# HG changeset patch # User František Kučera # Date 1535184780 -7200 # Node ID 53f4887dadb4c4955003dd154fc83b34a2310a44 # Parent 118b68d73420609909e52c3bf58c755d56d846fd todo comments diff -r 118b68d73420 -r 53f4887dadb4 include/relpipe/writer/RelationalWriter.h --- a/include/relpipe/writer/RelationalWriter.h Sun Aug 19 20:36:33 2018 +0200 +++ b/include/relpipe/writer/RelationalWriter.h Sat Aug 25 10:13:00 2018 +0200 @@ -23,6 +23,8 @@ virtual TypeId toTypeId(const string_t typeCode) = 0; /** + * TODO: not needed for writing → move to lib-reader. + * * @param typeId numeric type id as defined in Specification * @return string code of given type * @throws RelpipeWriterException on unsupported typeId @@ -30,6 +32,8 @@ virtual string_t toTypeCode(const TypeId typeId) = 0; /** + * TODO: use custom extensible class instead of std::pair + * * @param name name of the relation (table) * @param attributes list of attributes (columns) containing their names and types * @param writeHeader header might be omitted – when appending new records to a stream alreaready containing the header