// HYDROData_ArtificialObject sub-classes provide a unique kind ID.
switch ( sipCpp->GetKind() )
{
+ case KIND_OBSTACLE:
+ sipClass = sipClass_HYDROData_Obstacle;
+ break;
+
+ case KIND_DIGUE:
+ sipClass = sipClass_HYDROData_Digue;
+ break;
+
+ case KIND_CHANNEL:
+ sipClass = sipClass_HYDROData_Channel;
+ break;
+
case KIND_UNKNOWN:
sipClass = sipClass_HYDROData_ArtificialObject;
break;