![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <CompactBinary.h>
Inheritance diagram for TCbBuffer< ViewType >:Public Member Functions | |
| TCbBuffer ()=default | |
| TCbBuffer (FSharedBuffer ValueBuffer, ECbFieldType Type=ECbFieldType::HasFieldType) | |
| TCbBuffer (const ViewType &Value, FSharedBuffer OuterBuffer) | |
| template<typename OtherViewType > | |
| TCbBuffer (const ViewType &Value, TCbBuffer< OtherViewType > OuterBuffer) | |
| void | Reset () |
| bool | IsOwned () const |
| void | MakeOwned () |
| const ViewType & | AsView () const |
| const FSharedBuffer & | GetOuterBuffer () const & |
| FSharedBuffer | GetOuterBuffer () && |
| FCbField | operator[] (FUtf8StringView Name) const |
| FCbFieldIterator | CreateIterator () const |
| FCbFieldIterator | begin () const |
| constexpr FCbIteratorSentinel | end () const |
Friends | |
| template<typename OtherType > | |
| class | TCbBuffer |
A wrapper that holds a reference to the buffer that contains its compact binary value.
|
default |
Construct a default value.
|
inlineexplicit |
Construct a value from a pointer to its data and an optional externally-provided type.
| ValueBuffer | A buffer that exactly contains the value. |
| Type | HasFieldType means that ValueBuffer contains the type. Otherwise, use the given type. |
|
inline |
Construct a value that holds a reference to the buffer that contains it.
|
inline |
Construct a value that holds a reference to the buffer of the outer that contains it.
Returns the value as a view.
|
inline |
DO NOT USE DIRECTLY. These functions enable range-based for loop support.
|
inline |
Create an iterator for the fields of an array or object, otherwise an empty iterator.
|
inlineconstexpr |
|
inline |
|
inline |
Returns the outer buffer (if any) that contains this value.
The outer buffer might contain other data before and/or after this value. Use GetBuffer to request a buffer that exactly contains this value, or TryGetView for a contiguous view.
Whether this reference has ownership of the memory in its buffer.
Clone the value, if necessary, to a buffer that this reference has ownership of.
|
inline |
Find a field of an object by case-sensitive name comparison, otherwise a field with no value.
Reset this to a default value and null buffer.