*/
virtual QColor GetBorderColor() const;
+
+ /**
+ * Returns sequence of object groups.
+ */
+ HYDROData_SequenceOfObjects GetGroups() const;
+
+ /**
+ * Returns group data model object by it id.
+ */
+ HYDROData_ShapesGroup GetGroup( const int theGroupId ) const [Handle_HYDROData_ShapesGroup ()];
+ %MethodCode
+
+ Handle(HYDROData_ShapesGroup) aRefGroup;
+
+ Py_BEGIN_ALLOW_THREADS
+ aRefGroup = sipSelfWasArg ? sipCpp->HYDROData_Object::GetGroup( a0 ) :
+ sipCpp->GetGroup( a0 );
+ Py_END_ALLOW_THREADS
+
+ sipRes = (HYDROData_ShapesGroup*)createPointer( aRefGroup );
+
+ %End
+
+ /**
+ * Returns group id by data model object.
+ */
+ int GetGroupId( HYDROData_ShapesGroup theGroup ) const [int (const Handle_HYDROData_ShapesGroup&)];
+ %MethodCode
+
+ Handle(HYDROData_ShapesGroup) aRefGroup =
+ Handle(HYDROData_ShapesGroup)::DownCast( createHandle( a0 ) );
+ if ( !aRefGroup.IsNull() )
+ {
+ Py_BEGIN_ALLOW_THREADS
+ sipRes = sipSelfWasArg ? sipCpp->HYDROData_Object::GetGroupId( aRefGroup ) :
+ sipCpp->GetGroupId( aRefGroup );
+ Py_END_ALLOW_THREADS
+ }
+
+ %End
+
+
protected:
/**