5 #include "ModelAPI_Document.h"
6 #include "ModelAPI_PluginManager.h"
7 #include "ModelAPI_Object.h"
8 #include "ModelAPI_Feature.h"
9 #include "ModelAPI_Data.h"
10 #include "ModelAPI_Attribute.h"
11 #include "ModelAPI_AttributeDocRef.h"
12 #include "ModelAPI_AttributeDouble.h"
13 #include "ModelAPI_AttributeReference.h"
14 #include "ModelAPI_AttributeRefAttr.h"
15 #include "ModelAPI_Validator.h"
16 #include "ModelAPI_AttributeRefList.h"
17 #include "ModelAPI_Result.h"
20 // to avoid error on this
21 #define MODELAPI_EXPORT
23 // standard definitions
25 %include "std_string.i"
29 %include <boost_shared_ptr.i>
30 %shared_ptr(ModelAPI_Document)
31 %shared_ptr(ModelAPI_PluginManager)
32 %shared_ptr(ModelAPI_Object)
33 %shared_ptr(ModelAPI_Feature)
34 %shared_ptr(ModelAPI_Data)
35 %shared_ptr(ModelAPI_Attribute)
36 %shared_ptr(ModelAPI_AttributeDocRef)
37 %shared_ptr(ModelAPI_AttributeDouble)
38 %shared_ptr(ModelAPI_AttributeReference)
39 %shared_ptr(ModelAPI_AttributeRefAttr)
40 %shared_ptr(ModelAPI_AttributeRefList)
41 %shared_ptr(ModelAPI_Result)
43 // all supported interfaces
44 %include "ModelAPI_Document.h"
45 %include "ModelAPI_PluginManager.h"
46 %include "ModelAPI_Object.h"
47 %include "ModelAPI_Feature.h"
48 %include "ModelAPI_Data.h"
49 %include "ModelAPI_Attribute.h"
50 %include "ModelAPI_AttributeDocRef.h"
51 %include "ModelAPI_AttributeDouble.h"
52 %include "ModelAPI_AttributeReference.h"
53 %include "ModelAPI_AttributeRefAttr.h"
54 %include "ModelAPI_Validator.h"
55 %include "ModelAPI_AttributeRefList.h"
56 %include "ModelAPI_Result.h"
58 %template(ObjectList) std::list<boost::shared_ptr<ModelAPI_Object> >;