Salome HOME
sources v1.2
[modules/smesh.git] / src / SMESHDS / SMESHDS.cdl
1 --  SMESH SMESHDS : management of mesh data and SMESH document
2 --
3 --  Copyright (C) 2003  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. 
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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
21 --
22 --
23 --
24 --  File   : SMESHDS.cdl
25 --  Author : Yves FRICAUD, OCC
26 --  Module : SMESH
27
28 package SMESHDS
29
30 uses 
31         Standard,
32         TColStd,
33         SMDS,
34         TCollection,
35         TopoDS,
36         TopTools
37
38 is
39
40         enumeration  
41         CommandType  is AddNode,  AddEdge,  AddTriangle,  AddQuadrangle,   AddTetrahedron,  AddPyramid,  
42         AddPrism,  AddHexahedron, RemoveNode, RemoveElement, MoveNode 
43         end CommandType;        
44         
45         class Document;
46         
47         class Mesh;
48
49         class SubMesh;
50
51         imported Hypothesis;
52
53         pointer PtrHypothesis to Hypothesis from SMESHDS;
54         
55         class Script;
56
57         class Command;
58
59
60
61         class DataMapOfShapeSubMesh instantiates DataMap from TCollection (Shape from TopoDS,
62                                                                            SubMesh from SMESHDS,
63                                                                            ShapeMapHasher from TopTools);
64
65         class DataMapOfIntegerSubMesh instantiates  DataMap from TCollection (Integer          from Standard,
66                                                                               SubMesh          from SMESHDS,
67                                                                               MapIntegerHasher from TColStd);   
68
69
70         class DataMapOfIntegerPtrHypothesis instantiates  DataMap from TCollection (Integer from Standard,
71                                                                                     PtrHypothesis from SMESHDS,
72                                                                                     MapIntegerHasher from TColStd);     
73                                                                                         
74         class DataMapOfIntegerMesh instantiates  DataMap from TCollection (Integer from Standard,
75                                                                            Mesh    from SMESHDS,
76                                                                            MapIntegerHasher from TColStd);      
77                                                                                             
78         class ListOfPtrHypothesis instantiates List from TCollection (PtrHypothesis from SMESHDS);
79
80         
81         class DataMapOfShapeListOfPtrHypothesis instantiates DataMap from TCollection (Shape from TopoDS,
82                                                                                     ListOfPtrHypothesis from SMESHDS, 
83                                                                                     ShapeMapHasher from TopTools);
84
85         class ListOfAsciiString  instantiates List from TCollection (AsciiString from TCollection);
86
87         class ListOfCommand      instantiates List from TCollection (Command from SMESHDS);
88                                                                  
89
90 end SMESHDS;