 |
Blamite Game Engine - Blam (Core)
|
Go to the documentation of this file.
11 #define bstof(x) Blam::Converters::StringToFloat(x);
12 #define bstod(x) Blam::Converters::StringToDouble(x);
13 #define bstoi(x) Blam::Converters::StringToInt(x);
Namespace surrounding all major engine components.
Definition: blam_api.h:17
double StringToDouble(std::string string)
Converts a string representation of a double to a double.
Definition: converters.cpp:146
std::wstring ConvertStringToWstring(std::string string)
Converts a String to a Wide String.
Definition: converters.cpp:10
bool StringToBool(std::string string)
Converts a string to a boolean.
Definition: converters.cpp:56
int StringToInt(std::string string)
Converts a string representation of an integer to an int.
Definition: converters.cpp:128
std::string WstringToString(std::wstring wide_string)
Converts a Wide String to a String.
Definition: converters.cpp:34
std::string BytesToString(void *bytes, int bytes_length)
Converts a series of bytes to a string.
Definition: converters.cpp:164
bool HexStringToChar(std::string hex, char *character)
Converts a hexadecimal code to its respective character.
Definition: converters.cpp:74
float StringToFloat(std::string string)
Converts a string representation of a float to a float.
Definition: converters.cpp:110