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

Class takes one type of string and and stores it as-is. 更多...

#include <StringConv.h>

Public 成员函数

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

详细描述

template<typename InFromType, typename InToType = InFromType>
class TStringPointer< InFromType, InToType >

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.

成员函数说明

◆ Get()

template<typename InFromType , typename InToType = InFromType>
FORCEINLINE const ToType * TStringPointer< InFromType, InToType >::Get ( ) const
inline

Accessor for the 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 string.

◆ Length()

template<typename InFromType , typename InToType = InFromType>
FORCEINLINE int32 TStringPointer< InFromType, InToType >::Length ( ) const
inline

Length of the string.

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

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