Jolt Physics
A multi core friendly Game Physics Engine
|
Go to the source code of this file.
Functions | |
JPH_NAMESPACE_BEGIN JPH_EXPORT String | StringFormat (const char *inFMT,...) |
template<typename T > | |
String | ConvertToString (const T &inValue) |
Convert type to string. | |
JPH_EXPORT void | StringReplace (String &ioString, const string_view &inSearch, const string_view &inReplace) |
Replace substring with other string. | |
JPH_EXPORT void | StringToVector (const string_view &inString, Array< String > &outVector, const string_view &inDelimiter=",", bool inClearVector=true) |
Convert a delimited string to an array of strings. | |
JPH_EXPORT void | VectorToString (const Array< String > &inVector, String &outString, const string_view &inDelimiter=",") |
Convert an array strings to a delimited string. | |
JPH_EXPORT String | ToLower (const string_view &inString) |
Convert a string to lower case. | |
JPH_EXPORT const char * | NibbleToBinary (uint32 inNibble) |
Converts the lower 4 bits of inNibble to a string that represents the number in binary format. | |
String ConvertToString | ( | const T & | inValue | ) |
Convert type to string.
JPH_EXPORT const char * NibbleToBinary | ( | uint32 | inNibble | ) |
Converts the lower 4 bits of inNibble to a string that represents the number in binary format.
JPH_NAMESPACE_BEGIN JPH_EXPORT String StringFormat | ( | const char * | inFMT, |
... | |||
) |
Create a formatted text string for debugging purposes. Note that this function has an internal buffer of 1024 characters, so long strings will be trimmed.
JPH_EXPORT void StringReplace | ( | String & | ioString, |
const string_view & | inSearch, | ||
const string_view & | inReplace | ||
) |
Replace substring with other string.
JPH_EXPORT void StringToVector | ( | const string_view & | inString, |
Array< String > & | outVector, | ||
const string_view & | inDelimiter = "," , |
||
bool | inClearVector = true |
||
) |
Convert a delimited string to an array of strings.
JPH_EXPORT String ToLower | ( | const string_view & | inString | ) |
Convert a string to lower case.
JPH_EXPORT void VectorToString | ( | const Array< String > & | inVector, |
String & | outString, | ||
const string_view & | inDelimiter = "," |
||
) |
Convert an array strings to a delimited string.