MySQL 8.3.0
Source Code Documentation
Gcs_group_identifier Class Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Gcs_group_identifier()

Gcs_group_identifier::Gcs_group_identifier ( const std::string &  group_id)
explicit

Gcs_group_identifier constructor.

Parameters
[in]group_idthe group identifier

Member Function Documentation

◆ get_group_id()

const std::string & Gcs_group_identifier::get_group_id ( ) const
Returns
the group identifier

◆ operator<()

bool Gcs_group_identifier::operator< ( const Gcs_group_identifier other) const

Redefinition of the operator less, to allow usage as key in maps.

Parameters
[in]otherthe Gcs_group_identifier to compare to
Returns
the result of comparing internal representation with the compare operation from the string object

◆ operator==()

bool Gcs_group_identifier::operator== ( const Gcs_group_identifier other) const

Redefinition of the operator equals, to allow usage in sets.

Parameters
[in]otherthe Gcs_group_identifier to compare to
Returns
the result of comparing internal representation with the compare operation from the string object

Member Data Documentation

◆ group_id

std::string Gcs_group_identifier::group_id
private

The documentation for this class was generated from the following files: