Choose your operating system:
Windows
macOS
Linux
| FieldType
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Serialization/CompactBinary.h |
Include |
#include "Serialization/CompactBinary.h" |
template<typename FieldType>
class TCbFieldIterator : public FieldType
Iterator for FCbField[View] that can operate on any contiguous range of fields.
The iterator is the current field that the iterator points to and exposes the full interface of FCbField[View]. An iterator that is at the end is equivalent to a field with no value.
The iterator represents a range of fields from the current field to the last field.
Name | Description | |
---|---|---|
|
TCbFieldIterator() |
Construct an empty field range. |
|
TCbFieldIterator ( |
Construct a field range that contains exactly one field. |
|
TCbFieldIterator |
Construct a field range from the first field and a pointer to the end of the last field. |
Name | Description | ||
---|---|---|---|
|
AppendRangeHash ( |
Append the hash of every field in the range. |
|
|
constexpr TC... |
begin() |
DO NOT USE DIRECTLY. These functions enable range-based for loop support. |
|
CopyRangeTo ( |
Copy the field range into an archive, as if calling CopyTo on every field. |
|
|
CopyRangeTo ( |
Copy the field range into a buffer of exactly GetRangeSize() bytes. |
|
|
constexpr FC... |
end() |
|
|
constexpr bo... |
Equals ( |
|
|
const void &... |
GetFieldsEnd ( |
Returns the end of the last field, or null for an iterator at the end. |
|
GetRangeHash() |
Calculate the hash of every field in the range. |
|
|
GetRangeSize() |
Returns the size of the fields in the range in bytes. |
|
|
IterateRangeAttachments ( |
Invoke the visitor for every attachment in the field range. |
|
|
Reset() |
Reset this to an empty field range. |
|
|
TryGetRangeView ( |
Try to get a view of every field in the range as they would be serialized. |
Name | Description | ||
---|---|---|---|
|
constexpr bo... |
operator!= ( |
|
|
constexpr bo... |
operator!= ( |
|
|
constexpr Fi... |
operator*() |
|
|
TCbFieldIter... |
operator++() |
|
|
TCbFieldIter... |
operator++ ( |
|
|
constexpr bo... |
operator== ( |
|
|
constexpr bo... |
operator== ( |
|
|
constexpr Fi... |
operator->() |