equal
deleted
inserted
replaced
38 |
38 |
39 using namespace relpipe; |
39 using namespace relpipe; |
40 using namespace relpipe::reader; |
40 using namespace relpipe::reader; |
41 using namespace relpipe::reader::handlers; |
41 using namespace relpipe::reader::handlers; |
42 |
42 |
43 class CSVHandler : public RelationalReaderStringHadler { |
43 class CSVHandler : public RelationalReaderStringHandler { |
44 private: |
44 private: |
45 std::ostream& output; |
45 std::ostream& output; |
46 const char QUOTE = '"'; |
46 const char QUOTE = '"'; |
47 std::wstring_convert<std::codecvt_utf8<wchar_t>> convertor; // TODO: local system encoding or generate CSV always in UTF-8 like XML? |
47 std::wstring_convert<std::codecvt_utf8<wchar_t>> convertor; // TODO: local system encoding or generate CSV always in UTF-8 like XML? |
48 std::vector<AttributeMetadata> firstAttributes; |
48 std::vector<AttributeMetadata> firstAttributes; |