Salome HOME
updated copyright message
[modules/kernel.git] / src / DSC / DSC_User / Datastream / Calcium / CalciumTypes2CorbaTypes.hxx
1 // Copyright (C) 2007-2023  CEA, EDF, OPEN CASCADE
2 //
3 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License, or (at your option) any later version.
10 //
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 // Lesser General Public License for more details.
15 //
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 //
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22
23 // Modified by : $LastChangedBy$
24 // Date        : $LastChangedDate: 2007-03-01 13:40:26 +0100 (Thu, 01 Mar 2007) $
25 // Id          : $Id$
26 //
27 #ifndef _CALCIUMTYPES_TO_CORBATYPES_HXX_
28 #define _CALCIUMTYPES_TO_CORBATYPES_HXX_
29
30 #include "Calcium_Ports.hh"
31 #include "CalciumTypes.hxx"
32
33 #include <map>
34 #include <cassert>
35
36
37 class CORBA_DATE_CAL_SCHEM : public std::map<CalciumTypes::DateCalSchem,
38                                              Ports::Calcium_Ports::DateCalSchem > 
39 {
40 public :
41
42   CORBA_DATE_CAL_SCHEM();
43   Ports::Calcium_Ports::DateCalSchem operator[]( const CalciumTypes::DateCalSchem &c ) const;
44 };
45
46
47 extern const CORBA_DATE_CAL_SCHEM corbaDateCalSchem ;
48
49 class CORBA_DEPENDENCY_TYPE : public std::map<CalciumTypes::DependencyType,
50                                               Ports::Calcium_Ports::DependencyType>
51 {
52 public :
53
54   CORBA_DEPENDENCY_TYPE();
55   Ports::Calcium_Ports::DependencyType operator[]( const CalciumTypes::DependencyType  &c ) const;
56 };
57
58 extern const CORBA_DEPENDENCY_TYPE corbaDependencyType ;
59
60 class CORBA_INTERPOLATION_SCHEM : public std::map<CalciumTypes::InterpolationSchem,
61                                                   Ports::Calcium_Ports::InterpolationSchem>
62 {
63 public :
64
65   CORBA_INTERPOLATION_SCHEM();
66   Ports::Calcium_Ports::InterpolationSchem operator[]( const CalciumTypes::InterpolationSchem &c ) const;
67 } ;
68
69 extern const CORBA_INTERPOLATION_SCHEM corbaInterpolationSchem ;
70
71 class CORBA_EXTRAPOLATION_SCHEM : public std::map<CalciumTypes::ExtrapolationSchem,
72                                                   Ports::Calcium_Ports::ExtrapolationSchem>
73 {
74 public :
75
76   CORBA_EXTRAPOLATION_SCHEM();
77   Ports::Calcium_Ports::ExtrapolationSchem operator[]( const CalciumTypes::ExtrapolationSchem &c ) const;
78 } ;
79
80 extern const CORBA_EXTRAPOLATION_SCHEM corbaExtrapolationSchem ;
81
82
83 #endif