Salome HOME
Add dumping named of copied entities in the sketch (issue #1924)
[modules/shaper.git] / src / Config / Config_AttributeMessage.cpp
index 8009b12e49514ad900f7b43d5ca27d181415dc66..e1df96c3d7324451b2cbec4fc48c86edd46e04ec 100644 (file)
@@ -9,7 +9,6 @@ Config_AttributeMessage::Config_AttributeMessage(const Events_ID theId, const vo
   myFeatureId = std::string(); // Feature unique id
   myIsObligatory = true;
   myIsConcealment = false;
-  myCaseId = std::string();
 }
 
 Config_AttributeMessage::~Config_AttributeMessage()
@@ -57,12 +56,13 @@ void Config_AttributeMessage::setObligatory(bool theObligatory)
   this->myIsObligatory = theObligatory;
 }
 
-const std::string& Config_AttributeMessage::caseId() const
+const std::list<std::pair<std::string, std::string> >& Config_AttributeMessage::getCases() const
 {
-  return myCaseId;
+  return myCases;
 }
 
-void Config_AttributeMessage::setCaseId(const std::string& theId)
+void Config_AttributeMessage::setCases(const std::list<std::pair<std::string,
+                                       std::string> >& theCases)
 {
-  this->myCaseId = theId;
+  myCases = theCases;
 }