switch ( sipCpp->GetKind() )
{
case KIND_REGION:
- sipClass = sipClass_HYDROData_Region;
+ sipType = sipType_HYDROData_Region;
break;
default:
// We don't recognise the type.
- sipClass = NULL;
+ sipType = NULL;
}
%End
#include <HYDROData_Region.h>
%End
-public:
+public:
/**
* Add new one reference zone for region.
*/
- void AddZone( HYDROData_Zone theZone ) [void (const Handle_HYDROData_Zone&)];
+ void AddZone( HYDROData_Zone theZone ) [void (const opencascade::handle<HYDROData_Zone>&)];
%MethodCode
Handle(HYDROData_Zone) aZone =
if ( !aZone.IsNull() )
{
Py_BEGIN_ALLOW_THREADS
- sipSelfWasArg ? sipCpp->HYDROData_Region::AddZone( aZone ) :
+ sipSelfWasArg ? sipCpp->HYDROData_Region::AddZone( aZone ) :
sipCpp->AddZone( aZone );
Py_END_ALLOW_THREADS
}
/**
* Removes reference zone from region.
*/
- void RemoveZone( HYDROData_Zone theZone ) [void (const Handle_HYDROData_Zone&)];
+ void RemoveZone( HYDROData_Zone theZone ) [void (const opencascade::handle<HYDROData_Zone>&)];
%MethodCode
Handle(HYDROData_Zone) aZone =
if ( !aZone.IsNull() )
{
Py_BEGIN_ALLOW_THREADS
- sipSelfWasArg ? sipCpp->HYDROData_Region::RemoveZone( aZone ) :
+ sipSelfWasArg ? sipCpp->HYDROData_Region::RemoveZone( aZone ) :
sipCpp->RemoveZone( aZone );
Py_END_ALLOW_THREADS
}
protected:
/**
- * Creates new object in the internal data structure. Use higher level objects
+ * Creates new object in the internal data structure. Use higher level objects
* to create objects with real content.
*/
HYDROData_Region();