1 -- File: SMDS_MapOfMeshElement.cdl
2 -- Created: Fri Jan 25 11:39:17 2002
3 -- Author: Jean-Michel BOULCOURT
4 -- <jmb@coulox.paris1.matra-dtv.fr>
5 ---Copyright: Matra Datavision 2002
8 class MapOfMeshElement from SMDS inherits ExtendedMap from SMDS
10 ---Purpose: Redefinition/definition of methods of Map from TCollection
16 NoSuchObject from Standard
19 Create(NbBuckets : Integer =1) returns MapOfMeshElement from SMDS;
20 ---Purpose: Creates a Map with <NbBuckets> buckets. Without
21 -- arguments the map is automatically dimensioned.
24 Find(me; K : MeshElement) returns MeshElement
26 ---Purpose: Returns the Item stored with the Key <K> in the Map.
27 ---Trigger: An exception is raised when <K> is not in the map.
28 raises NoSuchObject from Standard
29 ---C++: alias operator()
30 ---C++: return const &
33 ChangeFind(me : in out; K : MeshElement) returns MeshElement
35 ---Purpose: Returns the Item stored with the Key <K> in the
36 -- Map. This Item can be modified with the syntax
38 ---Trigger: An exception is raised when <K> is not in the map.
39 ---C++: alias operator()
41 raises NoSuchObject from Standard
44 FindID(me; ID : Integer) returns MeshElement
46 ---Purpose: Returns the Item stored with the ID in the Map.
47 ---Trigger: An exception is raised when ID is not in the map.
48 raises NoSuchObject from Standard
49 ---C++: alias operator()
50 ---C++: return const &
54 ContainsID(me; ID : Integer) returns Boolean
56 ---Purpose: Returns True if the ID is stored in the