- /**
- * Updates the name of this object.
- */
- void SetName(const QString& theName);
-
- /**
- * Returns the object visibility state for the view with specified id.
- * \param theViewId view id
- * \returns visibility state
- */
- bool IsVisible( const int theViewId ) const;
-
- /**
- * Sets the object visibility state for the view with specified id.
- * \param theViewId view id
- * \param theVal visibility state
- */
- void SetVisible( const int theViewId,
- const bool theVal );
-
- /**
- * Checks is object exists in the data structure.
- * \returns true is object is not exists in the data model
- */
- bool IsRemoved() const;
+ Handle(HYDROData_IAltitudeObject) aRefAltitude =
+ Handle(HYDROData_IAltitudeObject)::DownCast( createHandle( a0 ) );
+ if ( !aRefAltitude.IsNull() )
+ {
+ Py_BEGIN_ALLOW_THREADS
+ sipRes = sipSelfWasArg ? sipCpp->HYDROData_Object::SetAltitudeObject( aRefAltitude ) :
+ sipCpp->SetAltitudeObject( aRefAltitude );
+ Py_END_ALLOW_THREADS
+ }