TStringConversion

Class takes one type of string and converts it to another.

Windows
MacOS
Linux

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

Name Description

Public function

TStringConversion

(
    const FromType* Source
)

Public function

TStringConversion

(
    TStringConversion&& Other
)

Move constructor

Public function

TStringConversion

(
    const FromType* Source,
    int32 SourceLen
)

Functions

Name Description

Public function Const

const ToType...

 

Get()

Accessor for the converted string.

Public function Const

int32

 

Length()

Length of the converted string.

Typedefs

Name

Description

AllocatorType

FromType

ToType

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss