37 using CharType = juce_wchar;
54 data =
const_cast<CharType*
> (text);
61 inline bool operator<= (CharPointer_UTF32 other)
const noexcept {
return data <= other.data; }
62 inline bool operator< (CharPointer_UTF32 other)
const noexcept {
return data < other.data; }
63 inline bool operator>= (CharPointer_UTF32 other)
const noexcept {
return data >= other.data; }
64 inline bool operator> (CharPointer_UTF32 other)
const noexcept {
return data > other.data; }
70 inline operator const CharType*()
const noexcept {
return data; }
142 inline void replaceChar (juce_wchar
newChar)
noexcept
156 #if JUCE_NATIVE_WCHAR_IS_UTF32 && ! JUCE_ANDROID
183 return sizeof (CharType) * (
length() + 1);
191 return sizeof (CharType);
198 template <
class CharPo
inter>
201 return sizeof (CharType) * text.length();
211 template <
typename CharPo
inter>
222 while ((*data = *s) != 0)
233 template <
typename CharPo
inter>
243 template <
typename CharPo
inter>
250 template <
typename CharPo
inter>
256 #if JUCE_NATIVE_WCHAR_IS_UTF32 && ! JUCE_ANDROID
265 template <
typename CharPo
inter>
272 template <
typename CharPo
inter>
279 template <
typename CharPo
inter>
286 template <
typename CharPo
inter>
ElementType * data() noexcept
void writeNull() const noexcept
static bool isValidString(const CharType *dataToTest, int maxBytesToRead)
void write(juce_wchar charToWrite) noexcept
CharPointer_UTF32 operator++() noexcept
CharPointer_UTF32 atomicSwap(CharPointer_UTF32 newValue)
bool operator==(CharPointer_UTF32 other) const noexcept
static size_t getBytesRequiredFor(CharPointer text) noexcept
int compareIgnoreCase(CharPointer other) const
void operator+=(int numToSkip) noexcept
CharPointer_UTF32 operator--() noexcept
CharPointer_UTF32 findTerminatingNull() const noexcept
int64 getIntValue64() const noexcept
size_t writeWithDestByteLimit(CharPointer src, size_t maxDestBytes) noexcept
juce_wchar & operator[](int characterIndex) const noexcept
int indexOf(CharPointer stringToFind) const noexcept
juce_wchar toLowerCase() const noexcept
void writeAll(CharPointer_UTF32 src) noexcept
CharType * getAddress() const noexcept
void writeWithCharLimit(CharPointer src, int maxChars) noexcept
bool isEmpty() const noexcept
bool isNotEmpty() const noexcept
size_t sizeInBytes() const noexcept
CharPointer_UTF32 findEndOfWhitespace() const noexcept
size_t lengthUpTo(CharPointer_UTF32 end) const noexcept
size_t length() const noexcept
CharPointer_UTF32 operator+(int numToSkip) const noexcept
bool isLetterOrDigit() const
juce_wchar toUpperCase() const noexcept
int getIntValue32() const noexcept
static bool canRepresent(juce_wchar character) noexcept
int indexOf(juce_wchar charToFind) const noexcept
static size_t getBytesRequiredFor(juce_wchar) noexcept
size_t lengthUpTo(size_t maxCharsToCount) const noexcept
int compare(CharPointer other) const noexcept
int compareIgnoreCaseUpTo(CharPointer other, int maxChars) const noexcept
juce_wchar getAndAdvance() noexcept
bool isWhitespace() const
juce_wchar operator*() const noexcept
int indexOf(juce_wchar charToFind, bool ignoreCase) const noexcept
CharPointer_UTF32 operator-(int numToSkip) const noexcept
int compareUpTo(CharPointer other, int maxChars) const noexcept
double getDoubleValue() const noexcept
void writeAll(CharPointer src) noexcept
static int compare(juce_wchar char1, juce_wchar char2) noexcept
static juce_wchar toLowerCase(juce_wchar character) noexcept
static size_t copyWithDestByteLimit(DestCharPointerType &dest, SrcCharPointerType src, size_t maxBytesToWrite) noexcept
static int indexOfCharIgnoreCase(Type text, juce_wchar charToFind) noexcept
static bool isDigit(char character) noexcept
static int compareIgnoreCaseUpTo(CharPointerType1 s1, CharPointerType2 s2, int maxChars) noexcept
static int indexOfChar(Type text, const juce_wchar charToFind) noexcept
static int compareIgnoreCase(juce_wchar char1, juce_wchar char2) noexcept
static bool isLowerCase(juce_wchar character) noexcept
static bool isLetter(char character) noexcept
static int indexOf(CharPointerType1 textToSearch, const CharPointerType2 substringToLookFor) noexcept
static size_t lengthUpTo(CharPointerType text, const size_t maxCharsToCount) noexcept
static Type findEndOfWhitespace(Type text) noexcept
static void copyWithCharLimit(DestCharPointerType &dest, SrcCharPointerType src, int maxChars) noexcept
static bool isWhitespace(char character) noexcept
static bool isLetterOrDigit(char character) noexcept
static juce_wchar toUpperCase(juce_wchar character) noexcept
static bool isUpperCase(juce_wchar character) noexcept
static double getDoubleValue(CharPointerType text) noexcept
static void copyAll(DestCharPointerType &dest, SrcCharPointerType src) noexcept
static int compareUpTo(CharPointerType1 s1, CharPointerType2 s2, int maxChars) noexcept