|
size_t | StrLen (const char *str) noexcept |
| nlib_strlen()をラップします。
|
|
size_t | StrLen (const nlib_utf16_t *str) noexcept |
| nlib_utf16len()をラップします。
|
|
size_t | StrLen (const nlib_utf32_t *str) noexcept |
| nlib_utf32len()をラップします。
|
|
size_t | StrLen (const wchar_t *str) noexcept |
| nlib_wcslen()をラップします。
|
|
errno_t | CodePointCount (const char *str, size_t *count) noexcept |
| nlib_strcplen()をラップします。
|
|
errno_t | CodePointCount (const nlib_utf16_t *str, size_t *count) noexcept |
| nlib_utf16cplen()をラップします。
|
|
errno_t | CodePointCount (const nlib_utf32_t *str, size_t *count) noexcept |
| nlib_utf32cplen()をラップします。
|
|
errno_t | CodePointCount (const wchar_t *str, size_t *count) noexcept |
| nlib_wcscplen()をラップします。
|
|
int | StrCmp (const char *s1, const char *s2) noexcept |
| strcmp() をラップします。
|
|
int | StrCmp (const wchar_t *s1, const wchar_t *s2) noexcept |
| wcscmp() をラップします。
|
|
int | StrCmp (const nlib_utf16_t *s1, const nlib_utf16_t *s2) noexcept |
| UTF-16文字列をstrcmp() と同様に比較します。
|
|
int | StrCmp (const nlib_utf32_t *s1, const nlib_utf32_t *s2) noexcept |
| UTF-32文字列をstrcmp() と同様に比較します。
|
|
int | StrNcmp (const char *s1, const char *s2, size_t n) noexcept |
| strncmp() をラップします。
|
|
int | StrNcmp (const wchar_t *s1, const wchar_t *s2, size_t n) noexcept |
| wcsncmp() をラップします。
|
|
int | StrNcmp (const nlib_utf16_t *s1, const nlib_utf16_t *s2, size_t n) noexcept |
| UTF-16文字列をstrncmp() と同様に比較します。
|
|
int | StrNcmp (const nlib_utf32_t *s1, const nlib_utf32_t *s2, size_t n) noexcept |
| UTF-32文字列をstrncmp() と同様に比較します。
|
|
errno_t | StrCpy (char *dest, size_t dest_size, const char *src) noexcept |
| nlib_strcpy() をラップします。
|
|
errno_t | StrCpy (nlib_utf16_t *dest, size_t dest_size, const nlib_utf16_t *src) noexcept |
| nlib_utf16cpy() をラップします。
|
|
errno_t | StrCpy (nlib_utf32_t *dest, size_t dest_size, const nlib_utf32_t *src) noexcept |
| nlib_utf32cpy() をラップします。
|
|
errno_t | StrCpy (wchar_t *dest, size_t dest_size, const wchar_t *src) noexcept |
| nlib_wcscpy() をラップします。
|
|
template<class T , size_t N> |
errno_t | StrCpy (T(&dest)[N], const T *src) noexcept |
| 内部でStrCpy(&dest[0], N, src)を呼び出します。 [詳解]
|
|
errno_t | StrNcpy (char *dest, size_t dest_size, const char *src, size_t n) noexcept |
| nlib_strncpy() をラップします。
|
|
errno_t | StrNcpy (nlib_utf16_t *dest, size_t dest_size, const nlib_utf16_t *src, size_t n) noexcept |
| nlib_utf16ncpy() をラップします。
|
|
errno_t | StrNcpy (nlib_utf32_t *dest, size_t dest_size, const nlib_utf32_t *src, size_t n) noexcept |
| nlib_utf32ncpy() をラップします。
|
|
errno_t | StrNcpy (wchar_t *dest, size_t dest_size, const wchar_t *src, size_t n) noexcept |
| nlib_wcsncpy() をラップします。
|
|
template<class T , size_t N> |
errno_t | StrNcpy (T(&dest)[N], const T *src, size_t n) noexcept |
| 内部でStrNcpy(&dest[0], N, src, n)を呼び出します。 [詳解]
|
|
template<class T , size_t N> |
errno_t | StrCat (T(&dest)[N], const T *src) noexcept |
| 内部でStrCat(&dest[0], N, src)を呼び出します。 [詳解]
|
|
template<class T , size_t N> |
errno_t | StrNcat (T(&dest)[N], const T *src, size_t n) noexcept |
| 内部でStrNcat(&dest[0], N, src, n)を呼び出します。 [詳解]
|
|
int | VsnPrintfFallback (char *buf, size_t size, const char *fmt, va_list args) noexcept |
| VsnPrintf のフォールバックです。ワイド文字版も実装されています。 [詳解]
|
|
int | VsnPrintf (char *buf, size_t size, const char *fmt, va_list args) noexcept |
| vsnprintf() を実行します。 [詳解]
|
|
template<size_t N> |
int | VsnPrintf (char(&buf)[N], const char *fmt, va_list args) noexcept |
| 内部でVsnPrintf(buf, N, fmt, args)を実行します。 [詳解]
|
|
int | SnPrintf (char *buf, size_t size, const char *fmt,...) noexcept |
| 内部でVsnPrintf() を呼び出す以外はsnprintf 相当の動作をします。 [詳解]
|
|
template<size_t N> |
int | SnPrintf (char(&buf)[N], const char *fmt,...) noexcept |
| 内部でVsnPrintf() を実行します。 [詳解]
|
|
int | VsnPrintf (wchar_t *buf, size_t size, const wchar_t *fmt, va_list args) noexcept |
| vsnprintf を実行します。 [詳解]
|
|
template<size_t N> |
int | VsnPrintf (wchar_t(&buf)[N], const wchar_t *fmt, va_list args) noexcept |
| 内部でVsnPrintf(buf, N, fmt, args)を実行します。 [詳解]
|
|
int | SnPrintf (wchar_t *buf, size_t size, const wchar_t *fmt,...) noexcept |
| 内部でVsnPrintf() を呼び出す以外はsnwprintf 相当の動作をします。 [詳解]
|
|
template<size_t N> |
int | SnPrintf (wchar_t(&buf)[N], const wchar_t *fmt,...) noexcept |
| 内部でVsnPrintf() を実行します。 [詳解]
|
|
errno_t | GetNintendoTime (int64_t *t) noexcept |
| 2000/01/01を起点とした経過時間をミリ秒単位で返します。 [詳解]
|
|
uint64_t | GetTickTime () noexcept |
| システムを起動した後の経過時間をミリ秒単位で返します。 [詳解]
|
|
bool | operator== (const TimeValue &lhs, const TimeValue &rhs) noexcept |
| 比較演算子です。
|
|
bool | operator< (const TimeValue &lhs, const TimeValue &rhs) noexcept |
| 比較演算子です。
|
|
TimeValue | operator+ (const TimeValue &lhs, const TimeValue &rhs) noexcept |
| 加算します。
|
|
TimeValue | operator- (const TimeValue &lhs, const TimeValue &rhs) noexcept |
| 減算します。
|
|
bool | operator== (const TimeSpan &lhs, const TimeSpan &rhs) noexcept |
| 同じ時間ならばtrue を返します。
|
|
bool | operator< (const TimeSpan &lhs, const TimeSpan &rhs) noexcept |
| lhs がrhs より小さければtrue を返します。
|
|
TimeSpan | operator+ (const TimeSpan &lhs, const TimeSpan &rhs) noexcept |
| 加算します。
|
|
TimeSpan | operator- (const TimeSpan &lhs, const TimeSpan &rhs) noexcept |
| 減算します。
|
|
TimeSpan | operator* (int i, const TimeSpan &rhs) noexcept |
| rhs を i 倍します。
|
|
TimeSpan | operator* (double d, const TimeSpan &rhs) noexcept |
| rhs を d 倍します。
|
|
TimeSpan | operator* (const TimeSpan &lhs, int i) noexcept |
| rhs を i 倍します。
|
|
TimeSpan | operator* (const TimeSpan &lhs, double d) noexcept |
| rhs を d 倍します。
|
|
bool | operator== (const DateTime &lhs, const DateTime &rhs) noexcept |
| lhs とrhs が同一時刻ならばtrue を返します。
|
|
bool | operator< (const DateTime &lhs, const DateTime &rhs) noexcept |
| lhs がrhs より過去の時刻ならtrue を返します。
|
|
DateTime | operator+ (const DateTime &lhs, const TimeSpan &rhs) noexcept |
| lhs から rhs だけ未来の時刻を返します。
|
|
DateTime | operator- (const DateTime &lhs, const TimeSpan &rhs) noexcept |
| lhs から rhs だけ過去の時刻を返します。
|
|
TimeSpan | operator- (const DateTime &lhs, const DateTime &rhs) noexcept |
| 時刻rhs から時刻lhs までの時間を返します。
|
|
template<class T > |
errno_t | LockFreeInit (T **ptr) noexcept |
| スレッドセーフにオブジェクトの構築を行います。 [詳解]
|
|
template<class T , class AL1 , class AL2 > |
bool | operator== (const Nlist< T, AL1 > &lhs, const Nlist< T, AL2 > &rhs) noexcept |
| 2つのリストが等価かどうか調べます。
|
|
template<class T , class AL1 , class AL2 > |
bool | operator!= (const Nlist< T, AL1 > &lhs, const Nlist< T, AL2 > &rhs) noexcept |
| 2つのリストが等価かどうか調べます。
|
|
template<class T , class AL1 , class AL2 > |
bool | operator< (const Nlist< T, AL1 > &lhs, const Nlist< T, AL2 > &rhs) noexcept |
| 2つのリストを辞書順で比較します。
|
|
template<class T , class AL1 , class AL2 > |
bool | operator> (const Nlist< T, AL1 > &lhs, const Nlist< T, AL2 > &rhs) noexcept |
| 2つのリストを辞書順で比較します。
|
|
template<class T , class AL1 , class AL2 > |
bool | operator<= (const Nlist< T, AL1 > &lhs, const Nlist< T, AL2 > &rhs) noexcept |
| 2つのリストを辞書順で比較します。
|
|
template<class T , class AL1 , class AL2 > |
bool | operator>= (const Nlist< T, AL1 > &lhs, const Nlist< T, AL2 > &rhs) noexcept |
| 2つのリストを辞書順で比較します。
|
|
bool | operator== (const StringView &lhs, const StringView &rhs) noexcept |
| 文字列が一致するかどうか比較します。
|
|
bool | operator< (const StringView &lhs, const StringView &rhs) noexcept |
| 文字列を辞書順で比較します。
|
|
bool | StartsWith (const StringView &str, const StringView &prefix) noexcept |
| prefix がstr のプレフィックスである場合true を返します。
|
|
bool | StartsWith (const StringView &str, char c) noexcept |
| c がstr のプレフィックスである場合true を返します。
|
|
bool | StartsWith (const StringView &str, const char *prefix) noexcept |
| prefix がstr のプレフィックスである場合true を返します。
|
|
bool | EndsWith (const StringView &str, const StringView &suffix) noexcept |
| suffix がstr のサフィックスである場合true を返します。
|
|
bool | EndsWith (const StringView &str, char c) noexcept |
| c がstr のサフィックスである場合true を返します。
|
|
bool | EndsWith (const StringView &str, const char *suffix) noexcept |
| suffix がstr のサフィックスである場合true を返します。
|
|
bool | ToCstring (char *buf, size_t buf_size, const StringView &str) noexcept |
| ヌル終端文字列として文字列をコピーします。コピーできた場合はtrue を返します。
|
|
template<size_t N> |
bool | ToCstring (char(&buf)[N], const StringView &str) noexcept |
| ヌル終端文字列として文字列をコピーします。コピーできた場合はtrue を返します。
|
|
UniquePtr< char[]> | ToCstring (const StringView &str) noexcept |
| メモリを割り当ててヌル終端文字列として文字列をコピーします。コピーできた場合はtrue を返します。
|
|
std::pair< errno_t, size_t > | ToInteger (int8_t *v, const StringView &str, int base) noexcept |
| 内部でnlib_int8_from_chars() を呼び出して、文字列を数値に変換します。戻り値はエラー値と読み込んだ文字数のペアです。
|
|
std::pair< errno_t, size_t > | ToInteger (int16_t *v, const StringView &str, int base) noexcept |
| 内部でnlib_int16_from_chars() を呼び出して、文字列を数値に変換します。戻り値はエラー値と読み込んだ文字数のペアです。
|
|
std::pair< errno_t, size_t > | ToInteger (int32_t *v, const StringView &str, int base) noexcept |
| 内部でnlib_int32_from_chars() を呼び出して、文字列を数値に変換します。戻り値はエラー値と読み込んだ文字数のペアです。
|
|
std::pair< errno_t, size_t > | ToInteger (int64_t *v, const StringView &str, int base) noexcept |
| 内部でnlib_int64_from_chars() を呼び出して、文字列を数値に変換します。戻り値はエラー値と読み込んだ文字数のペアです。
|
|
std::pair< errno_t, size_t > | ToInteger (uint8_t *v, const StringView &str, int base) noexcept |
| 内部でnlib_uint8_from_chars() を呼び出して、文字列を数値に変換します。戻り値はエラー値と読み込んだ文字数のペアです。
|
|
std::pair< errno_t, size_t > | ToInteger (uint16_t *v, const StringView &str, int base) noexcept |
| 内部でnlib_uint16_from_chars() を呼び出して、文字列を数値に変換します。戻り値はエラー値と読み込んだ文字数のペアです。
|
|
std::pair< errno_t, size_t > | ToInteger (uint32_t *v, const StringView &str, int base) noexcept |
| 内部でnlib_uint32_from_chars() を呼び出して、文字列を数値に変換します。戻り値はエラー値と読み込んだ文字数のペアです。
|
|
std::pair< errno_t, size_t > | ToInteger (uint64_t *v, const StringView &str, int base) noexcept |
| 内部でnlib_uint64_from_chars() を呼び出して、文字列を数値に変換します。戻り値はエラー値と読み込んだ文字数のペアです。
|
|
std::pair< errno_t, size_t > | ToFloat (float *v, const StringView &str) noexcept |
| 内部でnlib_float_from_chars() を呼び出して、文字列を数値に変換します。戻り値はエラー値と読み込んだ文字数のペアです。
|
|
std::pair< errno_t, size_t > | ToDouble (double *v, const StringView &str) noexcept |
| 内部でnlib_double_from_chars() を呼び出して、文字列を数値に変換します。戻り値はエラー値と読み込んだ文字数のペアです。
|
|
template<class T > |
std::pair< errno_t, size_t > | ToInteger (T *v, const StringView &str) noexcept |
| ToInteger(v, str, 10) を返します。つまり10進数として文字列を数値に変換します。
|
|
bool | TrimLeft (StringView &str) noexcept |
| 文字列の先頭の空白を切り詰めます。 [詳解]
|
|
bool | TrimRight (StringView &str) noexcept |
| 文字列の末尾の空白を切り詰めます。 [詳解]
|
|
void | Trim (StringView &str) noexcept |
| 文字列の先頭と末尾の空白を切り詰めます。
|
|
StringView | GetLine (StringView &str) noexcept |
| 先頭から行末までの文字列を取得します。自身のオブジェクト(str )は次の行の行頭に移動します。 [詳解]
|
|
bool | Proceed (StringView &str, const StringView &prefix) noexcept |
| str がprefix で始まっていればその文字列長だけ進めます。 [詳解]
|
|
bool | Proceed (StringView &str, const char *prefix) noexcept |
| str がprefix で始まっていればその文字列長だけ進めます。 [詳解]
|
|
bool | Proceed (StringView &str, char c) noexcept |
| str がc で始まっていればその文字列長だけ進めます。 [詳解]
|
|
StringView | GetName (StringView &str) noexcept |
| 一般に変数名とされるような文字列を取得します。自身のオブジェクト(str )は取得した文字列の次に移動します。 [詳解]
|
|
template<class T1 , class D1 , class T2 , class D2 > |
bool | operator== (const UniquePtr< T1, D1 > &rhs, const UniquePtr< T2, D2 > &lhs) noexcept |
| 同じポインタを保持していていればtrue を返します。
|
|
template<class T1 , class D1 > |
bool | operator== (const UniquePtr< T1, D1 > &lhs, nullptr_t) noexcept |
| lhs がNULL であればtrue を返します。
|
|
template<class T1 , class D1 > |
bool | operator== (nullptr_t, const UniquePtr< T1, D1 > &rhs) noexcept |
| rhs がNULL であればtrue を返します。
|
|
template<class T1 , class D1 , class T2 , class D2 > |
bool | operator!= (const UniquePtr< T1, D1 > &rhs, const UniquePtr< T2, D2 > &lhs) noexcept |
| 同じポインタを保持していなければtrue を返します。
|
|
template<class T1 , class D1 > |
bool | operator!= (const UniquePtr< T1, D1 > &lhs, nullptr_t) noexcept |
| lhs がNULL でなければtrue を返します。
|
|
template<class T1 , class D1 > |
bool | operator!= (nullptr_t, const UniquePtr< T1, D1 > &rhs) noexcept |
| rhs がNULL でなければtrue を返します。
|
|