-// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
-//
-// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
-//
+// Copyright (C) 2014-2015 EDF-R&D
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
#include <NCollection_Sequence.hxx>
%End
-%MappedType NCollection_Sequence<Handle_HYDROData_Entity>
+%MappedType NCollection_Sequence<opencascade::handle<HYDROData_Entity>>
{
%TypeHeaderCode
#include <NCollection_Sequence.hxx>
{
Py_DECREF(l);
{
- Handle_HYDROData_Entity anEnt( aPntr );
+ Handle(HYDROData_Entity) anEnt( aPntr );
}
return NULL;
return 1;
}
- NCollection_Sequence<Handle_HYDROData_Entity> *aSeq =
- new NCollection_Sequence<Handle_HYDROData_Entity>;
+ NCollection_Sequence<Handle(HYDROData_Entity)> *aSeq =
+ new NCollection_Sequence<Handle(HYDROData_Entity)>;
len = PySequence_Size(sipPy);
for (SIP_SSIZE_T i = 0; i < len; ++i)
return 0;
}
- Handle_HYDROData_Entity anEnt( t );
+ Handle(HYDROData_Entity) anEnt( t );
aSeq->Append( anEnt );
//sipReleaseType(t, sipType_HYDROData_Entity, state);
%End
};
-typedef NCollection_Sequence<Handle_HYDROData_Entity> HYDROData_SequenceOfObjects;
+typedef NCollection_Sequence<opencascade::handle<HYDROData_Entity>> HYDROData_SequenceOfObjects;