1 -- File : SMESHDS_Document.cdl
3 -- Author : Yves FRICAUD, OCC
7 class Document from SMESHDS inherits TShared from MMgt
10 Integer from Standard,
12 PtrHypothesis from SMESHDS,
13 DataMapOfIntegerMesh from SMESHDS,
14 DataMapOfIntegerPtrHypothesis from SMESHDS,
15 DataMapIteratorOfDataMapOfIntegerMesh from SMESHDS,
16 DataMapIteratorOfDataMapOfIntegerPtrHypothesis from SMESHDS
19 Create (UserID : Integer from Standard) returns mutable Document;
21 NewMesh (me : mutable) returns Integer from Standard;
23 RemoveMesh (me : mutable; MeshID : Integer from Standard);
25 GetMesh (me : mutable; MeshID : Integer from Standard) returns Mesh from SMESHDS;
28 AddHypothesis (me : mutable; H : PtrHypothesis from SMESHDS);
30 RemoveHypothesis (me : mutable; HypID : Integer from Standard);
32 GetHypothesis (me : mutable; HypID : Integer from Standard) returns PtrHypothesis from SMESHDS;
34 NbMeshes (me : mutable) returns Integer from Standard;
36 NbHypothesis (me : mutable) returns Integer from Standard;
39 InitMeshesIterator(me : mutable);
41 NextMesh (me : mutable);
43 MoreMesh (me : mutable) returns Boolean from Standard;
45 CurrentMesh (me : mutable ) returns Mesh from SMESHDS;
48 --Iterator on Hypothesis
49 InitHypothesisIterator (me : mutable );
51 NextHypothesis (me : mutable );
53 MoreHypothesis (me : mutable ) returns Boolean from Standard;
55 CurrentHypothesis (me : mutable) returns PtrHypothesis from SMESHDS;
58 myUserID : Integer from Standard;
59 myMeshes : DataMapOfIntegerMesh from SMESHDS;
60 myHypothesis : DataMapOfIntegerPtrHypothesis from SMESHDS;
62 myMeshesIt : DataMapIteratorOfDataMapOfIntegerMesh from SMESHDS;
63 myHypothesisIt : DataMapIteratorOfDataMapOfIntegerPtrHypothesis from SMESHDS;