![]() |
Hot Door CORE 0.8.3
Adobe® Illustrator® Plug-in Library
|
Header file for plugin unicode string manipulation. More...

Typedefs | |
| typedef std::vector< std::string > | hdi::core::strings::StringVector |
Functions | |
| uint32_t | hdi::core::strings::substrCount (const std::string &str_, const std::string &substr_) |
| Gets the number of times a substring occurs in a given string. | |
| bool | hdi::core::strings::split (const std::string &str_, const std::string &delim_, StringVector &elements__) |
| Tokenizes a string by a given substring delimiter. | |
| std::string | hdi::core::strings::trim (const std::string &str_) |
| Trims the whitespace from both ends of a string, returning a duplicate. | |
| std::string | hdi::core::strings::uppercase (const std::string &str_) |
| Uppercases an entire string, returning a duplicate. | |
| std::string | hdi::core::strings::lowercase (const std::string &str_) |
| Lowercases an entire string, returning a duplicate. | |
| std::string | hdi::core::strings::replaceAll (const std::string &subject_, const std::string &search_, const std::string &replace_) |
| Replaces all instances of a search string, in a subject string, with a given replacement. | |
| UTF16String | hdi::core::strings::utf8ToUTF16 (const UTF8String &str_) |
| Converts the given UTF-8 string to a UTF-16 string. | |
| UTF32String | hdi::core::strings::utf8ToUTF32 (const UTF8String &str_) |
| Converts the given UTF-8 string to a UTF-32 string. | |
| UTF8String | hdi::core::strings::utf16ToUTF8 (const UTF16String &str_) |
| Converts the given UTF-16 string to a UTF-8 string. | |
| UTF32String | hdi::core::strings::utf16ToUTF32 (const UTF16String &str_) |
| Converts the given UTF-16 string to a UTF-32 string. | |
| UTF8String | hdi::core::strings::utf32ToUTF8 (const UTF32String &str_) |
| Converts the given UTF-32 string to a UTF-8 string. | |
| UTF16String | hdi::core::strings::utf32ToUTF16 (const UTF32String &str_) |
| Converts the given UTF-32 string to a UTF-16 string. | |
Header file for plugin unicode string manipulation.
| std::string hdi::core::strings::lowercase | ( | const std::string & | str_ | ) |
Lowercases an entire string, returning a duplicate.
| str_ | String to lowercase, as UTF-8 |
| std::string hdi::core::strings::replaceAll | ( | const std::string & | subject_, |
| const std::string & | search_, | ||
| const std::string & | replace_ | ||
| ) |
Replaces all instances of a search string, in a subject string, with a given replacement.
| subject_ | String in which the search_ substring will be replaced with replace_, as UTF-8 |
| search_ | Substring to search for and ultimately replace, as UTF-8 |
| replace_ | Replacement string for search_, as UTF-8 |
| bool hdi::core::strings::split | ( | const std::string & | str_, |
| const std::string & | delim_, | ||
| StringVector & | elements__ | ||
| ) |
Tokenizes a string by a given substring delimiter.
| str_ | String to tokenize, as UTF-8 |
| delim_ | Delimiter to use for tokenization, as UTF-8 |
| elements__ | String vector for the delimited results, as UTF-8 |
| uint32_t hdi::core::strings::substrCount | ( | const std::string & | str_, |
| const std::string & | substr_ | ||
| ) |
Gets the number of times a substring occurs in a given string.
| str_ | Primary string, as UTF-8, from which the count of substr_ is acquired |
| substr_ | Potential substring of str_, as UTF-8 |
| std::string hdi::core::strings::trim | ( | const std::string & | str_ | ) |
Trims the whitespace from both ends of a string, returning a duplicate.
| str_ | String to trim, as UTF-8 |
| std::string hdi::core::strings::uppercase | ( | const std::string & | str_ | ) |
Uppercases an entire string, returning a duplicate.
| str_ | String to uppercase, as UTF-8 |
| UTF32String hdi::core::strings::utf16ToUTF32 | ( | const UTF16String & | str_ | ) |
Converts the given UTF-16 string to a UTF-32 string.
| str_ | UTF-16 string to convert |
| UTF8String hdi::core::strings::utf16ToUTF8 | ( | const UTF16String & | str_ | ) |
Converts the given UTF-16 string to a UTF-8 string.
| str_ | UTF-16 string to convert |
| UTF16String hdi::core::strings::utf32ToUTF16 | ( | const UTF32String & | str_ | ) |
Converts the given UTF-32 string to a UTF-16 string.
| str_ | UTF-32 string to convert |
| UTF8String hdi::core::strings::utf32ToUTF8 | ( | const UTF32String & | str_ | ) |
Converts the given UTF-32 string to a UTF-8 string.
| str_ | UTF-32 string to convert |
| UTF16String hdi::core::strings::utf8ToUTF16 | ( | const UTF8String & | str_ | ) |
Converts the given UTF-8 string to a UTF-16 string.
| str_ | UTF-8 string to convert |
| UTF32String hdi::core::strings::utf8ToUTF32 | ( | const UTF8String & | str_ | ) |
Converts the given UTF-8 string to a UTF-32 string.
| str_ | UTF-8 string to convert |