1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 #include "Config_AttributeMessage.h"
5 Config_AttributeMessage::Config_AttributeMessage(const Events_ID theId, const void* theParent)
6 : Events_Message(theId, theParent)
8 myAttributeId = ""; // Attribute unique id
9 myFeatureId = ""; // Feature unique id
10 myIsObligatory = true;
11 myIsConcealment = false;
14 Config_AttributeMessage::~Config_AttributeMessage()
19 const std::string& Config_AttributeMessage::featureId() const
24 void Config_AttributeMessage::setFeatureId(const std::string& theId)
29 const std::string& Config_AttributeMessage::attributeId() const
34 void Config_AttributeMessage::setAttributeId(const std::string& theId)
36 myAttributeId = theId;
39 bool Config_AttributeMessage::isConcealment() const
41 return myIsConcealment;
44 void Config_AttributeMessage::setConcealment(bool theConcealment)
46 this->myIsConcealment = theConcealment;
49 bool Config_AttributeMessage::isObligatory() const
51 return myIsObligatory;
54 void Config_AttributeMessage::setObligatory(bool theObligatory)
56 this->myIsObligatory = theObligatory;