Salome HOME
Issue #1740 The visualization of selected point in the graphic scene is not visible
[modules/shaper.git] / src / CollectionAPI / CollectionAPI.i
index 6bdd141e20a64c2f6dc875f801a000a9a02a8679..d7f158eeb1b9feed195f1f5376def05ee0d4eb81 100644 (file)
 #endif // CollectionAPI_swig_H_
 %}
 
+%{
+  #include "ModelHighAPI_swig.h"
+
+  // fix for SWIG v2.0.4
+  #define SWIGPY_SLICE_ARG(obj) ((PySliceObject*)(obj))
+%}
+
 %include "doxyhelp.i"
 
 // import other modules
 
 // standard definitions
 %include "typemaps.i"
+%include "std_list.i"
+%include "std_string.i"
 %include "std_shared_ptr.i"
 
+%template(StringList) std::list<std::string>;
+%template(IntegerList) std::list<int>;
+%template(DoubleList) std::list<double>;
+%template(BooleanList) std::list<bool>;
+%template(StringListList) std::list<std::list<std::string> >;
+%template(IntegerListList) std::list<std::list<int> >;
+%template(DoubleListList) std::list<std::list<double> >;
+%template(BooleanListList) std::list<std::list<bool> >;
+
 // shared pointers
 %shared_ptr(CollectionAPI_Group)
 %shared_ptr(CollectionAPI_Field)