]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
SIP: HYDROData_PolylineXY is updated: the last method GetSections is added, BOOLTYPE...
authorrkv <rkv@opencascade.com>
Tue, 14 Jan 2014 13:07:22 +0000 (13:07 +0000)
committerrkv <rkv@opencascade.com>
Tue, 14 Jan 2014 13:07:22 +0000 (13:07 +0000)
CMake/UsePyQt4EXT.cmake
src/HYDROPy/HYDROData_PolylineXY.sip

index 63bb86eb567afaf88c6613149204c1a66993d9b5..5fb12fd452966293f42529411bb5e03d3b6e4908 100644 (file)
@@ -160,12 +160,14 @@ MACRO(PYQT4_WRAP_SIP_EXT outfiles)
     LIST(APPEND _output ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyNCollection_Sequence0100HYDROData_ProfileProfilePoint.cc)
     SET(${outfiles} ${${outfiles}} ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyNCollection_Sequence0100HYDROData_ProfileProfilePoint.cc)
 
+    LIST(APPEND _output ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyNCollection_Sequence0100HYDROData_IPolylineSectionType.cc)
+    SET(${outfiles} ${${outfiles}} ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyNCollection_Sequence0100HYDROData_IPolylineSectionType.cc)
+
+    LIST(APPEND _output ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyNCollection_Sequence0100BOOLTYPE.cc)
+    SET(${outfiles} ${${outfiles}} ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyNCollection_Sequence0100BOOLTYPE.cc)
     
-#    LIST(APPEND _output ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyNCollection_Sequence0100HYDROData_IPolylineSectionType.cc)
-#    SET(${outfiles} ${${outfiles}} ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyNCollection_Sequence0100HYDROData_IPolylineSectionType.cc)
-    
-#    LIST(APPEND _output ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyNCollection_Sequence0100TCollection_AsciiString.cc)
-#    SET(${outfiles} ${${outfiles}} ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyNCollection_Sequence0100TCollection_AsciiString.cc)
+    LIST(APPEND _output ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyNCollection_Sequence0100TCollection_AsciiString.cc)
+    SET(${outfiles} ${${outfiles}} ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyNCollection_Sequence0100TCollection_AsciiString.cc)
     
     ADD_CUSTOM_COMMAND(
       OUTPUT ${_output}
index 6408ae63defdc4f5a219689d798944e20331d492..82aa9ff5e83c4db8eda03cda10c3ce65de43d8b6 100644 (file)
@@ -22,6 +22,7 @@
 
 %ExportedHeaderCode
 #include <HYDROData_PolylineXY.h>
+   typedef bool BOOLTYPE;
 %End
 
 class HYDROData_PolylineXY : HYDROData_IPolyline
@@ -87,10 +88,10 @@ public:
    * \param theSectionType type of section
    * \param theIsClosed flag indicates closures of section
    */
-/*TODO:  void GetSections( NCollection_Sequence<TCollection_AsciiString>& theSectNames,
+  void GetSections( NCollection_Sequence<TCollection_AsciiString>& theSectNames,
                     NCollection_Sequence<HYDROData_IPolyline::SectionType>& theSectTypes,
-                    NCollection_Sequence<bool>&                    theSectClosures  /Constrained/) const;
-*/
+                    /*NCollection_Sequence<bool>&*/ NCollection_Sequence<BOOLTYPE>& theSectClosures ) const;
+
   /**
    * Replaces point for section with index "theSectionIndex".
    * \param theSectionIndex index of section