Salome HOME
Remove OCC_LIBS from LDFLAGS
[modules/smesh.git] / src / SMESHDS / SMESHDS_Document.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_Document.cdl
25 --  Author : Yves FRICAUD, OCC
26 --  Module : SMESH
27
28 class Document from SMESHDS inherits TShared from MMgt
29
30 uses 
31         Integer                                        from Standard,
32         Mesh                                           from SMESHDS,    
33         PtrHypothesis                                  from SMESHDS,    
34         DataMapOfIntegerMesh                           from SMESHDS,
35         DataMapOfIntegerPtrHypothesis                  from SMESHDS,
36         DataMapIteratorOfDataMapOfIntegerMesh          from SMESHDS,
37         DataMapIteratorOfDataMapOfIntegerPtrHypothesis from SMESHDS
38 is
39
40         Create (UserID : Integer from Standard) returns mutable Document;
41
42         NewMesh (me : mutable) returns Integer from Standard;
43
44         RemoveMesh (me : mutable; MeshID : Integer from Standard);
45
46         GetMesh (me : mutable; MeshID : Integer from Standard) returns Mesh from SMESHDS; 
47
48
49         AddHypothesis (me : mutable; H : PtrHypothesis from SMESHDS);
50
51         RemoveHypothesis (me : mutable; HypID : Integer from Standard);
52
53         GetHypothesis (me : mutable; HypID : Integer from Standard) returns PtrHypothesis from SMESHDS;
54
55         NbMeshes     (me : mutable) returns Integer from Standard;
56
57         NbHypothesis (me : mutable) returns Integer from Standard;
58
59         -- Iterator on Meshes
60         InitMeshesIterator(me : mutable);
61         
62         NextMesh (me : mutable);
63                 
64         MoreMesh (me : mutable) returns Boolean from Standard;
65         
66         CurrentMesh (me : mutable ) returns Mesh from SMESHDS; 
67
68         
69         --Iterator on Hypothesis
70         InitHypothesisIterator (me : mutable );
71
72         NextHypothesis (me : mutable );
73
74         MoreHypothesis (me : mutable ) returns Boolean from Standard;
75
76         CurrentHypothesis (me : mutable) returns PtrHypothesis from SMESHDS;    
77
78 fields
79         myUserID     : Integer                       from Standard;     
80         myMeshes     : DataMapOfIntegerMesh          from SMESHDS;
81         myHypothesis : DataMapOfIntegerPtrHypothesis from SMESHDS;
82
83         myMeshesIt     : DataMapIteratorOfDataMapOfIntegerMesh            from SMESHDS;
84         myHypothesisIt : DataMapIteratorOfDataMapOfIntegerPtrHypothesis from SMESHDS;
85
86 end Document;
87