Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TStringView
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
constexpr TStringView () |
Construct an empty view. | Containers/StringView.h | |
constexpr TStringView
(
const CharType* InData |
Construct a view of the null-terminated string pointed to by InData. | Containers/StringView.h | |
TStringView
(
const OtherCharType* InData |
Construct a view of the null-terminated string pointed to by InData. | Containers/StringView.h | |
constexpr TStringView
(
const CharRangeType& InRange |
Construct a view from a contiguous range of characters, such as FString or TStringBuilder. | Containers/StringView.h | |
constexpr TStringView
(
const CharType* InData, |
Construct a view of InSize characters beginning at InData. | Containers/StringView.h | |
constexpr TStringView
(
const OtherCharType* InData, |
Construct a view of InSize characters beginning at InData. | Containers/StringView.h |
TStringView()
Description
Construct an empty view.
| Name | TStringView |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/StringView.h |
| Include Path | #include "Containers/StringView.h" |
constexpr TStringView()
TStringView(const CharType *)
Description
Construct a view of the null-terminated string pointed to by InData.
| Name | TStringView |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/StringView.h |
| Include Path | #include "Containers/StringView.h" |
constexpr TStringView
(
const CharType * InData
)
TStringView(const OtherCharType *)
Description
Construct a view of the null-terminated string pointed to by InData.
| Name | TStringView |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/StringView.h |
| Include Path | #include "Containers/StringView.h" |
template<typename OtherCharType, std::enable_if_t<< TIsCharType < OtherCharType >, TIsCharEncodingCompatibleWith < OtherCharType, CharType > >::Value ), int >>
TStringView
(
const OtherCharType * InData
)
TStringView(const CharRangeType &)
Description
Construct a view from a contiguous range of characters, such as FString or TStringBuilder.
| Name | TStringView |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/StringView.h |
| Include Path | #include "Containers/StringView.h" |
template<typename CharRangeType, std::enable_if_t<< TIsContiguousContainer < CharRangeType >, TIsCharType < TElementType_T< CharRangeType > >, TIsCharEncodingCompatibleWith < TElementType_T< CharRangeType >, CharType > >::Value &&!std::is_array_v< std::remove_reference_t< CharRangeType > > &&!std::is_same_v< CharRangeType, ViewType >), int >>
constexpr TStringView
(
const CharRangeType & InRange
)
TStringView(const CharType *, int32)
Description
Construct a view of InSize characters beginning at InData.
| Name | TStringView |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/StringView.h |
| Include Path | #include "Containers/StringView.h" |
constexpr TStringView
(
const CharType * InData,
int32 InSize
)
TStringView(const OtherCharType *, int32)
Description
Construct a view of InSize characters beginning at InData.
| Name | TStringView |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/StringView.h |
| Include Path | #include "Containers/StringView.h" |
template<typename OtherCharType, std::enable_if_t<< TIsCharType < OtherCharType >, TIsCharEncodingCompatibleWith < OtherCharType, CharType > >::Value ), int >>
constexpr TStringView
(
const OtherCharType * InData,
int32 InSize
)