Salome HOME
Useful methods for sketch operations managements
[modules/shaper.git] / src / ModelAPI / ModelAPI.i
1 /* ModelAPI.i */
2 %module ModelAPI
3 %{
4   #include "ModelAPI.h"
5   #include "ModelAPI_Document.h"
6   #include "ModelAPI_PluginManager.h"
7   #include "ModelAPI_Feature.h"
8   #include "ModelAPI_Data.h"
9   #include "ModelAPI_Attribute.h"
10   #include "ModelAPI_AttributeDocRef.h"
11   #include "ModelAPI_AttributeDouble.h"
12   #include "ModelAPI_AttributeReference.h"
13   #include "ModelAPI_AttributeRefAttr.h"
14 %}
15
16 // to avoid error on this
17 #define MODELAPI_EXPORT
18
19 // standard definitions
20 %include "typemaps.i"
21 %include "std_string.i"
22 //%include <std_shared_ptr.i>
23
24 // boost pointers
25 %include <boost_shared_ptr.i>
26 %shared_ptr(ModelAPI_Document)
27 %shared_ptr(ModelAPI_PluginManager)
28 %shared_ptr(ModelAPI_Feature)
29 %shared_ptr(ModelAPI_Data)
30 %shared_ptr(ModelAPI_Attribute)
31 %shared_ptr(ModelAPI_AttributeDocRef)
32 %shared_ptr(ModelAPI_AttributeDouble)
33 %shared_ptr(ModelAPI_AttributeReference)
34 %shared_ptr(ModelAPI_AttributeRefAttr)
35
36 // all supported interfaces
37 %include "ModelAPI_Document.h"
38 %include "ModelAPI_PluginManager.h"
39 %include "ModelAPI_Feature.h"
40 %include "ModelAPI_Data.h"
41 %include "ModelAPI_Attribute.h"
42 %include "ModelAPI_AttributeDocRef.h"
43 %include "ModelAPI_AttributeDouble.h"
44 %include "ModelAPI_AttributeReference.h"
45 %include "ModelAPI_AttributeRefAttr.h"