MED fichier

MEDfileVersion.hxx
Aller à la documentation de ce fichier.
1 /* This file is part of MED.
2 *
3 * COPYRIGHT (C) 1999 - 2021 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_FILE_VERSION_HXX
18 #define MED_FILE_VERSION_HXX
19
20 #include <med.h>
21
22 #include <map>
23
24 typedef unsigned long keyType;
25 typedef med_file_version valueType;
26 typedef keyType fileNo;
27
28 class MED_FILE_VERSION : public std::map< keyType, valueType >
29 {
30 public:
31 static MED_FILE_VERSION& Instance();
32
33 private :
34 MED_FILE_VERSION(){};
35 MED_FILE_VERSION(const MED_FILE_VERSION &){};
36 ~MED_FILE_VERSION();
37
38 };
39
40 // extern "C" valueType _MEDfileVersion(const med_idt);
41 // extern "C" med_err _MEDfileVersionSetCache(const med_idt, const valueType& v);
42
43 #endif
fileNo
keyType fileNo
Definition: MEDfileVersion.hxx:26
MED_FILE_VERSION::Instance
static MED_FILE_VERSION & Instance()
keyType
Definition: MEDfieldChecked.hxx:25
keyType
unsigned long keyType
Definition: MEDfileVersion.hxx:24
MED_FILE_VERSION
Definition: MEDfileVersion.hxx:28
med_file_version
Structure d'acceuil du numéro de version MED d'un fichier.
Definition: med.h:385
MED_FILE_VERSION::MED_FILE_VERSION
MED_FILE_VERSION(const MED_FILE_VERSION &)
Definition: MEDfileVersion.hxx:35
med.h
MED_FILE_VERSION::~MED_FILE_VERSION
~MED_FILE_VERSION()
MED_FILE_VERSION::MED_FILE_VERSION
MED_FILE_VERSION()
Definition: MEDfileVersion.hxx:34
valueType
med_file_version valueType
Definition: MEDfileVersion.hxx:25