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