38 Locality<T>(
const std::string name,
const T x = 0,
const T y = 0) :
55 virtual ~Locality<T>() {}
79 return !(locality == *
this);
virtual bool operator!=(const Locality< T > &locality) const
The != operator.
const std::string & getName() const
Get the name of the locality.
virtual bool operator==(const Locality< T > &locality) const
The == operator.
void setName(const std::string &name)
Set the name of the locality.
Locality< T > * clone() const
Implements the Clonable interface.