MySQL 9.1.0
Source Code Documentation
|
This represents the identification of a certain view of a certain group in a moment in time. More...
#include <gcs_view_identifier.h>
Public Member Functions | |
Gcs_view_identifier ()=default | |
Gcs_view_identifier (const Gcs_view_identifier &)=default | |
Gcs_view_identifier (Gcs_view_identifier &&)=default | |
Gcs_view_identifier & | operator= (const Gcs_view_identifier &)=default |
Gcs_view_identifier & | operator= (Gcs_view_identifier &&)=default |
virtual const std::string & | get_representation () const =0 |
Returns a normalized representation of the DTO. More... | |
virtual Gcs_view_identifier * | clone () const =0 |
Returns a copy of this object. More... | |
bool | operator< (const Gcs_view_identifier &other) const |
Redefinition of the operator less, to allow usage as key in maps. More... | |
bool | operator== (const Gcs_view_identifier &other) const |
Redefinition of the operator equals, to allow usage in sets. More... | |
bool | operator!= (const Gcs_view_identifier &other) const |
virtual | ~Gcs_view_identifier ()=default |
Private Member Functions | |
virtual bool | equals (const Gcs_view_identifier &other) const =0 |
virtual bool | lessThan (const Gcs_view_identifier &other) const =0 |
This represents the identification of a certain view of a certain group in a moment in time.
This identifier must increase monotonically and be unique, in order to provide the notion of "happened before".
The get_representation() method is virtual, since each binding implementation might provide its notion of view identifier. The only mandatory property is that they should be comparable.
|
default |
|
default |
|
default |
|
virtualdefault |
|
pure virtual |
Returns a copy of this object.
Since this object is an interface, this is necessary to generate copies of it.
Implemented in Gcs_xcom_view_identifier.
|
privatepure virtual |
Implemented in Gcs_xcom_view_identifier.
|
pure virtual |
Returns a normalized representation of the DTO.
Implemented in Gcs_xcom_view_identifier.
|
privatepure virtual |
Implemented in Gcs_xcom_view_identifier.
|
inline |
|
inline |
Redefinition of the operator less, to allow usage as key in maps.
[in] | other | the Gcs_view_identifier to compare to |
other
, according to the internal representation of the object. false otherwise.
|
default |
|
default |
|
inline |
Redefinition of the operator equals, to allow usage in sets.
[in] | other | the Gcs_view_identifier to compare to |