Classes | Defines | Typedefs

juce_CharacterFunctions.h File Reference

Classes

class  CharacterFunctions
 A set of methods for manipulating characters and character strings. More...

Defines

#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 JUCE_T(stringLiteral)   (L##stringLiteral)
 This macro is deprecated, but preserved for compatibility with old code.
#define T(stringLiteral)   JUCE_T(stringLiteral)
 The 'T' macro is an alternative for using the "L" prefix in front of a string literal.

Typedefs

typedef wchar_t juce_wchar
 A platform-independent 32-bit unicode character type.

Define Documentation

#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 JUCE_T (   stringLiteral )    (L##stringLiteral)

This macro is deprecated, but preserved for compatibility with old code.

#define T (   stringLiteral )    JUCE_T(stringLiteral)

The 'T' macro is an alternative for using the "L" prefix in front of a string literal.

This macro is deprectated, but kept here for compatibility with old code. The best (i.e. most portable) way to encode your string literals is just as standard 8-bit strings, but using escaped utf-8 character codes for extended characters.

Because the 'T' symbol is occasionally used inside 3rd-party library headers which you may need to include after juce.h, you can use the juce_withoutMacros.h file (in the juce/src directory) to avoid defining this macro. See the comments in juce_withoutMacros.h for more info.


Typedef Documentation

typedef wchar_t juce_wchar

A platform-independent 32-bit unicode character type.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines