HOG2
|
#include <vector>
#include <sstream>
#include <iostream>
#include <stdlib.h>
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) |
std::string double_to_string | ( | double | i | ) |
Converts a double to a string.
Definition at line 10 of file StringUtils.cpp.
std::string int_to_string | ( | int | i | ) |
Converts an integer to a string.
Definition at line 4 of file StringUtils.cpp.
std::vector<std::string> split | ( | const std::string & | s, |
char | delim | ||
) |
Splits a string into elements.
The delimiter is selected by the user.
Definition at line 16 of file StringUtils.cpp.
Referenced by Map::AdjacentEdges(), Map::DoNormal(), Map::GetCornerHeight(), Map::GetHeight(), Map::GetTerrainType(), Map3DGrid::RemovePoint(), Map::SetCornerHeight(), Map::SetHeight(), Map::SetSplit(), and Map::SetTerrainType().
std::string to_string_separator | ( | int | i | ) |
Definition at line 26 of file StringUtils.cpp.
References to_string_separator().
Referenced by BidirectionalProblemAnalyzer< state, action, environment >::SaveSVG(), and to_string_separator().