]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/ModelAPI_Data.h
Salome HOME
Debug of Box macro feature to the updated architecture
[modules/shaper.git] / src / ModelAPI / ModelAPI_Data.h
index 5d952ebfad0e004b8228e7e99a5a0120b30fe3d7..e57aaec10a62c18ff9df8a474b44927b89ae5d28 100644 (file)
@@ -144,6 +144,9 @@ class MODELAPI_EXPORT ModelAPI_Data
   /// Copies all atributes content into theTarget data
   virtual void copyTo(std::shared_ptr<ModelAPI_Data> theTarget) = 0;
 
+  /// Returns the invalid data pointer (to avoid working with NULL shared ptrs in swig)
+  virtual std::shared_ptr<ModelAPI_Data> invalidPtr() = 0;
+
  protected:
   /// Objects are created for features automatically
   ModelAPI_Data();