UTF-8 文字列の操作クラス More...
#include <Utf8.h>
Public Member Functions | |
| Utf8 (const std::string &utf8_text) | |
| 初期値を指定したコンストラクタ | |
| Utf8 (const Utf8 &rhs) | |
| コピーコンストラクタ | |
| Utf8 & | operator= (const Utf8 &rhs) |
| 代入コンストラクタ | |
| bool | empty (void) |
| データが格納されているかを返す More... | |
| void | clear (void) |
| 格納されているデータをクリアする | |
| size_t | size (void) const |
| UTF-8 の文字数を返す | |
| unsigned long | ch (size_t index) const |
| 指定された位置の UTF-8 の文字を返す | |
| unsigned short | operator[] (size_t index) const |
| 指定された位置の UTF-8 の文字を返す | |
| std::string | to_string (void) const |
| std:string としたデータを返す | |
| Utf8 | substr (size_t first_index, size_t n=std::string::npos) const |
| UTF-8 の部分文字列を返す | |
| void | pop_back (void) |
| 最後の UTF-8 の文字を取り除く | |
| Utf8 & | operator+= (const Utf8 &rhs) |
UTF-8 文字列の操作クラス
| bool Utf8::empty | ( | void | ) |
データが格納されているかを返す
| true | データが格納されている |
| false | データが格納されていない |
1.8.6