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
#1329 arc tangent arc mode problem
[modules/shaper.git]
/
src
/
Config
/
Config_AttributeMessage.h
diff --git
a/src/Config/Config_AttributeMessage.h
b/src/Config/Config_AttributeMessage.h
index bfb9b64b1b5c1deb55c6986c7184c8ca78ffaa9e..e9ab250ea633cbeddab9e34fc07f74f3bac6da1a 100644
(file)
--- a/
src/Config/Config_AttributeMessage.h
+++ b/
src/Config/Config_AttributeMessage.h
@@
-22,6
+22,8
@@
class Config_AttributeMessage : public Events_Message
std::string myFeatureId; ///< Attribute's feature's unique id
bool myIsObligatory; ///< Required to be set by user, else it's feature is invalid.
bool myIsConcealment; ///< If true, conceals features used as input
std::string myFeatureId; ///< Attribute's feature's unique id
bool myIsObligatory; ///< Required to be set by user, else it's feature is invalid.
bool myIsConcealment; ///< If true, conceals features used as input
+ std::string myCaseId; ///< Attribute's case's id, if it placed inside a paged containers
+ std::string mySwitchId; ///< Attribute's switch id, if it placed inside a paged containers
public:
/// Same event as Config_FeatureMessage::MODEL_EVENT()
public:
/// Same event as Config_FeatureMessage::MODEL_EVENT()
@@
-45,15
+47,23
@@
class Config_AttributeMessage : public Events_Message
CONFIG_EXPORT bool isObligatory() const;
/// Returns true if attribute should conceal input features
CONFIG_EXPORT bool isConcealment() const;
CONFIG_EXPORT bool isObligatory() const;
/// Returns true if attribute should conceal input features
CONFIG_EXPORT bool isConcealment() const;
+ /// Returns id of a case which contain the attribute
+ CONFIG_EXPORT const std::string& caseId() const;
+ /// Returns id of a switch which contain the attribute
+ CONFIG_EXPORT const std::string& switchId() const;
/// Set attribute's unique id
CONFIG_EXPORT void setAttributeId(const std::string& theId);
/// Set attribute's feature's unique id
CONFIG_EXPORT void setFeatureId(const std::string& id);
/// Set attribute's unique id
CONFIG_EXPORT void setAttributeId(const std::string& theId);
/// Set attribute's feature's unique id
CONFIG_EXPORT void setFeatureId(const std::string& id);
- ///
Returns
attribute's concealment state
+ ///
Set
attribute's concealment state
CONFIG_EXPORT void setConcealment(bool isConcealment);
CONFIG_EXPORT void setConcealment(bool isConcealment);
- ///
Returns
attribute's obligatory state
+ ///
Set
attribute's obligatory state
CONFIG_EXPORT void setObligatory(bool isObligatory);
CONFIG_EXPORT void setObligatory(bool isObligatory);
+ /// Set attribute's case
+ CONFIG_EXPORT void setCaseId(const std::string& id);
+ /// Set attribute's switch
+ CONFIG_EXPORT void setSwitchId(const std::string& id);
};
#endif // ATTRIBUTE_MESSAGE_H
};
#endif // ATTRIBUTE_MESSAGE_H