Salome HOME
Templates for implementation of Geom classes receiving
[modules/shaper.git] / src / GeomAPI / GeomAPI.i
1 /* GeomAPI.i */
2 %module GeomAPI
3 %{
4   #include "boost/shared_ptr.hpp"
5   #include "GeomAPI.h"
6   #include "GeomAPI_Interface.h"
7   #include "GeomAPI_Pnt.h"
8   #include "GeomAPI_Dir.h"
9   #include "GeomAPI_Pln.h"
10   #include "GeomAPI_Shape.h"
11 %}
12
13 // to avoid error on this
14 #define GEOMAPI_EXPORT
15
16 // standard definitions
17 %include "typemaps.i"
18 %include "std_string.i"
19 //%include <std_shared_ptr.i>
20 %include <boost_shared_ptr.i>
21
22 // boost pointers
23 // %include <boost_shared_ptr.i>
24 %shared_ptr(GeomAPI_Interface)
25 %shared_ptr(GeomAPI_Pnt)
26 %shared_ptr(GeomAPI_Dir)
27 %shared_ptr(GeomAPI_Pln)
28 %shared_ptr(GeomAPI_Shape)
29
30 // all supported interfaces
31 %include "GeomAPI_Interface.h"
32 %include "GeomAPI_Pnt.h"
33 %include "GeomAPI_Dir.h"
34 %include "GeomAPI_Pln.h"
35 %include "GeomAPI_Shape.h"