Navigation
API > API/Runtime > API/Runtime/Core
Factory functions for types derived from TCbBuffer.
This uses the curiously recurring template pattern to construct the correct derived type, that must inherit from TCbBuffer and this type to expose the factory functions.
| Name | TCbBufferFactory |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Serialization/CompactBinary.h |
| Include Path | #include "Serialization/CompactBinary.h" |
Syntax
template<typename Type, typename ViewType>
class TCbBufferFactory
Derived Classes
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static Type Clone
(
const void*const Data |
Construct a value from an owned clone of its memory. | Serialization/CompactBinary.h | |
static Type Clone
(
const ViewType& Value |
Construct a value from an owned clone of its memory. | Serialization/CompactBinary.h | |
static Type MakeView
(
const void*const Data, |
Construct a value from a read-only view of its memory and its optional outer buffer. | Serialization/CompactBinary.h | |
static Type MakeView
(
const ViewType& Value, |
Construct a value from a read-only view of its memory and its optional outer buffer. | Serialization/CompactBinary.h |