include/relpipe/reader/RelationalReader.h
branchv_0
changeset 17 ec750c536705
parent 14 e8de089f95dd
child 29 755978b0935c
equal deleted inserted replaced
16:9b8139bb0519 17:ec750c536705
     2 
     2 
     3 #include <iostream>
     3 #include <iostream>
     4 
     4 
     5 #include "typedefs.h"
     5 #include "typedefs.h"
     6 #include "TypeId.h"
     6 #include "TypeId.h"
       
     7 #include "handlers/RelationalReaderBaseHandler.h"
       
     8 #include "handlers/RelationalReaderStringHandler.h"
       
     9 #include "handlers/RelationalReaderValueHandler.h"
     7 
    10 
     8 namespace relpipe {
    11 namespace relpipe {
     9 namespace reader {
    12 namespace reader {
    10 
    13 
    11 class RelationalReader {
    14 class RelationalReader {
    18 	 * @return string code of given type
    21 	 * @return string code of given type
    19 	 * @throws RelpipeReaderException on unsupported typeId
    22 	 * @throws RelpipeReaderException on unsupported typeId
    20 	 */
    23 	 */
    21 	virtual string_t toTypeCode(const TypeId typeId) = 0;
    24 	virtual string_t toTypeCode(const TypeId typeId) = 0;
    22 
    25 
       
    26 	virtual void addHandler(handlers::RelationalReaderStringHadler* handler) = 0;
       
    27 
       
    28 	virtual void addHandler(handlers::RelationalReaderValueHadler* handler) = 0;
       
    29 	
       
    30 	virtual void process() = 0;
       
    31 
    23 };
    32 };
    24 
    33 
    25 }
    34 }
    26 }
    35 }