Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Issue #2120: Crash when creating an arc passing through the arc connected to both...
[modules/shaper.git]
/
src
/
Config
/
Config_AttributeMessage.cpp
diff --git
a/src/Config/Config_AttributeMessage.cpp
b/src/Config/Config_AttributeMessage.cpp
index 8009b12e49514ad900f7b43d5ca27d181415dc66..e1df96c3d7324451b2cbec4fc48c86edd46e04ec 100644
(file)
--- a/
src/Config/Config_AttributeMessage.cpp
+++ b/
src/Config/Config_AttributeMessage.cpp
@@
-9,7
+9,6
@@
Config_AttributeMessage::Config_AttributeMessage(const Events_ID theId, const vo
myFeatureId = std::string(); // Feature unique id
myIsObligatory = true;
myIsConcealment = false;
myFeatureId = std::string(); // Feature unique id
myIsObligatory = true;
myIsConcealment = false;
- myCaseId = std::string();
}
Config_AttributeMessage::~Config_AttributeMessage()
}
Config_AttributeMessage::~Config_AttributeMessage()
@@
-57,12
+56,13
@@
void Config_AttributeMessage::setObligatory(bool theObligatory)
this->myIsObligatory = 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 myCase
Id
;
+ return myCase
s
;
}
}
-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
;
}
}