Salome HOME
Add dumping named of copied entities in the sketch (issue #1924)
[modules/shaper.git] / src / Config / Config_AttributeMessage.cpp
index 3b37a27bdcef9d45009b941ae70c779403bed470..e1df96c3d7324451b2cbec4fc48c86edd46e04ec 100644 (file)
@@ -5,8 +5,8 @@
 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;
 }
@@ -55,3 +55,14 @@ void Config_AttributeMessage::setObligatory(bool theObligatory)
 {
   this->myIsObligatory = theObligatory;
 }
+
+const std::list<std::pair<std::string, std::string> >& Config_AttributeMessage::getCases() const
+{
+  return myCases;
+}
+
+void Config_AttributeMessage::setCases(const std::list<std::pair<std::string,
+                                       std::string> >& theCases)
+{
+  myCases = theCases;
+}