From 3658d47e6c33533de2d68d167e3566ae4400dc5f Mon Sep 17 00:00:00 2001 From: rkv Date: Tue, 14 Jan 2014 13:07:22 +0000 Subject: [PATCH] SIP: HYDROData_PolylineXY is updated: the last method GetSections is added, BOOLTYPE is introduced. --- CMake/UsePyQt4EXT.cmake | 12 +++++++----- src/HYDROPy/HYDROData_PolylineXY.sip | 7 ++++--- 2 files changed, 11 insertions(+), 8 deletions(-) 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 -- 2.39.2