From: rkv Date: Tue, 14 Jan 2014 13:07:22 +0000 (+0000) Subject: SIP: HYDROData_PolylineXY is updated: the last method GetSections is added, BOOLTYPE... X-Git-Tag: BR_hydro_v_1_0~101 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3658d47e6c33533de2d68d167e3566ae4400dc5f;p=modules%2Fhydro.git SIP: HYDROData_PolylineXY is updated: the last method GetSections is added, BOOLTYPE is introduced. --- diff --git a/CMake/UsePyQt4EXT.cmake b/CMake/UsePyQt4EXT.cmake index 63bb86eb..5fb12fd4 100644 --- a/CMake/UsePyQt4EXT.cmake +++ b/CMake/UsePyQt4EXT.cmake @@ -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} diff --git a/src/HYDROPy/HYDROData_PolylineXY.sip b/src/HYDROPy/HYDROData_PolylineXY.sip index 6408ae63..82aa9ff5 100644 --- a/src/HYDROPy/HYDROData_PolylineXY.sip +++ b/src/HYDROPy/HYDROData_PolylineXY.sip @@ -22,6 +22,7 @@ %ExportedHeaderCode #include + 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& theSectNames, + void GetSections( NCollection_Sequence& theSectNames, NCollection_Sequence& theSectTypes, - NCollection_Sequence& theSectClosures /Constrained/) const; -*/ + /*NCollection_Sequence&*/ NCollection_Sequence& theSectClosures ) const; + /** * Replaces point for section with index "theSectionIndex". * \param theSectionIndex index of section