1 -- SMESH SMESHDS : management of mesh data and SMESH document
3 -- Copyright (C) 2003 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.
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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
24 -- File : SMESHDS_Document.cdl
25 -- Author : Yves FRICAUD, OCC
28 class Document from SMESHDS inherits TShared from MMgt
31 Integer from Standard,
33 PtrHypothesis from SMESHDS,
34 DataMapOfIntegerMesh from SMESHDS,
35 DataMapOfIntegerPtrHypothesis from SMESHDS,
36 DataMapIteratorOfDataMapOfIntegerMesh from SMESHDS,
37 DataMapIteratorOfDataMapOfIntegerPtrHypothesis from SMESHDS
40 Create (UserID : Integer from Standard) returns mutable Document;
42 NewMesh (me : mutable) returns Integer from Standard;
44 RemoveMesh (me : mutable; MeshID : Integer from Standard);
46 GetMesh (me : mutable; MeshID : Integer from Standard) returns Mesh from SMESHDS;
49 AddHypothesis (me : mutable; H : PtrHypothesis from SMESHDS);
51 RemoveHypothesis (me : mutable; HypID : Integer from Standard);
53 GetHypothesis (me : mutable; HypID : Integer from Standard) returns PtrHypothesis from SMESHDS;
55 NbMeshes (me : mutable) returns Integer from Standard;
57 NbHypothesis (me : mutable) returns Integer from Standard;
60 InitMeshesIterator(me : mutable);
62 NextMesh (me : mutable);
64 MoreMesh (me : mutable) returns Boolean from Standard;
66 CurrentMesh (me : mutable ) returns Mesh from SMESHDS;
69 --Iterator on Hypothesis
70 InitHypothesisIterator (me : mutable );
72 NextHypothesis (me : mutable );
74 MoreHypothesis (me : mutable ) returns Boolean from Standard;
76 CurrentHypothesis (me : mutable) returns PtrHypothesis from SMESHDS;
79 myUserID : Integer from Standard;
80 myMeshes : DataMapOfIntegerMesh from SMESHDS;
81 myHypothesis : DataMapOfIntegerPtrHypothesis from SMESHDS;
83 myMeshesIt : DataMapIteratorOfDataMapOfIntegerMesh from SMESHDS;
84 myHypothesisIt : DataMapIteratorOfDataMapOfIntegerPtrHypothesis from SMESHDS;