MT Core (C++)
Core library for replacing C++ standard in project usage
Loading...
Searching...
No Matches
writer.hpp File Reference
Include dependency graph for csv/writer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mtcore::csv::RowEnd
 Special output-only type for indicating the end of a row. More...
 
struct  mtcore::csv::ColEnd
 Special output-only type for indicating the end of a colum. More...
 

Namespaces

namespace  mtcore
 Core library for C++ with Zig-related functionality.
 
namespace  mtcore::csv
 CSV namespace for CSV-related utilities.
 

Typedefs

using mtcore::csv::Column = std::variant<i64, u64, Slice<const char>, f64>
 Column type.
 
using mtcore::csv::WriteElem = std::variant<i64, u64, Slice<const char>, f64, Slice<const Column>, RowEnd, ColEnd>
 Elements that can be written to a CSV writer.
 

Functions

template<WriterImpl WI>
io::Writer< csv::impl::Writer< WI > > mtcore::csv::writer (io::Writer< WI > &underlying, Options opts={})
 Creates a CSV writer which will encode the data before writing it out.