CrossFramework Library

構造体 テンプレート XBase::StringTraits< CharType >

#include <XBase/StringTraits.hpp>


template<typename CharType>
struct XBase::StringTraits< CharType >

文字列に関する関数群。

テンプレート引数に char/wchar_t を入れて使ってください。

すべてのメンバ一覧

構成

struct  WriteResult
 Write系の結果。 [詳細]

static bool Equals (const CharType *aStrA, const CharType *aStrB)
 2つの文字列の内容が一致するか。
static pword_t Length (const CharType *aStr)
 指定の文字列の長さを取得する。
static const WriteResult NCopy (CharType *aBuffer, pword_t aBufferLength, const CharType *aStr)
 NCopyと同様の処理を行い追加でエラーチェックをする。
static const WriteResult NCopyStrict (CharType *aBuffer, pword_t aBufferLength, const CharType *aStr)
 文字列を指定のバッファにコピーする。
static const WriteResult SNPrintf (CharType *aBuffer, pword_t aBufferLength, const CharType *aFormat,...)
 SNPrintfStrictと同様の処理を行い追加でエラーチェックをする。
static const WriteResult SNPrintfStrict (CharType *aBuffer, pword_t aBufferLength, const CharType *aFormat,...)
 指定のバッファにPrintfフォーマットで作成された文字列を格納する。
static const WriteResult VSNPrintf (CharType *aBuffer, pword_t aBufferLength, const CharType *aFormat, va_list aArg)
 VSNPrintfStrictと同様の処理を行い追加でエラーチェックをする。
static const WriteResult VSNPrintfStrict (CharType *aBuffer, pword_t aBufferLength, const CharType *aFormat, va_list aArg)
 指定のバッファにPrintfフォーマットで作成された文字列を格納する。
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 マクロ定義