webcfaceで管理されている文字列を参照するstring_view
More...
#include <webcface/common/encoding.h>
|
| TStringView () |
|
| TStringView (const CharT *data, std::size_t size, std::shared_ptr< const internal::SharedStringData > s_data) |
|
const CharT * | c_str () const |
| null終端の文字列ポインタを返す
|
|
| operator const CharT * () const |
|
template<typename T , std::enable_if_t< std::is_convertible_v< T, std::basic_string_view< CharT > >, std::nullptr_t > = nullptr> |
bool | operator== (const T &other) const |
|
template<typename T , std::enable_if_t< std::is_convertible_v< T, std::basic_string_view< CharT > >, std::nullptr_t > = nullptr> |
bool | operator!= (const T &other) const |
|
template<typename T , std::enable_if_t< std::is_convertible_v< T, std::basic_string_view< CharT > >, std::nullptr_t > = nullptr> |
bool | operator<= (const T &other) const |
|
template<typename T , std::enable_if_t< std::is_convertible_v< T, std::basic_string_view< CharT > >, std::nullptr_t > = nullptr> |
bool | operator>= (const T &other) const |
|
template<typename T , std::enable_if_t< std::is_convertible_v< T, std::basic_string_view< CharT > >, std::nullptr_t > = nullptr> |
bool | operator< (const T &other) const |
|
template<typename T , std::enable_if_t< std::is_convertible_v< T, std::basic_string_view< CharT > >, std::nullptr_t > = nullptr> |
bool | operator> (const T &other) const |
|
template<typename CharT>
class webcface::TStringView< CharT >
webcfaceで管理されている文字列を参照するstring_view
- Since
- ver2.10
- null終端であることが保証されており、 インタフェースとしては std::string_view に c_str() メンバ関数を追加したもの。
- 文字列本体へのshared_ptrを保持しているため、参照が切れることはない。
- std::string_view へキャストした場合、参照はこのStringViewの寿命までは有効
◆ TStringView() [1/2]
template<typename CharT >
◆ TStringView() [2/2]
template<typename CharT >
◆ c_str()
template<typename CharT >
const CharT * c_str |
( |
| ) |
const |
|
inline |
◆ operator const CharT *()
template<typename CharT >
operator const CharT * |
( |
| ) |
const |
|
inline |
◆ operator!=()
template<typename CharT >
template<typename T , std::enable_if_t< std::is_convertible_v< T, std::basic_string_view< CharT > >, std::nullptr_t > = nullptr>
bool operator!= |
( |
const T & |
other | ) |
const |
|
inline |
◆ operator<()
template<typename CharT >
template<typename T , std::enable_if_t< std::is_convertible_v< T, std::basic_string_view< CharT > >, std::nullptr_t > = nullptr>
bool operator< |
( |
const T & |
other | ) |
const |
|
inline |
◆ operator<=()
template<typename CharT >
template<typename T , std::enable_if_t< std::is_convertible_v< T, std::basic_string_view< CharT > >, std::nullptr_t > = nullptr>
bool operator<= |
( |
const T & |
other | ) |
const |
|
inline |
◆ operator==()
template<typename CharT >
template<typename T , std::enable_if_t< std::is_convertible_v< T, std::basic_string_view< CharT > >, std::nullptr_t > = nullptr>
bool operator== |
( |
const T & |
other | ) |
const |
|
inline |
◆ operator>()
template<typename CharT >
template<typename T , std::enable_if_t< std::is_convertible_v< T, std::basic_string_view< CharT > >, std::nullptr_t > = nullptr>
bool operator> |
( |
const T & |
other | ) |
const |
|
inline |
◆ operator>=()
template<typename CharT >
template<typename T , std::enable_if_t< std::is_convertible_v< T, std::basic_string_view< CharT > >, std::nullptr_t > = nullptr>
bool operator>= |
( |
const T & |
other | ) |
const |
|
inline |
The documentation for this class was generated from the following file: