sipClass = sipClass_HYDROData_Bathymetry;
break;
+ case KIND_OBSTACLE_ALTITUDE:
+ sipClass = sipClass_HYDROData_ObstacleAltitude;
+ break;
+
case KIND_IMMERSIBLE_ZONE:
sipClass = sipClass_HYDROData_ImmersibleZone;
break;
sipClass = sipClass_HYDROData_CalculationCase;
break;
+ case KIND_OBSTACLE:
+ sipClass = sipClass_HYDROData_Obstacle;
+ break;
+
case KIND_REGION:
sipClass = sipClass_HYDROData_Region;
break;
sipClass = sipClass_HYDROData_Zone;
break;
+ case KIND_SHAPES_GROUP:
+ sipClass = sipClass_HYDROData_ShapesGroup;
+ break;
+
case KIND_UNKNOWN:
sipClass = sipClass_HYDROData_Entity;
break;
/**
* Returns the kind of this object. Must be redefined in all objects of known type.
*/
- const ObjectKind GetKind() const;
+ virtual const ObjectKind GetKind() const;
/**
* Returns the name of this object.
*/
- QString GetName() const;
+ virtual QString GetName() const;
/**
* Updates the name of this object.
*/
- void SetName(const QString& theName);
+ virtual void SetName(const QString& theName);
/**
* Updates object state.
*/
- void Update();
+ virtual void Update();
/**
* Checks is object exists in the data structure.
void CopyTo( HYDROData_Entity theDestination ) const;
*/
+ /**
+ * Returns the list of all reference objects of this object.
+ * Base implementation always return empty list.
+ */
+ virtual HYDROData_SequenceOfObjects GetAllReferenceObjects() const;
+
protected:
/**