27 static string typeName() {
return "Sdmdl::Assignment"; }
47 bool valid()
const {
return (_variable.valid()) && (_value.valid()) && (_variable.containsValue(_value)); }
bool operator==(const Assignment &assignment) const
Assignment & operator=(const Assignment &assign)
Assignment(const Assignment &assignment)
Diades::Utils::Exception< Assignment > Exception
void setVariable(const Variable &var)
friend ostream & operator<<(ostream &os, const Assignment &assign)
Namespace of the Diades project.
const Variable & variable() const
const Value & value() const
void setValue(const Value &val)
bool operator<(const Assignment &assignment) const