趣味で作ってるロボット用ソフトウェア
 All Classes Files Functions Enumerations Enumerator Friends Pages
Functions
token_utils.h File Reference

トークンまわりの関数群 More...

#include <string>
#include <vector>
#include "SizeF.h"
#include "PointF.h"
Include dependency graph for token_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

std::string hrk::trim (const std::string &token)
 
std::vector< std::string > hrk::split (const std::string &line, const char *separator=",")
 
std::string hrk::join (std::vector< std::string > &tokens, const char *separator="")
 
void hrk::remove_empty_tokens (std::vector< std::string > &tokens)
 
SizeF hrk::decode_size (const std::string &size_line)
 
std::string hrk::encode_size (const SizeF &size)
 
PointF hrk::decode_point (const std::string &point_line)
 
std::string hrk::encode_point (const PointF &point)
 

Detailed Description

トークンまわりの関数群