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 #637: Create visualization properties at Workshop constructor
[modules/shaper.git]
/
src
/
Model
/
Model_AttributeRefAttr.h
diff --git
a/src/Model/Model_AttributeRefAttr.h
b/src/Model/Model_AttributeRefAttr.h
index 94609a8f5f37e5e9390638844764f3d177d5b775..49337e695a9e7ebae3b79a944271b6a3d2b72f52 100644
(file)
--- a/
src/Model/Model_AttributeRefAttr.h
+++ b/
src/Model/Model_AttributeRefAttr.h
@@
-40,6
+40,9
@@
class Model_AttributeRefAttr : public ModelAPI_AttributeRefAttr
/// Returns object referenced from this attribute
MODEL_EXPORT virtual ObjectPtr object();
/// Returns object referenced from this attribute
MODEL_EXPORT virtual ObjectPtr object();
+ /// Returns true if attribute was initialized by some value
+ MODEL_EXPORT virtual bool isInitialized();
+
protected:
/// Objects are created for features automatically
MODEL_EXPORT Model_AttributeRefAttr(TDF_Label& theLabel);
protected:
/// Objects are created for features automatically
MODEL_EXPORT Model_AttributeRefAttr(TDF_Label& theLabel);