X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FDriverMED%2FDriverMED.hxx;h=857023efeaefbff358f459b935ba5d235576261f;hp=c2bee4b5fffc31d0994089561437fd4446653fd0;hb=1821a9c35f90be93d3d55b1e1db9114902eaf6f8;hpb=7ec258416f5fd16634ee4ab7c789f9af809dee18 diff --git a/src/DriverMED/DriverMED.hxx b/src/DriverMED/DriverMED.hxx index c2bee4b5f..857023efe 100644 --- a/src/DriverMED/DriverMED.hxx +++ b/src/DriverMED/DriverMED.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2014 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 @@ -22,7 +22,24 @@ // Declarations needed for usage of DriverMED +#include "SMDSAbs_ElementType.hxx" + #include class DriverMED_Family; typedef boost::shared_ptr DriverMED_FamilyPtr; + +namespace DriverMED +{ + // Implemetation is in DriverMED_W_Field.cxx + + /* + * Returns MED element geom type (MED::EGeometrieElement) by SMDS type + */ + int GetMedGeoType( SMDSAbs_EntityType smdsType ); + + /* + * Returns SMDS element geom type by MED type (MED::EGeometrieElement) + */ + SMDSAbs_EntityType GetSMDSType( int medType ); +}