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