-/*
- *
- */
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
#include "Config_AttributeMessage.h"
Config_AttributeMessage::Config_AttributeMessage(const Events_ID theId, const void* theParent)
: Events_Message(theId, theParent)
{
- myAttributeId = ""; // Attribute unique id
- myFeatureId = ""; // Feature unique id
+ myAttributeId = std::string(); // Attribute unique id
+ myFeatureId = std::string(); // Feature unique id
myIsObligatory = true;
myIsConcealment = false;
+ myCaseId = std::string();
}
Config_AttributeMessage::~Config_AttributeMessage()
{
this->myIsObligatory = theObligatory;
}
+
+const std::string& Config_AttributeMessage::caseId() const
+{
+ return myCaseId;
+}
+
+const std::string& Config_AttributeMessage::switchId() const
+{
+ return mySwitchId;
+}
+
+void Config_AttributeMessage::setCaseId(const std::string& theId)
+{
+ this->myCaseId = theId;
+}
+
+void Config_AttributeMessage::setSwitchId(const std::string& theId)
+{
+ this->mySwitchId = theId;
+}