1 // Copyright (C) 2007-2022 CEA/DEN, EDF R&D, OPEN CASCADE
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.
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
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 // File : TypesCheck.idl
24 // Author : Jean Rahuel
26 #ifndef __TYPESCHECK_IDL__
27 #define __TYPESCHECK_IDL__
29 #include "SALOME_Component.idl"
31 #include "AddComponent.idl"
33 // Check of types for SuperVision module
35 module SuperVisionTest {
37 interface TypesCheck : Engines::EngineComponent {
39 void StringCheck( in string InString , out string OutString ) ;
41 void BoolCheck( in boolean InBool , out boolean OutBool ) ;
43 void CharCheck( in char InChar , out char OutChar ) ;
45 void ShortCheck( in short InShort , out short OutShort ) ;
47 void LongCheck( in long InLong , out long OutLong ) ;
49 void FloatCheck( in float InFloat , out float OutFloat ) ;
51 void DoubleCheck( in double InDouble , out double OutDouble ) ;
53 void ObjRefCheck( in SuperVisionTest::Adder InObjRef , out SuperVisionTest::Adder OutObjRef ) ;
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 ) ;