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
Dump Python in the High Level Parameterized Geometry API (issue #1648)
[modules/shaper.git]
/
src
/
ModelHighAPI
/
ModelHighAPI_RefAttr.cpp
diff --git
a/src/ModelHighAPI/ModelHighAPI_RefAttr.cpp
b/src/ModelHighAPI/ModelHighAPI_RefAttr.cpp
index 999cc718effb225a7dbef99b34f4539dc94cdae4..6bb6aeb3b2597aedc5ccd7e8e52c48dd9582e94e 100644
(file)
--- a/
src/ModelHighAPI/ModelHighAPI_RefAttr.cpp
+++ b/
src/ModelHighAPI/ModelHighAPI_RefAttr.cpp
@@
-62,3
+62,9
@@
void ModelHighAPI_RefAttr::appendToList(
case VT_OBJECT: theAttribute->append(myObject); return;
}
}
+
+//--------------------------------------------------------------------------------------
+bool ModelHighAPI_RefAttr::isEmpty() const
+{
+ return !(myAttribute && myObject);
+}