Salome HOME
Join modifications from branch BR_DEBUG_3_2_0b1
[samples/component.git] / idl / TypesCheck.idl
1 //  Copyright (C) 2005 CEA/DEN, EDF R&D
2 //
3 //  This library is free software; you can redistribute it and/or
4 //  modify it under the terms of the GNU Lesser General Public
5 //  License as published by the Free Software Foundation; either
6 //  version 2.1 of the License.
7 //
8 //  This library is distributed in the hope that it will be useful,
9 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
10 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 //  Lesser General Public License for more details.
12 //
13 //  You should have received a copy of the GNU Lesser General Public
14 //  License along with this library; if not, write to the Free Software
15 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19 //
20 //
21 //  File   : TypesCheck.idl
22 //  Author : Jean Rahuel
23
24 #ifndef __TYPESCHECK_IDL__
25 #define __TYPESCHECK_IDL__
26
27 #include "SALOME_Component.idl"
28
29 #include "AddComponent.idl"
30
31 // Check of types for SuperVision module
32
33 module SuperVisionTest {
34
35   interface TypesCheck : Engines::Component {
36
37     void StringCheck( in string InString , out string OutString ) ;
38
39     void BoolCheck( in boolean InBool , out boolean OutBool ) ;
40
41     void CharCheck( in char InChar , out char OutChar ) ;
42
43     void ShortCheck( in short InShort , out short OutShort ) ;
44
45     void LongCheck( in long InLong , out long OutLong ) ;
46
47     void FloatCheck( in float InFloat , out float OutFloat ) ;
48
49     void DoubleCheck( in double InDouble , out double OutDouble ) ;
50
51     void ObjRefCheck( in SuperVisionTest::Adder InObjRef , out SuperVisionTest::Adder OutObjRef ) ;
52
53     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 ) ;
54
55   } ;
56
57 } ;
58
59 #endif
60