MED fichier
MEDgetGeometryTypeFromIname.hxx
Aller à la documentation de ce fichier.
1 /* This file is part of MED.
2  *
3  * COPYRIGHT (C) 1999 - 2023 EDF R&D, CEA/DEN
4  * MED is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * MED is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public License
15  * along with MED. If not, see <http://www.gnu.org/licenses/>.
16  */
17 #ifndef MED_GET_GEOTYPE_FROM_INAME_HXX
18 #define MED_GET_GEOTYPE_FROM_INAME_HXX
19 
20 #include <string>
21 #include <map>
22 
23 #include <med.h>
24 
25 class MEDC_EXPORT MED_GET_GEOTYPE_FROM_INAME : public std::map<std::string,med_geometry_type>
26 {
27 public :
28  static MED_GET_GEOTYPE_FROM_INAME& Instance();
29  med_geometry_type operator[]( const std::string & c ) const;
30 
31 private:
34  //MED_GET_GEOTYPE_FROM_INAME& operator =(const MED_GET_GEOTYPE_FROM_INAME &){};
36 };
37 
38 // Définit dans med_misc.h inclus via med_outils.h
39 //extern "C" med_geometry_type MEDgetGeometryTypeFromIname(const char * const keycharpart);
40 
41 
42 #endif
MEDC_EXPORT
#define MEDC_EXPORT
Definition: medC_win_dll.h:29
med_geometry_type
int med_geometry_type
Definition: med.h:196
MED_GET_GEOTYPE_FROM_INAME::MED_GET_GEOTYPE_FROM_INAME
MED_GET_GEOTYPE_FROM_INAME(const MED_GET_GEOTYPE_FROM_INAME &)
Definition: MEDgetGeometryTypeFromIname.hxx:33
MED_GET_GEOTYPE_FROM_INAME
Definition: MEDgetGeometryTypeFromIname.hxx:25
med.h