equal
deleted
inserted
replaced
18 * @param typeCode string type code as defined in Specification |
18 * @param typeCode string type code as defined in Specification |
19 * @return numeric id of given type |
19 * @return numeric id of given type |
20 * @throws RelpipeWriterException on unsupported typeCode |
20 * @throws RelpipeWriterException on unsupported typeCode |
21 */ |
21 */ |
22 virtual TypeId toTypeId(const string_t typeCode) = 0; |
22 virtual TypeId toTypeId(const string_t typeCode) = 0; |
23 |
|
24 /** |
|
25 * TODO: not needed for writing → move to lib-reader. |
|
26 * |
|
27 * @param typeId numeric type id as defined in Specification |
|
28 * @return string code of given type |
|
29 * @throws RelpipeWriterException on unsupported typeId |
|
30 */ |
|
31 virtual string_t toTypeCode(const TypeId typeId) = 0; |
|
32 |
23 |
33 /** |
24 /** |
34 * TODO: use custom extensible class instead of std::pair |
25 * TODO: use custom extensible class instead of std::pair |
35 * |
26 * |
36 * @param name name of the relation (table) |
27 * @param name name of the relation (table) |