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 #353 constraint on 2 segments from not acive sketches
[modules/shaper.git]
/
src
/
Config
/
Config_AttributeMessage.cpp
diff --git
a/src/Config/Config_AttributeMessage.cpp
b/src/Config/Config_AttributeMessage.cpp
index 3b37a27bdcef9d45009b941ae70c779403bed470..8009b12e49514ad900f7b43d5ca27d181415dc66 100644
(file)
--- a/
src/Config/Config_AttributeMessage.cpp
+++ b/
src/Config/Config_AttributeMessage.cpp
@@
-5,10
+5,11
@@
Config_AttributeMessage::Config_AttributeMessage(const Events_ID theId, const void* theParent)
: Events_Message(theId, theParent)
{
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;
myIsObligatory = true;
myIsConcealment = false;
+ myCaseId = std::string();
}
Config_AttributeMessage::~Config_AttributeMessage()
}
Config_AttributeMessage::~Config_AttributeMessage()
@@
-55,3
+56,13
@@
void Config_AttributeMessage::setObligatory(bool theObligatory)
{
this->myIsObligatory = theObligatory;
}
{
this->myIsObligatory = theObligatory;
}
+
+const std::string& Config_AttributeMessage::caseId() const
+{
+ return myCaseId;
+}
+
+void Config_AttributeMessage::setCaseId(const std::string& theId)
+{
+ this->myCaseId = theId;
+}