Fetch data-plane serialization flag.
More...
#include <message_serialisation.h>
Fetch data-plane serialization flag.
◆ EndOfRange
Special FETCH range-termination condition.
| Enumerator |
|---|
| kNonExistent | End location is known not to exist.
|
| kUnknown | Existence of the end location is unknown.
|
◆ SubgroupIdMode
Encoding used to reconstruct a normal stream object's subgroup ID.
| Enumerator |
|---|
| kZero | Subgroup ID is zero.
|
| kPrior | Reuse prior subgroup ID.
|
| kNext | Prior subgroup ID plus one.
|
| kExplicit | Read an explicit subgroup ID.
|
◆ FetchSerializationProperties() [1/2]
| quicr::messages::FetchSerializationProperties::FetchSerializationProperties |
( |
std::uint64_t |
value | ) |
|
|
explicit |
Decodes serialization flags.
- Parameters
-
| value | Wire-format serialization flags. |
- Exceptions
-
◆ FetchSerializationProperties() [2/2]
| quicr::messages::FetchSerializationProperties::FetchSerializationProperties |
( |
SubgroupIdMode |
subgroup_id_mode, |
|
|
bool |
object_id_delta_present, |
|
|
bool |
group_id_delta_present, |
|
|
bool |
priority_present, |
|
|
bool |
properties_present, |
|
|
bool |
datagram |
|
) |
| |
|
noexcept |
Constructs normal-object flags from their components.
- Parameters
-
| subgroup_id_mode | Subgroup-ID encoding mode; ignored for datagrams. |
| object_id_delta_present | Whether an object-ID field is present. |
| group_id_delta_present | Whether a group-ID field is present. |
| priority_present | Whether publisher priority is present. |
| properties_present | Whether an extension block is present. |
| datagram | Whether the resolved object uses datagram forwarding. |
◆ GetType()
| std::uint64_t quicr::messages::FetchSerializationProperties::GetType |
( |
| ) |
const |
|
noexcept |
- Returns
- Encoded flags or end-of-range marker.
◆ datagram
| bool quicr::messages::FetchSerializationProperties::datagram |
Whether the resolved object used datagram forwarding.
◆ end_of_range
| std::optional<EndOfRange> quicr::messages::FetchSerializationProperties::end_of_range |
End-of-range marker, or absent for a normal object.
◆ group_id_delta_present
| bool quicr::messages::FetchSerializationProperties::group_id_delta_present |
Whether a group-ID delta/absolute field follows.
◆ kDatagramBit
| constexpr std::uint8_t quicr::messages::FetchSerializationProperties::kDatagramBit = 0x40 |
|
staticconstexpr |
◆ kEndOfNonExistentRange
| constexpr std::uint64_t quicr::messages::FetchSerializationProperties::kEndOfNonExistentRange = 0x8C |
|
staticconstexpr |
End-of-nonexistent-range marker value.
◆ kEndOfUnknownRange
| constexpr std::uint64_t quicr::messages::FetchSerializationProperties::kEndOfUnknownRange = 0x10C |
|
staticconstexpr |
End-of-unknown-range marker value.
◆ kGroupIdDeltaBit
| constexpr std::uint8_t quicr::messages::FetchSerializationProperties::kGroupIdDeltaBit = 0x08 |
|
staticconstexpr |
◆ kObjectIdDeltaBit
| constexpr std::uint8_t quicr::messages::FetchSerializationProperties::kObjectIdDeltaBit = 0x04 |
|
staticconstexpr |
◆ kPriorityBit
| constexpr std::uint8_t quicr::messages::FetchSerializationProperties::kPriorityBit = 0x10 |
|
staticconstexpr |
Publisher-priority-field bit.
◆ kPropertiesBit
| constexpr std::uint8_t quicr::messages::FetchSerializationProperties::kPropertiesBit = 0x20 |
|
staticconstexpr |
◆ kSubgroupMask
| constexpr std::uint8_t quicr::messages::FetchSerializationProperties::kSubgroupMask = 0x03 |
|
staticconstexpr |
◆ object_id_delta_present
| bool quicr::messages::FetchSerializationProperties::object_id_delta_present |
Whether an object-ID delta/absolute field follows.
◆ priority_present
| bool quicr::messages::FetchSerializationProperties::priority_present |
Whether publisher priority follows.
◆ properties_present
| bool quicr::messages::FetchSerializationProperties::properties_present |
Whether an extension block follows.
◆ subgroup_id_mode
| std::optional<SubgroupIdMode> quicr::messages::FetchSerializationProperties::subgroup_id_mode |
Subgroup mode for stream objects; absent for datagrams and end markers.
The documentation for this struct was generated from the following file: