X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConfig%2FConfig_AttributeMessage.cpp;h=973dd3930e2fb272d2157cad99cfc1882c0d7ce3;hb=0479361746467f244b7ccfd1d25443677bdea8a6;hp=f0a638a107939b90f18c93f1b90c3412b1c8e03c;hpb=55106ca3aef765fc36d57720060c185d745f25db;p=modules%2Fshaper.git diff --git a/src/Config/Config_AttributeMessage.cpp b/src/Config/Config_AttributeMessage.cpp index f0a638a10..973dd3930 100644 --- a/src/Config/Config_AttributeMessage.cpp +++ b/src/Config/Config_AttributeMessage.cpp @@ -1,15 +1,15 @@ -/* - * - */ +// 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() @@ -56,3 +56,23 @@ void Config_AttributeMessage::setObligatory(bool theObligatory) { 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; +}