Salome HOME
Initialisation de la base KERNEL avec la version operationnelle de KERNEL_SRC issue...
[modules/kernel.git] / idl / SALOME_DataTypeCatalog.idl
1 // File: SALOME_DataTypeCatalog.idl
2 // Created: Mon August 08 2001
3 // Author: Estelle Deville, Paul Rascle
4 // Project: SALOME
5 // Copyright : CEA/DEN/DMSS/LGLS
6 // $Header$
7
8 module SALOME_DataTypeCatalog{
9 // Type definitions
10
11 // List of Data Type Names
12   typedef sequence<string> ListOfDataTypeName ;
13
14   // Exception thrown if a DataType is not found in the catalog
15   exception NotFound {};
16 //--------------------------------------------------------------------------
17 // Interfaces
18
19 // Catalog interface :
20 // methods to :
21 //  - obtain the data type names of the catalog
22 //  - test the compatibility between two type names
23 interface DataCatalog
24 {
25   ListOfDataTypeName GetDataTypeList() ;
26   boolean isDerivedFrom(in string type_in, in string type_out) raises(NotFound);
27   string GetDataInterfaceRead(in string type) raises(NotFound);
28   string GetDataInterfaceWrite(in string type)raises(NotFound);
29    ListOfDataTypeName GetDataTypeParents(in string type) raises(NotFound);
30 } ;
31 };