]> SALOME platform Git repositories - modules/kernel.git/blob - src/DSC/DSC_User/Datastream/Calcium/CorbaTypes2CalciumTypes.hxx
Salome HOME
merge from branch BR_V5_DEV
[modules/kernel.git] / src / DSC / DSC_User / Datastream / Calcium / CorbaTypes2CalciumTypes.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 _CORBATYPES_TO_CALCIUMTYPES_HXX_
27 #define _CORBATYPES_TO_CALCIUMTYPES_HXX_
28
29 #include "Calcium_Ports.hh"
30 #include "CalciumTypes.hxx"
31
32 #include <map>
33 #include <cassert>
34
35
36 class DATE_CAL_SCHEM : public std::map<Ports::Calcium_Ports::DateCalSchem,
37                                        CalciumTypes::DateCalSchem> 
38 {
39 public :
40
41   DATE_CAL_SCHEM();
42   CalciumTypes::DateCalSchem  operator[]( const Ports::Calcium_Ports::DateCalSchem &c ) const;
43 };
44
45
46 extern const DATE_CAL_SCHEM dateCalSchem ;
47
48 class DEPENDENCY_TYPE : public std::map<Ports::Calcium_Ports::DependencyType,
49                                         CalciumTypes::DependencyType>
50 {
51 public :
52
53   DEPENDENCY_TYPE();
54   CalciumTypes::DependencyType  operator[]( const Ports::Calcium_Ports::DependencyType &c ) const;
55 };
56
57 extern const DEPENDENCY_TYPE dependencyType ;
58
59 class INTERPOLATION_SCHEM : public std::map<Ports::Calcium_Ports::InterpolationSchem,
60                                             CalciumTypes::InterpolationSchem>
61 {
62 public :
63
64   INTERPOLATION_SCHEM();
65   CalciumTypes::InterpolationSchem  operator[]( const Ports::Calcium_Ports::InterpolationSchem &c ) const;
66 } ;
67
68 extern const INTERPOLATION_SCHEM interpolationSchem ;
69
70 class EXTRAPOLATION_SCHEM : public std::map<Ports::Calcium_Ports::ExtrapolationSchem,
71                                             CalciumTypes::ExtrapolationSchem>
72 {
73 public :
74
75   EXTRAPOLATION_SCHEM();
76   CalciumTypes::ExtrapolationSchem  operator[]( const Ports::Calcium_Ports::ExtrapolationSchem &c ) const;
77 } ;
78
79 extern const EXTRAPOLATION_SCHEM extrapolationSchem ;
80
81
82 #endif