OpenShot Audio Library | OpenShotAudio 0.3.2
|
#include <juce_CharacterFunctions.h>
Classes | |
struct | HexParser |
A collection of functions for manipulating characters and character strings.
Most of these methods are designed for internal use by the String and CharPointer classes, but some of them may be useful to call directly.
Definition at line 91 of file juce_CharacterFunctions.h.
|
inlinestaticnoexcept |
Compares two null-terminated character strings.
Definition at line 557 of file juce_CharacterFunctions.h.
|
inlinestaticnoexcept |
Compares two characters.
Definition at line 547 of file juce_CharacterFunctions.h.
Referenced by juce::CharPointer_UTF16::compare(), juce::CharPointer_UTF32::compare(), juce::CharPointer_ASCII::compare(), and juce::CharPointer_UTF8::compare().
|
inlinestaticnoexcept |
Compares two null-terminated character strings, using a case-independant match.
Definition at line 599 of file juce_CharacterFunctions.h.
|
inlinestaticnoexcept |
Compares two characters, using a case-independant match.
Definition at line 592 of file juce_CharacterFunctions.h.
Referenced by juce::CharPointer_UTF32::compareIgnoreCase(), juce::CharPointer_UTF16::compareIgnoreCase(), juce::CharPointer_ASCII::compareIgnoreCase(), juce::CharPointer_UTF8::compareIgnoreCase(), and juce::CharPointer_UTF8::compareIgnoreCase().
|
inlinestaticnoexcept |
Compares two null-terminated character strings, using a case-independent match.
Definition at line 617 of file juce_CharacterFunctions.h.
Referenced by juce::CharPointer_UTF16::compareIgnoreCaseUpTo(), juce::CharPointer_UTF32::compareIgnoreCaseUpTo(), juce::CharPointer_ASCII::compareIgnoreCaseUpTo(), and juce::CharPointer_UTF8::compareIgnoreCaseUpTo().
|
inlinestaticnoexcept |
Compares two null-terminated character strings, up to a given number of characters.
Definition at line 575 of file juce_CharacterFunctions.h.
Referenced by juce::CharPointer_UTF16::compareUpTo(), juce::CharPointer_UTF32::compareUpTo(), juce::CharPointer_ASCII::compareUpTo(), and juce::CharPointer_UTF8::compareUpTo().
|
inlinestaticnoexcept |
Copies null-terminated characters from one string to another.
Definition at line 493 of file juce_CharacterFunctions.h.
Referenced by juce::CharPointer_UTF16::writeAll(), juce::CharPointer_UTF32::writeAll(), juce::CharPointer_ASCII::writeAll(), and juce::CharPointer_UTF8::writeAll().
|
inlinestaticnoexcept |
Copies characters from one string to another, up to a null terminator or a given maximum number of characters.
Definition at line 531 of file juce_CharacterFunctions.h.
Referenced by juce::CharPointer_UTF16::writeWithCharLimit(), juce::CharPointer_UTF32::writeWithCharLimit(), juce::CharPointer_ASCII::writeWithCharLimit(), and juce::CharPointer_UTF8::writeWithCharLimit().
|
inlinestaticnoexcept |
Copies characters from one string to another, up to a null terminator or a given byte size limit.
Definition at line 504 of file juce_CharacterFunctions.h.
Referenced by juce::CharPointer_UTF16::writeWithDestByteLimit(), juce::CharPointer_UTF32::writeWithDestByteLimit(), juce::CharPointer_ASCII::writeWithDestByteLimit(), and juce::CharPointer_UTF8::writeWithDestByteLimit().
|
inlinestaticnoexcept |
Returns a pointer to the first occurrence of a substring in a string. If the substring is not found, this will return a pointer to the string's null terminator.
Definition at line 675 of file juce_CharacterFunctions.h.
|
inlinestaticnoexcept |
Returns a pointer to the first occurrence of a substring in a string. If the substring is not found, this will return a pointer to the string's null terminator.
Definition at line 659 of file juce_CharacterFunctions.h.
Referenced by juce::MemoryBlock::fromBase64Encoding().
|
inlinestatic |
Returns a pointer to the first character in the string which is found in the breakCharacters string.
Definition at line 768 of file juce_CharacterFunctions.h.
Referenced by juce::StringArray::addTokens().
|
inlinestaticnoexcept |
Returns a pointer to the first non-whitespace character in a string. If the string contains only whitespace, this will return a pointer to its null terminator.
Definition at line 756 of file juce_CharacterFunctions.h.
Referenced by juce::CharPointer_ASCII::findEndOfWhitespace(), juce::CharPointer_UTF16::findEndOfWhitespace(), juce::CharPointer_UTF32::findEndOfWhitespace(), and juce::CharPointer_UTF8::findEndOfWhitespace().
|
inlinestaticnoexcept |
Parses a character string, to read a floating-point value.
Definition at line 411 of file juce_CharacterFunctions.h.
Referenced by juce::CharPointer_ASCII::getDoubleValue(), juce::CharPointer_UTF16::getDoubleValue(), juce::CharPointer_UTF32::getDoubleValue(), and juce::CharPointer_UTF8::getDoubleValue().
|
staticnoexcept |
Returns 0 to 16 for '0' to 'F", or -1 for characters that aren't a legal hex digit.
Definition at line 117 of file juce_CharacterFunctions.cpp.
Referenced by juce::BigInteger::parseString(), and juce::URL::removeEscapeChars().
|
inlinestaticnoexcept |
Parses a character string, to read an integer value.
Definition at line 419 of file juce_CharacterFunctions.h.
|
staticnoexcept |
Converts a byte of Windows 1252 codepage to unicode.
Definition at line 169 of file juce_CharacterFunctions.cpp.
|
inlinestaticnoexcept |
Finds the character index of a given substring in another string. Returns -1 if the substring is not found.
Definition at line 637 of file juce_CharacterFunctions.h.
Referenced by juce::CharPointer_UTF16::indexOf(), juce::CharPointer_UTF32::indexOf(), juce::CharPointer_ASCII::indexOf(), and juce::CharPointer_UTF8::indexOf().
|
inlinestaticnoexcept |
Finds the character index of a given character in another string. Returns -1 if the character is not found.
Definition at line 714 of file juce_CharacterFunctions.h.
Referenced by juce::CharPointer_UTF8::indexOf(), juce::CharPointer_ASCII::indexOf(), juce::CharPointer_UTF8::indexOf(), juce::CharPointer_UTF16::indexOf(), juce::CharPointer_UTF16::indexOf(), and juce::CharPointer_UTF32::indexOf().
|
inlinestaticnoexcept |
Finds the character index of a given character in another string, using a case-independent match. Returns -1 if the character is not found.
Definition at line 734 of file juce_CharacterFunctions.h.
Referenced by juce::CharPointer_ASCII::indexOf(), juce::CharPointer_UTF8::indexOf(), juce::CharPointer_UTF16::indexOf(), and juce::CharPointer_UTF32::indexOf().
|
inlinestaticnoexcept |
Finds the character index of a given substring in another string, using a case-independent match. Returns -1 if the substring is not found.
Definition at line 693 of file juce_CharacterFunctions.h.
Referenced by juce::String::indexOfIgnoreCase(), and juce::String::indexOfIgnoreCase().
Checks whether a character is a digit.
Definition at line 74 of file juce_CharacterFunctions.cpp.
Referenced by juce::File::getNonexistentChildFile(), juce::CharPointer_ASCII::isDigit(), juce::CharPointer_UTF32::isDigit(), and juce::CharPointer_UTF16::isDigit().
|
staticnoexcept |
Checks whether a character is a digit.
Definition at line 79 of file juce_CharacterFunctions.cpp.
Checks whether a character is alphabetic.
Definition at line 84 of file juce_CharacterFunctions.cpp.
Referenced by juce::CharPointer_ASCII::isLetter(), juce::CharPointer_UTF32::isLetter(), juce::CharPointer_UTF16::isLetter(), and juce::CharPointer_UTF8::isLetter().
|
staticnoexcept |
Checks whether a character is alphabetic.
Definition at line 90 of file juce_CharacterFunctions.cpp.
Checks whether a character is alphabetic or numeric.
Definition at line 95 of file juce_CharacterFunctions.cpp.
Referenced by juce::URL::addEscapeChars(), juce::CharPointer_ASCII::isLetterOrDigit(), juce::CharPointer_UTF32::isLetterOrDigit(), juce::CharPointer_UTF16::isLetterOrDigit(), and juce::CharPointer_UTF8::isLetterOrDigit().
|
staticnoexcept |
Checks whether a character is alphabetic or numeric.
Definition at line 102 of file juce_CharacterFunctions.cpp.
|
staticnoexcept |
Checks whether a unicode character is lower-case.
Definition at line 50 of file juce_CharacterFunctions.cpp.
Referenced by juce::CharPointer_ASCII::isLowerCase(), juce::CharPointer_UTF32::isLowerCase(), juce::CharPointer_UTF16::isLowerCase(), and juce::CharPointer_UTF8::isLowerCase().
Checks whether a character is a printable character, i.e. alphabetic, numeric, a punctuation character or a space.
Definition at line 107 of file juce_CharacterFunctions.cpp.
|
staticnoexcept |
Checks whether a character is a printable character, i.e. alphabetic, numeric, a punctuation character or a space.
Definition at line 112 of file juce_CharacterFunctions.cpp.
|
staticnoexcept |
Checks whether a unicode character is upper-case.
Definition at line 41 of file juce_CharacterFunctions.cpp.
Referenced by juce::CharPointer_ASCII::isUpperCase(), juce::CharPointer_UTF32::isUpperCase(), juce::CharPointer_UTF16::isUpperCase(), and juce::CharPointer_UTF8::isUpperCase().
Checks whether a character is whitespace.
Definition at line 64 of file juce_CharacterFunctions.cpp.
Referenced by juce::CharPointer_ASCII::isWhitespace(), juce::CharPointer_UTF32::isWhitespace(), and juce::CharPointer_UTF16::isWhitespace().
|
staticnoexcept |
Checks whether a character is whitespace.
Definition at line 69 of file juce_CharacterFunctions.cpp.
|
inlinestaticnoexcept |
Counts the number of characters in a given string, stopping if the count exceeds a specified end-pointer.
Definition at line 481 of file juce_CharacterFunctions.h.
|
inlinestaticnoexcept |
Counts the number of characters in a given string, stopping if the count exceeds a specified limit.
Definition at line 468 of file juce_CharacterFunctions.h.
Referenced by juce::CharPointer_UTF16::lengthUpTo(), juce::CharPointer_UTF32::lengthUpTo(), juce::CharPointer_ASCII::lengthUpTo(), juce::CharPointer_UTF8::lengthUpTo(), juce::CharPointer_ASCII::lengthUpTo(), juce::CharPointer_UTF8::lengthUpTo(), juce::CharPointer_UTF16::lengthUpTo(), and juce::CharPointer_UTF32::lengthUpTo().
|
inlinestaticnoexcept |
Parses a character string to read a floating-point number. Note that this will advance the pointer that is passed in, leaving it at the end of the number.
Definition at line 147 of file juce_CharacterFunctions.h.
|
staticnoexcept |
Converts a character to lower-case.
Definition at line 36 of file juce_CharacterFunctions.cpp.
Referenced by juce::File::getRelativePathFrom(), juce::CharPointer_ASCII::toLowerCase(), juce::CharPointer_UTF16::toLowerCase(), juce::CharPointer_UTF32::toLowerCase(), and juce::CharPointer_UTF8::toLowerCase().
|
staticnoexcept |
Converts a character to upper-case.
Definition at line 31 of file juce_CharacterFunctions.cpp.
Referenced by juce::CharPointer_ASCII::toUpperCase(), juce::CharPointer_UTF16::toUpperCase(), juce::CharPointer_UTF32::toUpperCase(), and juce::CharPointer_UTF8::toUpperCase().