Salome HOME
Added object, attribute and data model organization in the document.
[modules/shaper.git] / src / ModelAPI / ModelAPI.i
index bbb3d7a412dbb25d7dd6ac3335829ea0028d2677..7490fc63663b4aa05b96e1628b0fe2470a4e7f71 100644 (file)
@@ -5,6 +5,7 @@
   #include "ModelAPI_Document.h"
   #include "ModelAPI_PluginManager.h"
   #include "ModelAPI_Feature.h"
+  #include "ModelAPI_Object.h"
 %}
 
 // to avoid error on this
 // standard definitions
 %include "typemaps.i"
 %include "std_string.i"
+%include <std_shared_ptr.i>
 
 // boost pointers
 // %include <boost_shared_ptr.i>
-// %shared_ptr(ModelAPI_PluginManager)
-// %shared_ptr(ModelAPI_Feature)
+%shared_ptr(ModelAPI_Document)
+%shared_ptr(ModelAPI_PluginManager)
+%shared_ptr(ModelAPI_Feature)
+%shared_ptr(ModelAPI_Object)
 
 // all supported interfaces
 %include "ModelAPI_Document.h"
 %include "ModelAPI_PluginManager.h"
 %include "ModelAPI_Feature.h"
+%include "ModelAPI_Object.h"