Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers
Inheritance Hierarchy
- Converter
- TInlineAllocator::template ForElementType< Converter::ToType >
- TStringConversion
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/StringConv.h |
| Include | #include "Containers/StringConv.h" |
Syntax
template<typename Converter, int32 DefaultConversionSize>
class TStringConversion :
private Converter,
private TInlineAllocator::template ForElementType< Converter::ToType >
Remarks
Class takes one type of string and converts it to another. The class includes a chunk of presized memory of the destination type. If the presized array is too small, it mallocs the memory needed and frees on the class going out of scope.
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Non-copyable, non-movable. | |||
TStringConversion
(
const TStringConversion& |
|||
TStringConversion
(
const SrcBufferType* Source |
|||
TStringConversion
(
const LegacyFromType* Source |
|||
TStringConversion
(
FromRangeType&& Source |
Construct from a compatible character range such as TStringView or TStringBuilder. | ||
TStringConversion
(
const SrcBufferType* Source, |
|||
TStringConversion
(
const LegacyFromType* Source, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const ToType * | Get () |
Accessor for the converted string. | |
| int32 | Length () |
Length of the converted string. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| TStringConversion & | operator=
(
TStringConversion&& |
||
| TStringConversion & | operator=
(
const TStringConversion& |
Typedefs
| Name | Description |
|---|---|
| AllocatorType | |
| FromType | |
| LegacyFromType | |
| ToType |