40 using CharType =
char;
57 data =
const_cast<CharType*
> (text);
64 inline bool operator<= (CharPointer_ASCII other)
const noexcept {
return data <= other.data; }
65 inline bool operator< (CharPointer_ASCII other)
const noexcept {
return data < other.data; }
66 inline bool operator>= (CharPointer_ASCII other)
const noexcept {
return data >= other.data; }
67 inline bool operator> (CharPointer_ASCII other)
const noexcept {
return data > other.data; }
73 inline operator const CharType*()
const noexcept {
return data; }
145 inline void replaceChar (
const juce_wchar
newChar)
noexcept
159 return (
size_t)
strlen (data);
194 template <
class CharPo
inter>
197 return text.length();
207 template <
typename CharPo
inter>
217 template <
typename CharPo
inter>
227 template <
typename CharPo
inter>
234 template <
typename CharPo
inter>
247 template <
typename CharPo
inter>
260 template <
typename CharPo
inter>
268 #if JUCE_MINGW || (JUCE_WINDOWS && JUCE_CLANG)
278 template <
typename CharPo
inter>
285 template <
typename CharPo
inter>
338 #if JUCE_LINUX || JUCE_ANDROID || JUCE_MINGW
343 return CharacterFunctions::getIntValue <int64, CharPointer_ASCII> (*
this);
ElementType * data() noexcept
int getIntValue32() const noexcept
double getDoubleValue() const noexcept
size_t length() const noexcept
static bool isValidString(const CharType *dataToTest, int maxBytesToRead)
size_t sizeInBytes() const noexcept
CharPointer_ASCII operator+(const int numToSkip) const noexcept
size_t lengthUpTo(const CharPointer_ASCII end) const noexcept
bool isNotEmpty() const noexcept
void writeAll(const CharPointer src) noexcept
static size_t getBytesRequiredFor(const juce_wchar) noexcept
int compareIgnoreCaseUpTo(const CharPointer other, const int maxChars) const noexcept
CharPointer_ASCII operator++() noexcept
bool isWhitespace() const
int compareIgnoreCase(const CharPointer other) const
CharPointer_ASCII operator--() noexcept
bool isLetterOrDigit() const
static size_t getBytesRequiredFor(const CharPointer text) noexcept
CharType * getAddress() const noexcept
juce_wchar toUpperCase() const noexcept
int compareUpTo(const CharPointer_ASCII other, const int maxChars) const noexcept
int compare(const CharPointer_ASCII other) const noexcept
juce_wchar toLowerCase() const noexcept
int indexOf(const juce_wchar charToFind, const bool ignoreCase) const noexcept
void writeNull() const noexcept
void write(const juce_wchar charToWrite) noexcept
static bool canRepresent(juce_wchar character) noexcept
juce_wchar operator[](const int characterIndex) const noexcept
CharPointer_ASCII operator-(const int numToSkip) const noexcept
int indexOf(const CharPointer stringToFind) const noexcept
CharPointer_ASCII findEndOfWhitespace() const noexcept
juce_wchar operator*() const noexcept
void operator+=(const int numToSkip) noexcept
int compare(const CharPointer other) const noexcept
int indexOf(const juce_wchar charToFind) const noexcept
bool isEmpty() const noexcept
juce_wchar getAndAdvance() noexcept
void writeWithCharLimit(const CharPointer src, const int maxChars) noexcept
size_t writeWithDestByteLimit(const CharPointer src, const size_t maxDestBytes) noexcept
bool operator==(CharPointer_ASCII other) const noexcept
int compareUpTo(const CharPointer other, const int maxChars) const noexcept
int64 getIntValue64() const noexcept
CharPointer_ASCII findTerminatingNull() const noexcept
size_t lengthUpTo(const size_t maxCharsToCount) const 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