System.Character.TCharacter

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

TCharacter = record

C++

struct DECLSPEC_DRECORD TCharacter
{
public:
    static const System::WideChar MaxHighSurrogate = (System::WideChar)(0xdbff);
    static const System::WideChar MaxLowSurrogate = (System::WideChar)(0xdfff);
    static const System::WideChar MaxSurrogate = (System::WideChar)(0xdfff);
    static const System::WideChar MinHighSurrogate = (System::WideChar)(0xd800);
    static const System::WideChar MinLowSurrogate = (System::WideChar)(0xdc00);
    static const System::WideChar MinSurrogate = (System::WideChar)(0xd800);
    static int __fastcall MaxCodePoint();
    static System::UnicodeString __fastcall UnicodeDataVersion();
    static System::UnicodeString __fastcall ConvertFromUtf32(unsigned C);
    static unsigned __fastcall ConvertToUtf32(const System::UnicodeString S, int Index)/* overload */;
    static unsigned __fastcall ConvertToUtf32(const System::UnicodeString S, int Index, /* out */ int &CharLength)/* overload */;
    static unsigned __fastcall ConvertToUtf32(const System::WideChar HighSurrogate, const System::WideChar LowSurrogate)/* overload */;
    static double __fastcall GetNumericValue(System::WideChar C)/* overload */;
    static double __fastcall GetNumericValue(unsigned C)/* overload */;
    static double __fastcall GetNumericValue(const System::UnicodeString S, int Index)/* overload */;
    static TUnicodeCategory __fastcall GetUnicodeCategory(System::WideChar C)/* overload */;
    static TUnicodeCategory __fastcall GetUnicodeCategory(unsigned C)/* overload */;
    static TUnicodeCategory __fastcall GetUnicodeCategory(const System::UnicodeString S, int Index)/* overload */;
    static bool __fastcall IsControl(System::WideChar C)/* overload */;
    static bool __fastcall IsControl(unsigned C)/* overload */;
    static bool __fastcall IsControl(const System::UnicodeString S, int Index)/* overload */;
    static bool __fastcall IsDefined(System::WideChar C)/* overload */;
    static bool __fastcall IsDefined(unsigned C)/* overload */;
    static bool __fastcall IsDefined(const System::UnicodeString S, int Index)/* overload */;
    static bool __fastcall IsDigit(System::WideChar C)/* overload */;
    static bool __fastcall IsDigit(unsigned C)/* overload */;
    static bool __fastcall IsDigit(const System::UnicodeString S, int Index)/* overload */;
    static bool __fastcall IsHighSurrogate(System::WideChar C)/* overload */;
    static bool __fastcall IsHighSurrogate(unsigned C)/* overload */;
    static bool __fastcall IsHighSurrogate(const System::UnicodeString S, int Index)/* overload */;
    static bool __fastcall IsLetter(System::WideChar C)/* overload */;
    static bool __fastcall IsLetter(unsigned C)/* overload */;
    static bool __fastcall IsLetter(const System::UnicodeString S, int Index)/* overload */;
    static bool __fastcall IsLetterOrDigit(System::WideChar C)/* overload */;
    static bool __fastcall IsLetterOrDigit(unsigned C)/* overload */;
    static bool __fastcall IsLetterOrDigit(const System::UnicodeString S, int Index)/* overload */;
    static bool __fastcall IsLower(System::WideChar C)/* overload */;
    static bool __fastcall IsLower(unsigned C)/* overload */;
    static bool __fastcall IsLower(const System::UnicodeString S, int Index)/* overload */;
    static bool __fastcall IsLowSurrogate(System::WideChar C)/* overload */;
    static bool __fastcall IsLowSurrogate(unsigned C)/* overload */;
    static bool __fastcall IsLowSurrogate(const System::UnicodeString S, int Index)/* overload */;
    static bool __fastcall IsNumber(System::WideChar C)/* overload */;
    static bool __fastcall IsNumber(unsigned C)/* overload */;
    static bool __fastcall IsNumber(const System::UnicodeString S, int Index)/* overload */;
    static bool __fastcall IsPunctuation(System::WideChar C)/* overload */;
    static bool __fastcall IsPunctuation(unsigned C)/* overload */;
    static bool __fastcall IsPunctuation(const System::UnicodeString S, int Index)/* overload */;
    static bool __fastcall IsSeparator(System::WideChar C)/* overload */;
    static bool __fastcall IsSeparator(unsigned C)/* overload */;
    static bool __fastcall IsSeparator(const System::UnicodeString S, int Index)/* overload */;
    static bool __fastcall IsSurrogate(System::WideChar Surrogate)/* overload */;
    static bool __fastcall IsSurrogate(unsigned Surrogate)/* overload */;
    static bool __fastcall IsSurrogate(const System::UnicodeString S, int Index)/* overload */;
    static bool __fastcall IsSurrogatePair(const System::WideChar HighSurrogate, const System::WideChar LowSurrogate)/* overload */;
    static bool __fastcall IsSurrogatePair(const System::UnicodeString S, int Index)/* overload */;
    static bool __fastcall IsSymbol(System::WideChar C)/* overload */;
    static bool __fastcall IsSymbol(unsigned C)/* overload */;
    static bool __fastcall IsSymbol(const System::UnicodeString S, int Index)/* overload */;
    static bool __fastcall IsUpper(System::WideChar C)/* overload */;
    static bool __fastcall IsUpper(unsigned C)/* overload */;
    static bool __fastcall IsUpper(const System::UnicodeString S, int Index)/* overload */;
    static bool __fastcall IsWhiteSpace(System::WideChar C)/* overload */;
    static bool __fastcall IsWhiteSpace(unsigned C)/* overload */;
    static bool __fastcall IsWhiteSpace(const System::UnicodeString S, int Index)/* overload */;
    static System::WideChar __fastcall ToLower(System::WideChar C)/* overload */;
    static unsigned __fastcall ToLower(unsigned C)/* overload */;
    static System::UnicodeString __fastcall ToLower(const System::UnicodeString S)/* overload */;
    static System::WideChar __fastcall ToUpper(System::WideChar C)/* overload */;
    static unsigned __fastcall ToUpper(unsigned C)/* overload */;
    static System::UnicodeString __fastcall ToUpper(const System::UnicodeString S)/* overload */;
};

プロパティ

種類 可視性 ソース ユニット
record
struct
public
System.Character.pas
System.Character.hpp
System.Character System.Character


説明

警告: TCharacter は非推奨になっています。 TCharHelper を使用してください。

TCharacter は、Unicode 文字の変換および識別を行うためのクラス関数を備えています。

TCharacter の関数群を使って以下を行うことができます。

  • Unicode 文字を UTF-32 と UTF-16 の間で変換する。
  • 英字、数字、句読点など、文字の種類を識別する。

TCharacter では、unicode.org で規定された Unicode 文字型データの最新の定義を使用します。 TCharacter にはクラス関数しか含まれていないため、インスタンス化しないでください。

関連項目