MySQL 9.1.0
Source Code Documentation
|
This represents the unique identification of a group. More...
#include <gcs_group_identifier.h>
Public Member Functions | |
Gcs_group_identifier (const std::string &group_id) | |
Gcs_group_identifier constructor. More... | |
const std::string & | get_group_id () const |
bool | operator< (const Gcs_group_identifier &other) const |
Redefinition of the operator less, to allow usage as key in maps. More... | |
bool | operator== (const Gcs_group_identifier &other) const |
Redefinition of the operator equals, to allow usage in sets. More... | |
Private Attributes | |
std::string | group_id |
This represents the unique identification of a group.
The group uniqueness is relevant since it is the destination of data. Thus, it cannot be ambiguous.
|
explicit |
Gcs_group_identifier constructor.
[in] | group_id | the group identifier |
const std::string & Gcs_group_identifier::get_group_id | ( | ) | const |
bool Gcs_group_identifier::operator< | ( | const Gcs_group_identifier & | other | ) | const |
Redefinition of the operator less, to allow usage as key in maps.
[in] | other | the Gcs_group_identifier to compare to |
bool Gcs_group_identifier::operator== | ( | const Gcs_group_identifier & | other | ) | const |
Redefinition of the operator equals, to allow usage in sets.
[in] | other | the Gcs_group_identifier to compare to |
|
private |