24#ifndef GCS_MSG_HEADERS_H
25#define GCS_MSG_HEADERS_H
197 "The two version fields must have a combined size of 4 bytes");
244 "The m_used_version size does not match the storage capacity");
251 "The m_max_version size does not match the storage capacity");
256 "The m_{max,used}_version sizes does not match the storage capacity");
264 "The m_fixed_header_len size does not match the storage capacity");
274 "The m_payload_len size does not match the storage capacity");
282 "The m_dynamic_headers_len size does not match the storage capacity");
289 "The m_cargo_type size does not match the storage capacity");
483 unsigned long long payload_length)
noexcept;
579 virtual std::unique_ptr<Gcs_stage_metadata>
clone() = 0;
619 std::unique_ptr<Gcs_stage_metadata>
clone() final;
623 unsigned long long encode(
unsigned char *) const final;
625 unsigned long long decode(
unsigned char const *) final;
Gcs_protocol_version
The GCS protocol versions.
Definition: gcs_types.h:128
bool length(const dd::Spatial_reference_system *srs, const Geometry *g1, double *length, bool *null) noexcept
Computes the length of linestrings and multilinestrings.
Definition: length.cc:76
mutable_buffer buffer(void *p, size_t n) noexcept
Definition: buffer.h:418
Definition: gcs_xcom_synode.h:64
std::basic_ostringstream< char, std::char_traits< char >, ut::allocator< char > > ostringstream
Specialization of basic_ostringstream which uses ut::allocator.
Definition: ut0new.h:2872
required uint64 version
Definition: replication_group_member_actions.proto:41
required string type
Definition: replication_group_member_actions.proto:34