25#ifndef PHZDATAMODEL_QUALIFIEDNAME_H
26#define PHZDATAMODEL_QUALIFIEDNAME_H
33#include "ElementsKernel/Export.h"
225 return qualifiedName.
hash();
Represents a name qualified with a set of groups.
std::string m_qualified_name
bool operator==(const QualifiedName &other) const
Checks if this QualifiedName is equal with the parameter.
size_t hash() const
Returns the hash value of the QualifiedName.
QualifiedName(QualifiedName &&)=default
Move constructor.
virtual ~QualifiedName()=default
Destructor.
bool belongsInGroup(const QualifiedName &group) const
Checks if the QualifiedName belongs in a given group.
bool operator<(const QualifiedName &other) const
Compares this QualifiedName with the parameter.
std::string m_dataset_name
const std::string & qualifiedName() const
Returns the qualified name as a string.
const std::string & datasetName() const
Returns the unqualified name.
QualifiedName(const QualifiedName &)=default
Copy constructor.
QualifiedName & operator=(QualifiedName &&)=default
Move assignment operator.
QualifiedName & operator=(const QualifiedName &)=default
Copy assignment operator.
const std::vector< std::string > & groups() const
Returns the groups qualifying the name.
std::vector< std::string > m_groups
bool operator!=(const QualifiedName &other) const
Checks if this QualifiedName is not equal with the parameter.
QualifiedName(std::vector< std::string > groups, std::string name)
Constructs a QualifiedName with the given group and name.
std::ostream & operator<<(std::ostream &stream, const QualifiedName &qualified_name)
Make the QualifiedName streamable.
Provides alphabetical comparison for the QualifiedNames a and b.
bool operator()(const QualifiedName &a, const QualifiedName &b) const
size_t operator()(const Euclid::XYDataset::QualifiedName &qualifiedName) const