TStringConversion

Inheritance Hierarchy

Converter

TInlineAllocator::template ForElementType< Converter::ToType >

TStringConversion

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

References

Module

Core

Header

Runtime/Core/Public/Containers/StringConv.h