24#ifndef MEMBER_VERSION_INCLUDED
25#define MEMBER_VERSION_INCLUDED
154 const uint8_t patch);
represent the MySQL version of a Member within the Group Replication group.
Definition: member_version.h:35
bool operator>(const Member_version &other) const
Definition: member_version.cc:85
uint8_t get_patch_version_decimal() const
Return the patch version in decimal (base 10) representation.
Definition: member_version.cc:116
void increment_major_version()
Increment by 1 the major version.
Definition: member_version.cc:147
uint32 get_minor_version() const
Definition: member_version.cc:45
uint32 version
Definition: member_version.h:122
void decrement_patch_version()
Decrement by 1 the patch version.
Definition: member_version.cc:212
bool operator>=(const Member_version &other) const
Definition: member_version.cc:91
void decrement_major_version()
Decrement by 1 the major version.
Definition: member_version.cc:157
bool operator<(const Member_version &other) const
Definition: member_version.cc:61
bool operator==(const Member_version &other) const
Definition: member_version.cc:53
void update_version_decimal(const uint8_t major, const uint8_t minor, const uint8_t patch)
Update the version from a decimal (base 10) representation.
Definition: member_version.cc:124
uint32 get_version() const
Definition: member_version.cc:34
Member_version(unsigned int version)
Constructs the Member_version object from a hexadecimal (base 16) representation.
Definition: member_version.cc:30
void increment_patch_version()
Increment by 1 the patch version.
Definition: member_version.cc:197
uint8_t get_minor_version_decimal() const
Return the minor version in decimal (base 10) representation.
Definition: member_version.cc:108
bool operator!=(const Member_version &other) const
Definition: member_version.cc:57
bool operator<=(const Member_version &other) const
Definition: member_version.cc:95
void decrement_minor_version()
Decrement by 1 the minor version.
Definition: member_version.cc:182
const std::string get_version_string() const
Definition: member_version.cc:36
uint32 get_patch_version() const
Definition: member_version.cc:49
uint8_t get_major_version_decimal() const
Return the major version in decimal (base 10) representation.
Definition: member_version.cc:100
uint32 get_major_version() const
Definition: member_version.cc:43
void increment_minor_version()
Increment by 1 the minor version.
Definition: member_version.cc:167
Some integer typedefs for easier portability.
uint32_t uint32
Definition: my_inttypes.h:67