]> SALOME platform Git repositories - modules/kernel.git/blob - src/DSC/DSC_User/Datastream/Calcium/CalciumTypes2CorbaTypes.hxx
Salome HOME
merge from branch BR_V5_DEV
[modules/kernel.git] / src / DSC / DSC_User / Datastream / Calcium / CalciumTypes2CorbaTypes.hxx
1 //  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, 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.
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 // Modified by : $LastChangedBy$
23 // Date        : $LastChangedDate: 2007-03-01 13:40:26 +0100 (Thu, 01 Mar 2007) $
24 // Id          : $Id$
25 //
26 #ifndef _CALCIUMTYPES_TO_CORBATYPES_HXX_
27 #define _CALCIUMTYPES_TO_CORBATYPES_HXX_
28
29 #include "Calcium_Ports.hh"
30 #include "CalciumTypes.hxx"
31
32 #include <map>
33 #include <cassert>
34
35
36 class CORBA_DATE_CAL_SCHEM : public std::map<CalciumTypes::DateCalSchem,
37                                              Ports::Calcium_Ports::DateCalSchem > 
38 {
39 public :
40
41   CORBA_DATE_CAL_SCHEM();
42   Ports::Calcium_Ports::DateCalSchem operator[]( const CalciumTypes::DateCalSchem &c ) const;
43 };
44
45
46 extern const CORBA_DATE_CAL_SCHEM corbaDateCalSchem ;
47
48 class CORBA_DEPENDENCY_TYPE : public std::map<CalciumTypes::DependencyType,
49                                               Ports::Calcium_Ports::DependencyType>
50 {
51 public :
52
53   CORBA_DEPENDENCY_TYPE();
54   Ports::Calcium_Ports::DependencyType operator[]( const CalciumTypes::DependencyType  &c ) const;
55 };
56
57 extern const CORBA_DEPENDENCY_TYPE corbaDependencyType ;
58
59 class CORBA_INTERPOLATION_SCHEM : public std::map<CalciumTypes::InterpolationSchem,
60                                                   Ports::Calcium_Ports::InterpolationSchem>
61 {
62 public :
63
64   CORBA_INTERPOLATION_SCHEM();
65   Ports::Calcium_Ports::InterpolationSchem operator[]( const CalciumTypes::InterpolationSchem &c ) const;
66 } ;
67
68 extern const CORBA_INTERPOLATION_SCHEM corbaInterpolationSchem ;
69
70 class CORBA_EXTRAPOLATION_SCHEM : public std::map<CalciumTypes::ExtrapolationSchem,
71                                                   Ports::Calcium_Ports::ExtrapolationSchem>
72 {
73 public :
74
75   CORBA_EXTRAPOLATION_SCHEM();
76   Ports::Calcium_Ports::ExtrapolationSchem operator[]( const CalciumTypes::ExtrapolationSchem &c ) const;
77 } ;
78
79 extern const CORBA_EXTRAPOLATION_SCHEM corbaExtrapolationSchem ;
80
81
82 #endif