6 #ifndef TURI_SFRAME_CSV_WRITER_HPP 7 #define TURI_SFRAME_CSV_WRITER_HPP 11 #include <core/data/flexible_type/flexible_type.hpp> 98 void write_verbatim(std::ostream& out,
const std::vector<std::string>& row);
104 void write(std::ostream& out,
const std::vector<flexible_type>& row);
122 bool allow_empty_output=
true);
131 void csv_print_internal(std::string& out,
const flexible_type& val);
145 std::string m_complex_type_temporary;
146 std::string m_complex_type_escape_buffer;
147 size_t m_complex_type_escape_buffer_len = 0;
153 std::string m_string_escape_buffer;
154 size_t m_string_escape_buffer_len = 0;
void write_verbatim(std::ostream &out, const std::vector< std::string > &row)
NOT IMPLEMENTED. Equivalent to QUOTE_NONNUMERIC.
void csv_print(std::ostream &out, const flexible_type &val, bool allow_empty_output=true)
void write(std::ostream &out, const std::vector< flexible_type > &row)
csv_quote_level quote_level
Equivalent to python csv.QUOTE_NONE. No quoting is performed.
std::string line_terminator