24#ifndef GCS_VIEW_IDENTIFIER_INCLUDED
25#define GCS_VIEW_IDENTIFIER_INCLUDED
80 return typeid(*this) ==
typeid(other) && this->
lessThan(other);
93 return typeid(*this) ==
typeid(other) && this->
equals(other);
97 return !(*
this == other);
This represents the identification of a certain view of a certain group in a moment in time.
Definition: gcs_view_identifier.h:44
Gcs_view_identifier & operator=(const Gcs_view_identifier &)=default
virtual Gcs_view_identifier * clone() const =0
Returns a copy of this object.
Gcs_view_identifier(const Gcs_view_identifier &)=default
virtual bool equals(const Gcs_view_identifier &other) const =0
virtual const std::string & get_representation() const =0
Returns a normalized representation of the DTO.
Gcs_view_identifier(Gcs_view_identifier &&)=default
bool operator<(const Gcs_view_identifier &other) const
Redefinition of the operator less, to allow usage as key in maps.
Definition: gcs_view_identifier.h:79
Gcs_view_identifier()=default
Gcs_view_identifier & operator=(Gcs_view_identifier &&)=default
virtual bool lessThan(const Gcs_view_identifier &other) const =0
bool operator==(const Gcs_view_identifier &other) const
Redefinition of the operator equals, to allow usage in sets.
Definition: gcs_view_identifier.h:92
virtual ~Gcs_view_identifier()=default
bool operator!=(const Gcs_view_identifier &other) const
Definition: gcs_view_identifier.h:96