1 #ifndef HRK_TOKEN_UTILS_H
2 #define HRK_TOKEN_UTILS_H
17 extern std::string trim(
const std::string& token);
18 extern std::vector<std::string> split(
const std::string& line,
19 const char* separator =
",");
20 extern std::string join(std::vector<std::string>& tokens,
21 const char* separator =
"");
22 extern void remove_empty_tokens(std::vector<std::string>& tokens);
25 SizeF decode_size(
const std::string& size_line);
26 std::string encode_size(
const SizeF& size);
29 PointF decode_point(
const std::string& point_line);
30 std::string encode_point(
const PointF& point);