Navigation
API > API/Runtime > API/Runtime/Cbor
Class that represent a cbor context which consists of a header and value pair
| Name | FCborContext |
| Type | struct |
| Header File | /Engine/Source/Runtime/Cbor/Public/CborTypes.h |
| Include Path | #include "CborTypes.h" |
Syntax
struct FCborContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCborContext () |
CborTypes.h | ||
FCborContext
(
ECborCode Code |
CborTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BoolValue | bool | CborTypes.h | ||
| DoubleValue | double | CborTypes.h | ||
| FloatValue | float | CborTypes.h | ||
| IntValue | int64 | CborTypes.h | ||
| Length | uint64 | CborTypes.h | ||
| UIntValue | uint64 | CborTypes.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FCborContext | union FCborContext | Union to hold the context value. | CborTypes.h | |
| Header | FCborHeader | Holds the context header. | CborTypes.h | |
| RawTextValue | TArray< char > | Hold text value separately since, non trivial type are a mess in union, also used to report container type for break code. | CborTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ECborCode AdditionalValue() |
CborTypes.h | ||
FAnsiString AsAnsiString() |
CborTypes.h | ||
bool AsBool() |
CborTypes.h | ||
ECborCode AsBreak() |
CborTypes.h | ||
TArrayView< const uint8 > AsByteArray() |
CborTypes.h | ||
const char * AsCString() |
CborTypes.h | ||
double AsDouble() |
CborTypes.h | ||
float AsFloat() |
CborTypes.h | ||
int64 AsInt() |
CborTypes.h | ||
uint64 AsLength() |
CborTypes.h | ||
FString AsString() |
CborTypes.h | ||
uint64 AsUInt() |
CborTypes.h | ||
FUtf8String AsUtf8String() |
CborTypes.h | ||
bool IsBreak() |
CborTypes.h | ||
bool IsContainer() |
CborTypes.h | ||
bool IsDummy() |
CborTypes.h | ||
bool IsError() |
CborTypes.h | ||
bool IsFiniteContainer() |
CborTypes.h | ||
bool IsIndefiniteContainer() |
CborTypes.h | ||
bool IsString() |
CborTypes.h | ||
ECborCode MajorType() |
CborTypes.h | ||
ECborCode RawCode() |
CborTypes.h | ||
void Reset() |
Reset the context to a dummy state. | CborTypes.h |