Classes | |
struct | Base64 |
Contains some static methods for converting between binary and the standard base-64 encoding format. More... | |
class | CharacterFunctions |
A collection of functions for manipulating characters and character strings. More... | |
struct | CharacterFunctions::HexParser< ResultType > |
Parses a character string, to read a hexadecimal value. More... | |
class | CharPointer_ASCII |
Wraps a pointer to a null-terminated ASCII character string, and provides various methods to operate on the data. More... | |
class | CharPointer_UTF16 |
Wraps a pointer to a null-terminated UTF-16 character string, and provides various methods to operate on the data. More... | |
class | CharPointer_UTF32 |
Wraps a pointer to a null-terminated UTF-32 character string, and provides various methods to operate on the data. More... | |
class | CharPointer_UTF8 |
Wraps a pointer to a null-terminated UTF-8 character string, and provides various methods to operate on the data. More... | |
class | Identifier |
Represents a string identifier, designed for accessing properties by name. More... | |
class | LocalisedStrings |
Used to convert strings to localised foreign-language versions. More... | |
class | NewLine |
This class is used for represent a new-line character sequence. More... | |
class | String |
The JUCE String class! More... | |
class | StringArray |
A special array for holding a list of strings. More... | |
class | StringPairArray |
A container for holding a set of strings which are keyed by another string. More... | |
class | StringPool |
A StringPool holds a set of shared strings, which reduces storage overheads and improves comparison speed when dealing with many duplicate strings. More... | |
class | StringRef |
A simple class for holding temporary references to a string literal or String. More... | |
class | TextDiff |
Calculates and applies a sequence of changes to convert one text string into another. More... | |
struct | TextDiff::Change |
Describes a change, which can be either an insertion or deletion. More... | |
Macros | |
#define | JUCE_NATIVE_WCHAR_IS_UTF8 0 |
This macro will be set to 1 if the compiler's native wchar_t is an 8-bit type. | |
#define | JUCE_NATIVE_WCHAR_IS_UTF16 0 |
This macro will be set to 1 if the compiler's native wchar_t is a 16-bit type. | |
#define | JUCE_NATIVE_WCHAR_IS_UTF32 1 |
This macro will be set to 1 if the compiler's native wchar_t is a 32-bit type. | |
#define | TRANS(stringLiteral) juce::translate (stringLiteral) |
Uses the LocalisedStrings class to translate the given string literal. | |
#define | NEEDS_TRANS(stringLiteral) (stringLiteral) |
A dummy version of the TRANS macro, used to indicate a string literal that should be added to the translation file by source-code scanner tools. | |
Typedefs | |
using | juce_wchar = wchar_t |
A platform-independent 32-bit unicode character type. | |
Variables | |
NewLine | newLine |
A predefined object representing a new-line, which can be written to a string or stream. | |
#define JUCE_NATIVE_WCHAR_IS_UTF8 0 |
This macro will be set to 1 if the compiler's native wchar_t is an 8-bit type.
#define JUCE_NATIVE_WCHAR_IS_UTF16 0 |
This macro will be set to 1 if the compiler's native wchar_t is a 16-bit type.
#define JUCE_NATIVE_WCHAR_IS_UTF32 1 |
This macro will be set to 1 if the compiler's native wchar_t is a 32-bit type.
#define TRANS | ( | stringLiteral | ) | juce::translate (stringLiteral) |
Uses the LocalisedStrings class to translate the given string literal.
This macro is provided for backwards-compatibility, and just calls the translate() function. In new code, it's recommended that you just call translate() directly instead, and avoid using macros.
Referenced by StandalonePluginHolder::askUserToLoadState(), StandalonePluginHolder::askUserToSaveState(), and StandalonePluginHolder::showAudioSettingsDialog().
#define NEEDS_TRANS | ( | stringLiteral | ) | (stringLiteral) |
A dummy version of the TRANS macro, used to indicate a string literal that should be added to the translation file by source-code scanner tools.
Wrapping a string literal in this macro has no effect, but by using it around strings that your app needs to translate at a later stage, it lets automatic code-scanning tools find this string and add it to the list of strings that need translation.
A platform-independent 32-bit unicode character type.
Uses the LocalisedStrings class to translate the given string literal.
Uses the LocalisedStrings class to translate the given string literal.
JUCE_API String translate | ( | CharPointer_UTF8 | stringLiteral | ) |
Uses the LocalisedStrings class to translate the given string literal.
Uses the LocalisedStrings class to translate the given string literal.
Writes a new-line sequence to a string.
You can use the predefined object 'newLine' to invoke this, e.g.
References NewLine::getDefault().
Concatenates two strings.
Concatenates two strings.
Concatenates two strings.
Concatenates two strings.
Concatenates two strings.
Concatenates two strings.
Concatenates two strings.
Concatenates two strings.
Concatenates two strings.
Concatenates two strings.
Appends a character at the end of a string.
Appends a character at the end of a string.
Appends a string to the end of the first one.
Appends a string to the end of the first one.
Appends a string to the end of the first one.
Appends a string to the end of the first one.
Appends a string to the end of the first one.
Appends a decimal number to the end of a string.
Appends a decimal number to the end of a string.
Appends a decimal number to the end of a string.
Appends a decimal number to the end of a string.
Appends a decimal number to the end of a string.
Appends a decimal number to the end of a string.
Appends a decimal number to the end of a string.
Appends a decimal number to the end of a string.
Appends a decimal number to the end of a string.
Case-sensitive comparison of two strings.
Case-sensitive comparison of two strings.
Case-sensitive comparison of two strings.
|
noexcept |
Case-sensitive comparison of two strings.
|
noexcept |
Case-sensitive comparison of two strings.
|
noexcept |
Case-sensitive comparison of two strings.
Case-sensitive comparison of two strings.
Case-sensitive comparison of two strings.
Case-sensitive comparison of two strings.
|
noexcept |
Case-sensitive comparison of two strings.
|
noexcept |
Case-sensitive comparison of two strings.
|
noexcept |
Case-sensitive comparison of two strings.
std::basic_ostream< char, traits > &JUCE_CALLTYPE operator<< | ( | std::basic_ostream< char, traits > & | stream, |
const String & | stringToWrite ) |
This operator allows you to write a juce String directly to std output streams.
This is handy for writing strings to std::cout, std::cerr, etc.
std::basic_ostream< wchar_t, traits > &JUCE_CALLTYPE operator<< | ( | std::basic_ostream< wchar_t, traits > & | stream, |
const String & | stringToWrite ) |
This operator allows you to write a juce String directly to std output streams.
This is handy for writing strings to std::wcout, std::wcerr, etc.
JUCE_API OutputStream &JUCE_CALLTYPE operator<< | ( | OutputStream & | stream, |
const String & | stringToWrite ) |
Writes a string to an OutputStream as UTF8.
JUCE_API OutputStream &JUCE_CALLTYPE operator<< | ( | OutputStream & | stream, |
StringRef | stringToWrite ) |
Writes a string to an OutputStream as UTF8.
Case-sensitive comparison of two strings.
Case-sensitive comparison of two strings.
Case-sensitive comparison of two strings.
Case-sensitive comparison of two strings.
Case-sensitive comparison of two strings.
Case-sensitive comparison of two strings.
References StringRef::text.
|
extern |
A predefined object representing a new-line, which can be written to a string or stream.
To write a new-line to a stream, you can use the predefined 'newLine' variable like this:
Referenced by CppTokeniserFunctions::writeEscapeChars().