1 // Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either
7 // version 2.1 of the License.
9 // This library is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 // Lesser General Public License for more details.
14 // You should have received a copy of the GNU Lesser General Public
15 // License along with this library; if not, write to the Free Software
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 // See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
22 // File : TypesCheck.idl
23 // 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::Component {
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 ) ;