HOG2
Functions
StringUtils.cpp File Reference
#include "StringUtils.h"
#include <cmath>
Include dependency graph for StringUtils.cpp:

Go to the source code of this file.

Functions

std::string int_to_string (int i)
 Converts an integer to a string. More...
 
std::string double_to_string (double i)
 Converts a double to a string. More...
 
std::vector< std::string > split (const std::string &s, char delim)
 Splits a string into elements. More...
 
std::string to_string_separator (int i)
 

Function Documentation

◆ double_to_string()

std::string double_to_string ( double  i)

Converts a double to a string.

Definition at line 10 of file StringUtils.cpp.

◆ int_to_string()

std::string int_to_string ( int  i)

Converts an integer to a string.

Definition at line 4 of file StringUtils.cpp.

◆ split()

std::vector<std::string> split ( const std::string &  s,
char  delim 
)

◆ to_string_separator()

std::string to_string_separator ( int  i)