Toast Engine
Toggle main menu visibility
Loading...
Searching...
No Matches
csv.hpp
Go to the documentation of this file.
1
8
9
#pragma once
10
#include <string>
11
#include <string_view>
12
#include <
toast/export.hpp
>
13
#include <vector>
14
15
namespace
ui {
16
17
using
CsvRow = std::vector<std::string>;
18
using
CsvTable = std::vector<CsvRow>;
19
20
[[nodiscard]]
21
TOAST_API
auto
parseCsv(std::string_view text) -> CsvTable;
22
23
[[nodiscard]]
24
TOAST_API
auto
writeCsv(
const
CsvTable& table) -> std::string;
25
26
}
export.hpp
engine
src
toast
ui
csv.hpp
Generated by
1.17.0