構造体 テンプレート langedge::mbs_traits< Coding_System >

#include <mbs_traits.hpp>

langedge::mbs_traits< Coding_System >に対する継承グラフ

Inheritance graph
[凡例]
langedge::mbs_traits< Coding_System >のコラボレーション図

Collaboration graph
[凡例]
すべてのメンバ一覧

Static Public メソッド

static size_t mb_count_chars (const char *begin, const char *end)
 文字列内のポイント間の文字数(多バイト文字は1文字)をカウントする.
static const char * mb_find_single_byte_char (const char *begin, const char *end)
 単バイト文字を検索する.
static const char * mb_move_forward (const char *point, const char *end)
 point 位置から1文字分進める.
static const char * mb_move_backward (const char *point, const char *begin)
 point 位置から1文字分戻す.

template<class Coding_System>
struct langedge::mbs_traits< Coding_System >


関数

template<class Coding_System>
static size_t langedge::mbs_traits< Coding_System >::mb_count_chars const char *  begin,
const char *  end
[inline, static]
 

文字列内のポイント間の文字数(多バイト文字は1文字)をカウントする.

引数:
begin 開始位置
end 終端位置
戻り値:
begin から end 直前までの文字数 (多バイト文字は1文字としてカウント)

template<class Coding_System>
static const char* langedge::mbs_traits< Coding_System >::mb_find_single_byte_char const char *  begin,
const char *  end
[inline, static]
 

単バイト文字を検索する.

引数:
begin 開始位置
end 終端位置
戻り値:
最初に見つかった単バイト文字の位置。見つからなかったら NULL を返す。

template<class Coding_System>
static const char* langedge::mbs_traits< Coding_System >::mb_move_forward const char *  point,
const char *  end
[inline, static]
 

point 位置から1文字分進める.

マルチバイト文字列の中で、end を越えない範囲で 1文字分進める。

引数:
end 末尾文字の次の位置
point 進める対象位置

template<class Coding_System>
static const char* langedge::mbs_traits< Coding_System >::mb_move_backward const char *  point,
const char *  begin
[inline, static]
 

point 位置から1文字分戻す.

マルチバイト文字列の中で、begin を越えない範囲で 1文字分戻す。

引数:
begin 先頭文字の位置
point 戻す対象位置


この構造体の説明は次のファイルから生成されました:
LangEdge ライブラリに対してFri May 6 22:43:03 2005に生成されました。  doxygen 1.4.2