#include <recovery_metadata_message_compressed_parts.h>
◆ difference_type
◆ iterator_category
◆ Iterator()
Recovery_metadata_message_compressed_parts::Iterator::Iterator |
( |
Recovery_metadata_message * |
recovery_metadata_message, |
|
|
uint |
packet_count |
|
) |
| |
Iterator constructor.
- Parameters
-
[in] | recovery_metadata_message | pointer to Recovery_metadata_message. |
[in] | packet_count | Number of packets of Compressed certification info. |
◆ operator!=()
The Recovery Metadata payload may contain multiple packets of compressed data.
The comparsion operator compare packets.
- Return values
-
false | If m_count or packet number of packets is equal. |
true | If m_count or packet number of packets is not equal. |
◆ operator*()
std::tuple< const unsigned char *, unsigned long long, unsigned long long > Recovery_metadata_Iterator::operator* |
( |
| ) |
|
The Recovery Metadata payload may contain multiple packets of compressed data.
The dereference operator will return tuple of compressed payload, compressed payload length and length of payload before it was compressed i.e. uncompressed payload length for one of the packet.
- Returns
- the tuple of compressed payload, compressed payload length and uncompressed payload length.
◆ operator++() [1/2]
The Recovery Metadata payload may contain multiple packets of compressed data.
The prefix increment operator will increment pointer to compressed payload position so that it can point to next Recovery Metadata compressed data packet.
- Returns
- a reference to Iterator object.
◆ operator++() [2/2]
The Recovery Metadata payload may contain multiple packets of compressed data.
The postfix increment operator will increment pointer to compressed payload position so that it can point to next Recovery Metadata compressed data packet.
- Returns
- a copy of Iterator before increment.
◆ operator==()
bool Recovery_metadata_Iterator::operator== |
( |
Iterator & |
b | ) |
|
The Recovery Metadata payload may contain multiple packets of compressed data.
The comparsion operator compare packets.
- Return values
-
false | If m_count or packet number of packets is not equal. |
true | If m_count or packet number of packets is equal. |
◆ m_count
uint Recovery_metadata_message_compressed_parts::Iterator::m_count {0} |
|
private |
◆ m_payload_length
unsigned long long Recovery_metadata_message_compressed_parts::Iterator::m_payload_length {0} |
|
private |
◆ m_payload_pos
const unsigned char* Recovery_metadata_message_compressed_parts::Iterator::m_payload_pos |
|
private |
◆ m_payload_uncompressed_length
unsigned long long Recovery_metadata_message_compressed_parts::Iterator::m_payload_uncompressed_length {0} |
|
private |
◆ m_recovery_metadata_message
The documentation for this struct was generated from the following files: