EDLString and EDLSysString classes and associated EDL string manipulation functions. More...
#include <string>
#include <sstream>
#include <limits>
#include <edl/platform.h>
#include <edl/edltypes.h>
#include <edl/edlvector.h>
Functions | |
uint8 | sxtob (char c) |
sxtob converts a hexadecimal character into corresponding (unsigned) integer value. (Note that there is no guard against being supplied with non-hexadecimal characters) More... | |
bool | edlstringEqualsIgnoreCaseCnt (const EDLString &str1, const EDLString &str2, size_t len) |
edlstringEqualsIgnoreCaseCnt performs a case-insensitive maximum-length-constrained string equality test More... | |
size_t | edlstringFind (const EDLString &str, EDLString &searchStr) |
edlstringFind searches for a substring within a larger string. More... | |
void | edlstringSubstr (const EDLString &str, EDLString &result, size_t start, size_t end) |
edlstringSubstr returns a substring from specified start and end points from a larger string More... | |
EDL_API EDLString | EDLSysStringToEDLString (const EDLSysString &edlSysString) |
EDLSysStringToEDLString converts an EDLSysString (UTF8) to an EDLString (UTF16 or UTF32 depending on platform). More... | |
EDL_API EDLSysString | EDLStringToEDLSysString (const EDLString &edlString) |
EDLStringToEDLSysString converts an (UTF16 or UTF32 depending on platform) EDLString to an EDLSysString (UTF8). More... | |
EDLString and EDLSysString classes and associated EDL string manipulation functions.
|
inline |
edlstringEqualsIgnoreCaseCnt performs a case-insensitive maximum-length-constrained string equality test
str1 | First string |
str2 | Second string |
len | Number of characters to compare |
|
inline |
edlstringFind searches for a substring within a larger string.
str | String to be searched |
searchStr | Substring to search for |
|
inline |
edlstringSubstr returns a substring from specified start and end points from a larger string
str | Source string |
result | String to accept result |
start | Start point |
end | End point |
EDL_API EDLSysString EDLStringToEDLSysString | ( | const EDLString & | edlString | ) |
EDLStringToEDLSysString converts an (UTF16 or UTF32 depending on platform) EDLString to an EDLSysString (UTF8).
edlString | Source string |
EDL_API EDLString EDLSysStringToEDLString | ( | const EDLSysString & | edlSysString | ) |
EDLSysStringToEDLString converts an EDLSysString (UTF8) to an EDLString (UTF16 or UTF32 depending on platform).
edlSysString | Source string |
|
inline |
sxtob converts a hexadecimal character into corresponding (unsigned) integer value. (Note that there is no guard against being supplied with non-hexadecimal characters)
c | The hexadecimal digit |