Salome HOME
Dump Python in the High Level Parameterized Geometry API (issue #1648)
[modules/shaper.git] / src / ModelHighAPI / ModelHighAPI_RefAttr.h
index bc54e20789d32777a9d11b4a387ddd3a8235689b..816e5f59a6fa7e0cb5fbd0702ff67fc7b5338255 100644 (file)
@@ -50,6 +50,10 @@ public:
   MODELHIGHAPI_EXPORT
   virtual void appendToList(const std::shared_ptr<ModelAPI_AttributeRefAttrList> & theAttribute) const;
 
+  /// Check the object is empty
+  MODELHIGHAPI_EXPORT
+  bool isEmpty() const;
+
 private:
   enum VariantType { VT_ATTRIBUTE, VT_OBJECT } myVariantType;
   std::shared_ptr<ModelAPI_Attribute> myAttribute;