|
ランタイム
|
文字列クラス( マルチバイト ) More...
#include <String.h>
Public Member Functions | |
| StringA (void) | |
| コンストラクタ More... | |
| StringA (const wchar_t *pStr) | |
| コピーコンストラクタ More... | |
| StringA (const char *pStr) | |
| コピーコンストラクタ More... | |
| StringA (const char *pStr, UIntT size) | |
| コピーコンストラクタ More... | |
| StringA (const StringA &str) | |
| コピーコンストラクタ More... | |
| ~StringA (void) | |
| デストラクタ More... | |
| char & | operator[] (UIntT index) |
| 要素を取得します More... | |
| Boolean | operator== (const StringA &str) const |
| 比較( == )をします More... | |
| Boolean | operator== (const char *pStr) const |
| 比較( == )をします More... | |
| Boolean | operator== (char code) const |
| 比較( == )をします More... | |
| Boolean | operator== (UIntT nullValue) const |
| 比較( == )をします More... | |
| Boolean | operator!= (const StringA &str) const |
| 比較( != )をします More... | |
| Boolean | operator!= (const char *pStr) const |
| 比較( != )をします More... | |
| Boolean | operator!= (UIntT nullValue) const |
| 比較( != )をします More... | |
| StringA & | operator= (const StringA &str) |
| 代入( = )をします More... | |
| StringA & | operator= (const char *pStr) |
| 代入( = )をします More... | |
| StringA & | operator= (const wchar_t *pStr) |
| 代入( = )をします More... | |
| StringA & | operator= (char code) |
| 代入( = )をします More... | |
| StringA & | operator+= (const char *pStr) |
| 追加( += )をします More... | |
| StringA & | operator+= (const StringA &str) |
| 追加( += )をします More... | |
| StringA & | operator+= (char code) |
| 追加( += )をします More... | |
| StringA | operator+ (const StringA &str) |
| 結合( + )します More... | |
| Float64 | ToDouble (Boolean *pbRet=NULL) const |
| Float64型へ変換します More... | |
| Float32 | ToFloat (Boolean *pbRet=NULL) const |
| Float32型へ変換します More... | |
| Int32 | ToInt (Boolean *pbRet=NULL) const |
| Int32型へ変換します More... | |
| UInt32 | ToUInt (Boolean *pbRet=NULL) const |
| unsigned Int32型へ変換します More... | |
| StringA | ToUpper (void) |
| 自身のコピーを大文字に変換して返します More... | |
| StringA | ToLower (void) |
| 自身のコピーを小文字に変換して返します More... | |
| void | Upper (void) |
| 自身を大文字に変換します More... | |
| void | Lower (void) |
| 自身を小文字に変換します More... | |
| char * | Sprintf (const char *format,...) |
| 指定フォーマットで文字列を作成します More... | |
| StringA | Left (UIntT size) |
| 左端から指定した文字数だけ取得します More... | |
| StringA | Right (UIntT size) |
| 右端から指定した文字数だけ取得します More... | |
| StringA | Mid (UIntT startPos, UIntT size) |
| 指定した位置と文字数だけ取得します More... | |
| UIntT | IndexOf (char value) |
| 指定した文字が文字列内で最初に見つかった位置のインデックスを取得します More... | |
| UIntT | LastIndexOf (char value) |
| 指定した文字が文字列内で最後に見つかった位置のインデックスを取得します More... | |
| template<Mix::Memory::SECTION_TYPE ST> | |
| void | Split (const char *pSeparator, std::vector< Mix::StringA, std::vector< Mix::StringA, Mix::Memory::STLAllocator< ST, Mix::StringA >>> &list) |
| 指定したセパレータで文字列を分割します More... | |
| char * | GetPtr (void) const |
| 文字列のポインタを取得します More... | |
| const char * | GetConstPtr (void) const |
| 文字列のポインタを取得します( CONST ) More... | |
| UIntT | GetNum (void) const |
| 文字数を取得します More... | |
| UIntT | GetSize (void) const |
| 文字列サイズを取得します More... | |
| UIntT | GetAllocateSize (void) const |
| 確保したメモリのサイズを取得します More... | |
| UIntT | GetCapacity (void) const |
| キャパシティ(バイト単位)を取得します More... | |
Friends | |
| const StringA | operator+ (const char *ls, const StringA &rs) |
| 結合( + )します More... | |
| bool | operator< (const StringA &l, const StringA &r) |
| 比較( l < r )をします More... | |
| bool | operator> (const StringA &l, const StringA &r) |
| 比較( l > r )をします More... | |
| bool | operator<= (const StringA &l, const StringA &r) |
| 比較( l <= r )をします More... | |
| bool | operator>= (const StringA &l, const StringA &r) |
| 比較( l >= r )をします More... | |
文字列クラス( マルチバイト )
| Mix::StringA::StringA | ( | void | ) |
コンストラクタ
| Mix::StringA::StringA | ( | const wchar_t * | pStr | ) |
コピーコンストラクタ
| [in] | pStr | ユニコード文字列へのポインタ |
| Mix::StringA::StringA | ( | const char * | pStr | ) |
コピーコンストラクタ
| [in] | pStr | マルチバイト文字列へのポインタ |
| Mix::StringA::StringA | ( | const char * | pStr, |
| UIntT | size | ||
| ) |
コピーコンストラクタ
| [in] | pStr | 文字列へのポインタ |
| [in] | size | 文字列のサイズ |
| Mix::StringA::StringA | ( | const StringA & | str | ) |
コピーコンストラクタ
| [in] | str | 文字列 |
| Mix::StringA::~StringA | ( | void | ) |
デストラクタ
| char& Mix::StringA::operator[] | ( | UIntT | index | ) |
要素を取得します
| [in] | index | 取得する要素のインデックス |
比較( == )をします
| [in] | str | 文字列 |
| Boolean Mix::StringA::operator== | ( | const char * | pStr | ) | const |
比較( == )をします
| [in] | pStr | 文字列へのポインタ |
| Boolean Mix::StringA::operator== | ( | char | code | ) | const |
比較( == )をします
| [in] | code | 文字コード |
比較( == )をします
| [in] | nullValue | NULLのみ可能 |
比較( != )をします
| [in] | str | 文字列 |
| Boolean Mix::StringA::operator!= | ( | const char * | pStr | ) | const |
比較( != )をします
| [in] | pStr | 文字列へのポインタ |
比較( != )をします
| [in] | nullValue | NULLのみ指定可能 |
代入( = )をします
| [in] | str | 文字列 |
| StringA& Mix::StringA::operator= | ( | const char * | pStr | ) |
代入( = )をします
| [in] | pStr | 文字列へのポインタ |
| StringA& Mix::StringA::operator= | ( | const wchar_t * | pStr | ) |
代入( = )をします
| [in] | pStr | マルチバイト文字列へのポインタ |
| StringA& Mix::StringA::operator= | ( | char | code | ) |
代入( = )をします
| [in] | code | コード |
| StringA& Mix::StringA::operator+= | ( | const char * | pStr | ) |
追加( += )をします
| [in] | pStr | 文字列へのポインタ |
追加( += )をします
| [in] | str | 文字列 |
| StringA& Mix::StringA::operator+= | ( | char | code | ) |
追加( += )をします
| [in] | code | 文字コード |
結合( + )します
| [in] | str | 文字列 |
Float64型へ変換します
| [in] | pbRet | 返り値 True 成功 False 失敗 |
Float32型へ変換します
| [in] | pbRet | 返り値 True 成功 False 失敗 |
Int32型へ変換します
| [in] | pbRet | 返り値 True 成功 False 失敗 |
unsigned Int32型へ変換します
| [in] | pbRet | 返り値 True 成功 False 失敗 |
| StringA Mix::StringA::ToUpper | ( | void | ) |
自身のコピーを大文字に変換して返します
| StringA Mix::StringA::ToLower | ( | void | ) |
自身のコピーを小文字に変換して返します
| void Mix::StringA::Upper | ( | void | ) |
自身を大文字に変換します
| void Mix::StringA::Lower | ( | void | ) |
自身を小文字に変換します
| char* Mix::StringA::Sprintf | ( | const char * | format, |
| ... | |||
| ) |
指定フォーマットで文字列を作成します
| [in] | format | フォーマット |
| [in] | ... | 値 |
指定した位置と文字数だけ取得します
| [in] | startPos | 取り出しを開始する位置 |
| [in] | size | 取り出すサイズ |
| UIntT Mix::StringA::IndexOf | ( | char | value | ) |
指定した文字が文字列内で最初に見つかった位置のインデックスを取得します
| [in] | value | 見つけたい文字 |
| UIntT Mix::StringA::LastIndexOf | ( | char | value | ) |
指定した文字が文字列内で最後に見つかった位置のインデックスを取得します
| [in] | value | 見つけたい文字 |
|
inline |
指定したセパレータで文字列を分割します
| [in] | pSeparator | 文字列を分割するための区切り文字として使用する文字配列 |
| [out] | list | 分割した文字列を格納するベクタークラス |
| char* Mix::StringA::GetPtr | ( | void | ) | const |
文字列のポインタを取得します
| const char* Mix::StringA::GetConstPtr | ( | void | ) | const |
文字列のポインタを取得します( CONST )
| UIntT Mix::StringA::GetNum | ( | void | ) | const |
文字数を取得します
| UIntT Mix::StringA::GetSize | ( | void | ) | const |
文字列サイズを取得します
| UIntT Mix::StringA::GetAllocateSize | ( | void | ) | const |
確保したメモリのサイズを取得します
| UIntT Mix::StringA::GetCapacity | ( | void | ) | const |
キャパシティ(バイト単位)を取得します
結合( + )します
| [in] | ls | 結合先文字列 |
| [in] | rs | 結合元文字列 |
比較( l < r )をします
| [in] | l | 比較する文字列1 |
| [in] | r | 比較する文字列2 |
比較( l > r )をします
| [in] | l | 比較する文字列1 |
| [in] | r | 比較する文字列2 |
比較( l <= r )をします
| [in] | l | 比較する文字列1 |
| [in] | r | 比較する文字列2 |
比較( l >= r )をします
| [in] | l | 比較する文字列1 |
| [in] | r | 比較する文字列2 |