|
dl
|
csv文件操作相关 更多...
#include <string>#include "dl_file.h"#include "memory/dl_stream_output.h"#include "dl_type.h"#include "base/dl_range_find.h"#include "base/dl_vector2.h"#include "math/dl_math.h"#include "memory/dl_stream_input.h"命名空间 | |
| namespace | dl |
| namespace | dl::FileCsv |
| csv格式解析 | |
函数 | |
| bool | dl::FileCsv::Read (std::string_view path_name, Vector2< std::string > &ret) |
| 读取一个CSV文件,拆解为每行(换行使用 替代,所有/变为\) | |
| template<typename T, typename F> | |
| void | dl::FileCsv::Deserialize (std::string_view path_name, F fn) |
| 序列化 逗号分隔文件 | |
| template<typename T> | |
| void | dl::FileCsv::Deserialize (std::string_view path_name, std::vector< T > &container) |
变量 | |
| constexpr uint32_t | dl::FileCsv::CSV_FILE_TYPE = 316 |