Navigation
API > API/Runtime > API/Runtime/Core
Class takes one type of string and and stores it as-is. For API compatibility with TStringConversion when the To and From types are already in the same format.
| Name | TStringPointer |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/StringConv.h |
| Include Path | #include "Containers/StringConv.h" |
Syntax
template<typename InFromType, typename InToType>
class TStringPointer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TStringPointer
(
const SrcBufferType* Source |
Containers/StringConv.h | ||
TStringPointer
(
FromRangeType&& Source |
Construct from a compatible character range such as TStringView or TStringBuilder. | Containers/StringConv.h | |
TStringPointer
(
TStringPointer&& Other |
Move constructor | Containers/StringConv.h | |
TStringPointer
(
const TStringPointer& |
Non-copyable. | Containers/StringConv.h | |
TStringPointer
(
const SrcBufferType* Source, |
Containers/StringConv.h | ||
TStringPointer
(
UE::Core::Private::FFromStrCast, |
This constructor is only intended to be used by StrCast, not end users. | Containers/StringConv.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FromType | InFromType | Containers/StringConv.h | |
| ToType | InToType | Containers/StringConv.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Ptr | const ToType * | Containers/StringConv.h | ||
| StringLength | int32 | Containers/StringConv.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const ToType * Get () |
Accessor for the string. | Containers/StringConv.h | |
int32 Length() |
Length of the string. | Containers/StringConv.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TStringPointer & operator=
(
const TStringPointer& |
Containers/StringConv.h |