engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
TStringConversion< Converter, DefaultConversionSize > 模板类 参考

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

#include <StringConv.h>

继承自 Converter , 以及 TInlineAllocator< NumInlineElements, SecondaryAllocator >::template ForElementType .

Public 成员函数

FORCEINLINE const ToType * Get () const
 Accessor for the converted string. 更多...
 
FORCEINLINE int32 Length () const
 Length of the converted string. 更多...
 
 TStringConversion (TStringConversion &&Other)
 Move constructor
 

详细描述

template<typename Converter, int32 DefaultConversionSize = DEFAULT_STRING_CONVERSION_SIZE>
class TStringConversion< Converter, DefaultConversionSize >

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.

成员函数说明

◆ Get()

template<typename Converter , int32 DefaultConversionSize = DEFAULT_STRING_CONVERSION_SIZE>
FORCEINLINE const ToType * TStringConversion< Converter, DefaultConversionSize >::Get ( ) const
inline

Accessor for the converted string.

注解
The string may not be null-terminated if constructed from an explicitly sized buffer that didn't include the null-terminator.
返回
A const pointer to the converted string.

◆ Length()

template<typename Converter , int32 DefaultConversionSize = DEFAULT_STRING_CONVERSION_SIZE>
FORCEINLINE int32 TStringConversion< Converter, DefaultConversionSize >::Length ( ) const
inline

Length of the converted string.

返回
The number of characters in the converted string, excluding any null terminator.

该类的文档由以下文件生成: