#include <mbs_traits.hpp>
langedge::mbs_traits_base< Coding_System >に対する継承グラフ

Static Public メソッド | |
| static bool | is_single_byte (unsigned char ch) |
| 単バイト文字か. | |
| static bool | is_first_byte (unsigned char ch) |
| 多バイト文字の1バイト目か. | |
| static bool | is_second_byte (unsigned char ch) |
| 多バイト文字の2バイト目になりうる文字か. | |
| static bool | is_proper_second_byte (unsigned char ch) |
| 多バイト文字の2バイト目であることが確実に分かる文字か. | |
| static bool | is_last_byte (unsigned char ch) |
| 多バイト文字の最終バイトか. | |
| static bool | is_word_char (unsigned char ch) |
| 多バイト文字のの1バイト目あるいは単バイト英数字か (つまり単語構成文字か). | |
| static unsigned long | sbc_to_dbc (unsigned char ch) |
| 単バイト文字(いわゆる半角)を2バイト文字(いわゆる全角)に変換する. | |
| static size_t | count_bytes (const char *point) |
| 文字を構成するバイト数を返す. | |
| static bool | is_valid_point (const char *begin, const char *point) |
| マルチバイト文字列中のポイントが文字の先頭を指しているかどうか調べる. | |
| static const char * | mb_move_point (const char *begin, const char *end, const char *point, int distance) |
| point 位置からdistance文字分移動する. | |
コード系ごとに特殊化する。
|
||||||||||
|
単バイト文字か.
|
|
||||||||||
|
多バイト文字の1バイト目か.
|
|
||||||||||
|
多バイト文字の2バイト目になりうる文字か.
|
|
||||||||||
|
多バイト文字の2バイト目であることが確実に分かる文字か. 多バイト文字の1バイト目ではないことが保証されているときに、 2バイト目であることが確実に分かる文字かどうかを調べる。
|
|
||||||||||
|
多バイト文字の最終バイトか.
|
|
||||||||||
|
多バイト文字のの1バイト目あるいは単バイト英数字か (つまり単語構成文字か).
|
|
||||||||||
|
単バイト文字(いわゆる半角)を2バイト文字(いわゆる全角)に変換する.
|
|
||||||||||
|
文字を構成するバイト数を返す.
|
|
||||||||||||||||
|
マルチバイト文字列中のポイントが文字の先頭を指しているかどうか調べる.
|
|
||||||||||||||||||||||||
|
point 位置からdistance文字分移動する. マルチバイト文字列の中で、distance が正なら end を越えない範囲で distance文字分進める。 distance が負なら begin を越えない範囲で distance文字分戻す。
|
1.4.2