src/CSVCommand.h
branchv_0
changeset 16 15ee963675af
parent 15 157bb1d5e08a
equal deleted inserted replaced
15:157bb1d5e08a 16:15ee963675af
    21 #include <vector>
    21 #include <vector>
    22 #include <memory>
    22 #include <memory>
    23 
    23 
    24 #include <relpipe/writer/TypeId.h>
    24 #include <relpipe/writer/TypeId.h>
    25 
    25 
       
    26 #include "Configuration.h"
       
    27 
    26 namespace relpipe {
    28 namespace relpipe {
    27 namespace in {
    29 namespace in {
    28 namespace csv {
    30 namespace csv {
    29 
    31 
    30 class CSVCommand {
    32 class CSVCommand {
    31 private:
    33 private:
    32 	bool readValue(std::istream& input, std::stringstream& currentValue, bool& lastInRecord);
    34 	bool readValue(std::istream& input, std::stringstream& currentValue, bool& lastInRecord);
    33 public:
    35 public:
    34 	void process(std::istream& input, const vector<relpipe::writer::string_t>& args, std::shared_ptr<writer::RelationalWriter> writer);
    36 	void process(std::istream& input, std::shared_ptr<writer::RelationalWriter> writer, Configuration& configuration);
    35 
    37 
    36 };
    38 };
    37 
    39 
    38 }
    40 }
    39 }
    41 }