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>
Go to the source code of this file.
EDLString and EDLSysString classes and associated EDL string manipulation functions.
◆ CEDLRawStringVect
◆ CEDLStringVect
◆ CEDLSysStringVect
◆ EDLRawString
◆ EDLString
◆ EDLStringIStream
◆ EDLStringOStream
◆ EDLSysString
◆ EDLSysStringIStream
◆ EDLSysStringOStream
◆ EDLU16String
◆ EDLU32String
◆ u32char
◆ edlstringEqualsIgnoreCaseCnt()
bool edlstringEqualsIgnoreCaseCnt |
( |
const EDLString & | str1, |
|
|
const EDLString & | str2, |
|
|
size_t | len ) |
|
inline |
edlstringEqualsIgnoreCaseCnt performs a case-insensitive maximum-length-constrained string equality test
- Parameters
-
str1 | First string |
str2 | Second string |
len | Number of characters to compare |
- Returns
- bool True if the two strings are equal, false if not
◆ edlstringFind()
edlstringFind searches for a substring within a larger string.
- Parameters
-
str | String to be searched |
searchStr | Substring to search for |
- Returns
- size_t The starting position of the (first instance of the) substring.
◆ edlstringSubstr()
void edlstringSubstr |
( |
const EDLString & | str, |
|
|
EDLString & | result, |
|
|
size_t | start, |
|
|
size_t | end ) |
|
inline |
edlstringSubstr returns a substring from specified start and end points from a larger string
- Parameters
-
str | Source string |
result | String to accept result |
start | Start point |
end | End point |
◆ EDLStringToEDLSysString()
◆ EDLSysStringToEDLString()
EDLSysStringToEDLString converts an EDLSysString (UTF8) to an EDLString (UTF16 or UTF32 depending on platform).
- Parameters
-
edlSysString | Source string |
- Returns
- EDLString Result of conversion
◆ equal()
◆ hashValue() [1/2]
◆ hashValue() [2/2]
◆ sxtob()
sxtob converts a hexadecimal character into corresponding (unsigned) integer value.
- Note
- There is no guard against being supplied with non-hexadecimal characters)
- Parameters
-
- Returns
- uint8 The unsigned integer value
◆ u16char