|
dl
|
函数 | |
| bool | Read (std::string_view path_name, Vector2< std::string > &ret) |
| 读取一个CSV文件,拆解为每行(换行使用 替代,所有/变为\) 更多... | |
| void | Serialize (std::string_view path_name, std::string_view out) |
| 序列化 逗号分隔文件 更多... | |
| template<typename T , typename F > | |
| void | Deserialize (std::string_view path_name, F fn) |
| 反序列化 序列化的Csv文件到 对象 更多... | |
| template<typename T > | |
| void | Deserialize (std::string_view path_name, std::vector< T > &container) |
变量 | |
| constexpr uint32_t | CSV_FILE_TYPE = 316 |
| void dl::FileCsv::Deserialize | ( | std::string_view | path_name, |
| F | fn | ||
| ) |
反序列化 序列化的Csv文件到 对象
在文件 dl_file_csv.h 第 394 行定义.
| void dl::FileCsv::Deserialize | ( | std::string_view | path_name, |
| std::vector< T > & | container | ||
| ) |
在文件 dl_file_csv.h 第 427 行定义.
| bool dl::FileCsv::Read | ( | std::string_view | path_name, |
| Vector2< std::string > & | ret | ||
| ) |
读取一个CSV文件,拆解为每行(换行使用
替代,所有/变为\)
| [in] | path_name | 路径名称 |
| 如果失败,会输出日志 |
在文件 dl_file_csv.h 第 36 行定义.
| void dl::FileCsv::Serialize | ( | std::string_view | path_name, |
| std::string_view | out | ||
| ) |
序列化 逗号分隔文件
在文件 dl_file_csv.h 第 132 行定义.
|
constexpr |
在文件 dl_file_csv.h 第 27 行定义.