X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROPy%2FHYDROData_ArtificialObject.sip;h=503dc735b19e980e155d822aef5ee1e6d10025b0;hb=f7c005b67e48ec7bac99c566fb4f34215ec1a4b1;hp=3172a7286b2a66d0dd10a1d07b887e6fa1dc2a04;hpb=4ef4f1809f4602d520ddfe0f8c82630cbc2fda2f;p=modules%2Fhydro.git diff --git a/src/HYDROPy/HYDROData_ArtificialObject.sip b/src/HYDROPy/HYDROData_ArtificialObject.sip index 3172a728..503dc735 100644 --- a/src/HYDROPy/HYDROData_ArtificialObject.sip +++ b/src/HYDROPy/HYDROData_ArtificialObject.sip @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -6,7 +6,7 @@ // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -20,12 +20,11 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // - %ExportedHeaderCode #include %End -class HYDROData_ArtificialObject : HYDROData_Object /Abstract/ +class HYDROData_ArtificialObject : public HYDROData_Object /Abstract/ { %TypeHeaderCode #include @@ -39,6 +38,14 @@ class HYDROData_ArtificialObject : HYDROData_Object /Abstract/ 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;