System::Text::UnicodeEncoding クラス
UnicodeEncoding class
Unicode エンコーディング。このクラスのオブジェクトは System::MakeObject() 関数を使用してのみ割り当てるべきです。スタック上や operator new を使用してインスタンスを作成しないでください。そうしないと実行時エラーやアサーション失敗が発生します。このクラスは常に System::SmartPtr ポインタでラップし、そのポインタを関数の引数として渡してください。
class UnicodeEncoding : public System::Text::ICUEncoding
メソッド
| メソッド | 説明 |
|---|---|
| Clone() override | エンコーディングオブジェクトをクローンします。 |
| Equals(SharedPtr<Object>) override | エンコーディングを比較します。 |
| GetHashCode() const override | エンコーディングのハッシュを作成します。 |
| GetMaxByteCount(int) override | 指定された文字数をエンコードするために必要な最大バイト数を取得します。 |
| GetMaxCharCount(int) override | 指定されたバイト数をデコードするために必要な最大文字数を取得します。 |
| GetPreamble() override | エンコーディングを示すバイト列(例: BOM)を返します。 |
| operator==(const UnicodeEncoding&) const | コードページとフラグでエンコーディングを比較します。 |
| UnicodeEncoding() | コンストラクタ。 |
| UnicodeEncoding(bool, bool) | コンストラクタ。 |
| UnicodeEncoding(bool, bool, bool) | コンストラクタ。 |
フィールド
| フィールド | 説明 |
|---|---|
| static constexpr BIG_UNICODE_CODE_PAGE | ビッグエンディアンのコードページ番号です。 |
| static constexpr DEFAULT_CODE_PAGE | デフォルトのコードページ値です。 |
| static constexpr UNICODE_CODE_PAGE | リトルエンディアンのコードページ番号です。 |
参照
- Class ICUEncoding
- Namespace System::Text
- Library Aspose.Page for C++