 |
Blamite Game Engine - Strings
00326.06.27.21.0407.blamite
A library containing general purpose utilities and classes for use in multiple projects.
|
Go to the documentation of this file.
6 #define STRINGS_API __declspec(dllexport)
8 #define STRINGS_API __declspec(dllimport)
11 #define bstof(x) BlamStrings::Converters::StringToFloat(x);
12 #define bstod(x) BlamStrings::Converters::StringToDouble(x);
13 #define bstoi(x) BlamStrings::Converters::StringToInt(x);
#define STRINGS_API
Definition: converters.h:8
Namespace for Blamite's shared C++ library.
Definition: hooks.h:22
STRINGS_API int StringToInt(std::string string)
Converts a string representation of an integer to an int.
Definition: converters.cpp:130
STRINGS_API std::wstring ConvertStringToWstring(std::string string)
Converts a String to a Wide String.
Definition: converters.cpp:12
STRINGS_API std::string BytesToString(void *bytes, int bytes_length)
Converts a series of bytes to a string.
Definition: converters.cpp:166
STRINGS_API std::string WstringToString(std::wstring wide_string)
Converts a Wide String to a String.
Definition: converters.cpp:36
STRINGS_API bool IsStringInt(std::string string)
Checks whether or not a string is a valid representation of an integer.
Definition: converters.cpp:179
STRINGS_API double StringToDouble(std::string string)
Converts a string representation of a double to a double.
Definition: converters.cpp:148
STRINGS_API bool HexStringToChar(std::string hex, char *character)
Converts a hexadecimal code to its respective character.
Definition: converters.cpp:76
STRINGS_API bool IsStringFloat(std::string string)
Checks whether or not a string is a valid representation of a float.
Definition: converters.cpp:193
STRINGS_API bool StringToBool(std::string string)
Converts a string to a boolean.
Definition: converters.cpp:58
STRINGS_API float StringToFloat(std::string string)
Converts a string representation of a float to a float.
Definition: converters.cpp:112