engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 友元 | 所有成员列表
FCborContext结构体 参考

class that represent a cbor context which consists of a header and value pair 更多...

#include <CborTypes.h>

Public 成员函数

ECborCode AdditionalValue () const
 
bool AsBool () const
 
ECborCode AsBreak () const
 
TArrayView< const uint8 > AsByteArray () const
 
const char * AsCString () const
 
double AsDouble () const
 
float AsFloat () const
 
int64 AsInt () const
 
uint64 AsLength () const
 
FString AsString () const
 
uint64 AsUInt () const
 
bool IsBreak () const
 
bool IsContainer () const
 
bool IsDummy ()
 
bool IsError () const
 
bool IsFiniteContainer () const
 
bool IsIndefiniteContainer () const
 
bool IsString () const
 
ECborCode MajorType () const
 
ECborCode RawCode () const
 
void Reset ()
 Reset the context to a dummy state.
 

友元

class FCborReader
 
class FCborWriter
 

详细描述

class that represent a cbor context which consists of a header and value pair

成员函数说明

◆ AdditionalValue()

ECborCode FCborContext::AdditionalValue ( ) const
inline
返回
the context header additional value.

◆ AsBool()

bool FCborContext::AsBool ( ) const
inline
返回
the context as a bool.

◆ AsBreak()

ECborCode FCborContext::AsBreak ( ) const
inline
返回
the context as the container code the break context is associated with.

◆ AsByteArray()

TArrayView< const uint8 > FCborContext::AsByteArray ( ) const
inline
返回
the context as a raw byte array.

◆ AsCString()

const char * FCborContext::AsCString ( ) const
inline
返回
the context as a C string.

◆ AsDouble()

double FCborContext::AsDouble ( ) const
inline
返回
the context as a double.

◆ AsFloat()

float FCborContext::AsFloat ( ) const
inline
返回
the context as a float.

◆ AsInt()

int64 FCborContext::AsInt ( ) const
inline
返回
the context as an int.

◆ AsLength()

uint64 FCborContext::AsLength ( ) const
inline
返回
the context as a container length. Map container returns their length as twice their number of pairs.

◆ AsString()

FString FCborContext::AsString ( ) const
inline
返回
the context as a string.

◆ AsUInt()

uint64 FCborContext::AsUInt ( ) const
inline
返回
the context as an unsigned int.

◆ IsBreak()

bool FCborContext::IsBreak ( ) const
inline
返回
true if this context represent a break code.

◆ IsContainer()

bool FCborContext::IsContainer ( ) const
inline
返回
true if this context represents a container. (indefinite string are containers.)

◆ IsDummy()

bool FCborContext::IsDummy ( )
inline
返回
true if this is a dummy context.

◆ IsError()

bool FCborContext::IsError ( ) const
inline
返回
true if this context represents an error code.

◆ IsFiniteContainer()

bool FCborContext::IsFiniteContainer ( ) const
inline
返回
true if this context represents an finite container.

◆ IsIndefiniteContainer()

bool FCborContext::IsIndefiniteContainer ( ) const
inline
返回
true if this context represents an indefinite container.

◆ IsString()

bool FCborContext::IsString ( ) const
inline
返回
true if this context represents a string type.

◆ MajorType()

ECborCode FCborContext::MajorType ( ) const
inline
返回
the context header major type.

◆ RawCode()

ECborCode FCborContext::RawCode ( ) const
inline
返回
the context header raw code.

该结构体的文档由以下文件生成: