LIST(APPEND _output ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyNCollection_Sequence0100gp_XYZ.cc)
SET(${outfiles} ${${outfiles}} ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyNCollection_Sequence0100gp_XYZ.cc)
- LIST(APPEND _output ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyNCollection_Sequence0100gp_XY.cc)
- SET(${outfiles} ${${outfiles}} ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyNCollection_Sequence0100gp_XY.cc)
+# LIST(APPEND _output ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyNCollection_Sequence0100gp_XY.cc)
+# SET(${outfiles} ${${outfiles}} ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyNCollection_Sequence0100gp_XY.cc)
LIST(APPEND _output ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPygp_XYZ.cc)
SET(${outfiles} ${${outfiles}} ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPygp_XYZ.cc)
LIST(APPEND _output ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyTCollection_AsciiString.cc)
SET(${outfiles} ${${outfiles}} ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyTCollection_AsciiString.cc)
+
+ LIST(APPEND _output ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyNCollection_Sequence0100HYDROData_BathymetryAltitudePoint.cc)
+ SET(${outfiles} ${${outfiles}} ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyNCollection_Sequence0100HYDROData_BathymetryAltitudePoint.cc)
+
+ LIST(APPEND _output ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyNCollection_Sequence0100HYDROData_IPolylinePoint.cc)
+ SET(${outfiles} ${${outfiles}} ${CMAKE_CURRENT_BINARY_DIR}/sipHYDROPyNCollection_Sequence0100HYDROData_IPolylinePoint.cc)
+
+ 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)
TYPE *t = new TYPE(sipCpp->Value(i));
PyObject *tobj;
- if ((tobj = sipConvertFromNewType(t, sipType_TYPE, sipTransferObj)) == NULL)
+ if ((tobj = sipConvertFromNewType(t, sipFindType("TYPE"), sipTransferObj)) == NULL)
{
Py_DECREF(l);
delete t;
for (SIP_SSIZE_T i = 0; i < len; ++i)
{
PyObject *itm = PySequence_ITEM(sipPy, i);
- bool ok = (itm && sipCanConvertToType(itm, sipType_TYPE, SIP_NOT_NONE));
+ bool ok = (itm && sipCanConvertToType(itm, sipFindType("TYPE"), SIP_NOT_NONE));
Py_XDECREF(itm);
{
PyObject *itm = PySequence_ITEM(sipPy, i);
int state;
- TYPE *t = reinterpret_cast<TYPE *>(sipConvertToType(itm, sipType_TYPE, sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));
+ TYPE *t = reinterpret_cast<TYPE *>(sipConvertToType(itm, sipFindType("TYPE"), sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));
Py_DECREF(itm);
if (*sipIsErr)
{
- sipReleaseType(t, sipType_TYPE, state);
+ sipReleaseType(t, sipFindType("TYPE"), state);
delete aSeq;
return 0;
aSeq->Append(*t);
- sipReleaseType(t, sipType_TYPE, state);
+ sipReleaseType(t, sipFindType("TYPE"), state);
}
*sipCppPtr = aSeq;
class HYDROData_Bathymetry : HYDROData_IAltitudeObject
{
-
- typedef gp_XYZ AltitudePoint;
- typedef NCollection_Sequence<gp_XYZ> AltitudePoints;
-
%ConvertToSubClassCode
switch ( sipCpp->GetKind() )
{
}
%End
+ typedef gp_XYZ AltitudePoint;
+ typedef NCollection_Sequence<HYDROData_Bathymetry::AltitudePoint> AltitudePoints;
+
+
%TypeHeaderCode
#include <HYDROData_Bathymetry.h>
%End
class HYDROData_IPolyline : HYDROData_Entity /Abstract/
{
-
- typedef gp_XY Point;
- typedef NCollection_Sequence<gp_XY> PointsList;
-
%TypeHeaderCode
#include <HYDROData_IPolyline.h>
%End
+ typedef gp_XY Point;
+ typedef NCollection_Sequence<HYDROData_IPolyline::Point> PointsList;
+
+
%ConvertToSubClassCode
switch ( sipCpp->GetKind() )
{
class HYDROData_Profile : public HYDROData_Object
{
-public:
-
- typedef gp_XYZ ProfilePoint;
- typedef NCollection_Sequence<gp_XYZ> ProfilePoints;
-
%TypeHeaderCode
#include "HYDROData_Profile.h"
%End
+public:
+
+ typedef gp_XYZ ProfilePoint;
+ typedef NCollection_Sequence<HYDROData_Profile::ProfilePoint> ProfilePoints;
public:
/**
* First and last points will be automatically updated.
* \param thePoints the list with new profile points
*/
- void SetProfilePoints( const ProfilePoints thePoints );
+ void SetProfilePoints( const HYDROData_Profile::ProfilePoints thePoints );
/**
* Returns profile points.
* Empty sequence is returned if first or last point was not set.
* \return profile points list
*/
- ProfilePoints GetProfilePoints() const;
+ HYDROData_Profile::ProfilePoints GetProfilePoints() const;
public: