Salome HOME
aff1490911cac1ce78539f287653b6ffd3555ca8
[samples/component.git] / idl / TypesCheck.idl
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 //  File   : TypesCheck.idl
23 //  Author : Jean Rahuel
24 //
25 #ifndef __TYPESCHECK_IDL__
26 #define __TYPESCHECK_IDL__
27
28 #include "SALOME_Component.idl"
29
30 #include "AddComponent.idl"
31
32 // Check of types for SuperVision module
33
34 module SuperVisionTest {
35
36   interface TypesCheck : Engines::Component {
37
38     void StringCheck( in string InString , out string OutString ) ;
39
40     void BoolCheck( in boolean InBool , out boolean OutBool ) ;
41
42     void CharCheck( in char InChar , out char OutChar ) ;
43
44     void ShortCheck( in short InShort , out short OutShort ) ;
45
46     void LongCheck( in long InLong , out long OutLong ) ;
47
48     void FloatCheck( in float InFloat , out float OutFloat ) ;
49
50     void DoubleCheck( in double InDouble , out double OutDouble ) ;
51
52     void ObjRefCheck( in SuperVisionTest::Adder InObjRef , out SuperVisionTest::Adder OutObjRef ) ;
53
54     void MiscTypes( in string InString , in boolean InBool , in char InChar , in short InShort , in long InLong , in float InFloat , in double InDouble , in SuperVisionTest::Adder InObjRef , out string OutString , out boolean OutBool , out char OutChar , out short OutShort , out long OutLong , out float OutFloat , out double OutDouble , out SuperVisionTest::Adder OutObjRef ) ;
55
56   } ;
57
58 } ;
59
60 #endif
61