HOG2
StringUtils.h
Go to the documentation of this file.
1 #ifndef STR_MANIPULATION_UTILS
2 #define STR_MANIPULATION_UTILS
3 
4 #include <vector>
5 #include <sstream>
6 #include <iostream>
7 #include <stdlib.h>
8 
10 std::string int_to_string(int i);
11 
13 std::string double_to_string(double i);
14 
18 std::vector<std::string> split(const std::string &s, char delim);
19 
20 std::string to_string_separator(int i);
21 
22 #endif
to_string_separator
std::string to_string_separator(int i)
Definition: StringUtils.cpp:26
double_to_string
std::string double_to_string(double i)
Converts a double to a string.
Definition: StringUtils.cpp:10
split
std::vector< std::string > split(const std::string &s, char delim)
Splits a string into elements.
Definition: StringUtils.cpp:16
int_to_string
std::string int_to_string(int i)
Converts an integer to a string.
Definition: StringUtils.cpp:4