Choose your operating system:
Windows
macOS
Linux
| FCbFieldView
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Serialization/CompactBinary.h |
Include |
#include "Serialization/CompactBinary.h" |
class FCbArrayView : protected FCbFieldView
Array of FCbField[View] that have no names.
Accessing a field of the array requires iteration. Access by index is not provided because the cost of accessing an item by index scales linearly with the index.
This type only provides a view into memory and does not perform any memory management itself. Use FCbArray to hold a reference to the underlying memory when necessary.
Name | Description | |
---|---|---|
|
FCbArrayView() |
Construct an array with no fields. |
Name | Description | ||
---|---|---|---|
|
AppendHash ( |
Append the hash of the array if serialized by itself with no name. |
|
|
AsFieldView() |
Access the array as an array field. |
|
|
CopyTo ( |
Copy the array into a buffer of exactly GetSize() bytes, with no name. |
|
|
CopyTo ( |
Copy the array into an archive. |
|
|
Equals ( |
Whether this array is identical to the other array. |
|
|
FromFieldNoCheck ( |
Construct an array from an array field. No type check is performed! |
|
|
GetHash() |
Calculate the hash of the array if serialized by itself with no name. |
|
|
GetSize() |
Returns the size of the array in bytes if serialized by itself with no name. |
|
|
IterateAttachments ( |
Invoke the visitor for every attachment in the array. |
|
|
Num() |
Returns the number of items in the array. |
|
|
TryGetView ( |
Try to get a view of the array as it would be serialized, such as by CopyTo. |
Name | Description | ||
---|---|---|---|
|
operator bool() |
Whether the array has any fields. |