include/relpipe/writer/RelationalWriter.h
branchv_0
changeset 26 8ae93a43fed2
parent 24 00fe696500c5
child 27 a64afb2d24c9
equal deleted inserted replaced
25:135ef93a4ac2 26:8ae93a43fed2
    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)