X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConfig%2FConfig_AttributeMessage.cpp;h=e1df96c3d7324451b2cbec4fc48c86edd46e04ec;hb=89682548b15252e424ffb9c1996cbeea1093b327;hp=cea94547e49461fd9c6d1e363902698be512fe8e;hpb=38afbd899a8645c83e17f2c24a17a2b7414911b4;p=modules%2Fshaper.git diff --git a/src/Config/Config_AttributeMessage.cpp b/src/Config/Config_AttributeMessage.cpp index cea94547e..e1df96c3d 100644 --- a/src/Config/Config_AttributeMessage.cpp +++ b/src/Config/Config_AttributeMessage.cpp @@ -1,15 +1,12 @@ // 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; } @@ -58,3 +55,14 @@ void Config_AttributeMessage::setObligatory(bool theObligatory) { this->myIsObligatory = theObligatory; } + +const std::list >& Config_AttributeMessage::getCases() const +{ + return myCases; +} + +void Config_AttributeMessage::setCases(const std::list >& theCases) +{ + myCases = theCases; +}