Salome HOME
This commit was generated by cvs2git to create branch 'IMPORT'.
[modules/smesh.git] / src / SMDS / SMDS_MeshIDFactory.cdl
1 -- File:        SMDS_MeshIDFactory.cdl
2 -- Created:     Thu Jan 24 12:00:41 2002
3 -- Author:      Jean-Michel BOULCOURT
4 --              <jmb@coulox.paris1.matra-dtv.fr>
5 ---Copyright:    Matra Datavision 2002
6
7
8 private deferred class MeshIDFactory from SMDS inherits MeshObject
9
10         ---Purpose: 
11
12 uses
13     StackOfInteger from TColStd
14
15 is
16
17     Initialize returns mutable MeshIDFactory from SMDS;
18     
19     GetFreeID(me:mutable) returns Integer is deferred;
20         ---Purpose: returns a free identifier for mesh from
21         --          the pool of ID
22
23         
24     ReleaseID(me: mutable;ID :Integer) is deferred;
25         ---Purpose: free the ID and give it back to the pool of ID
26
27     
28 fields
29     myMaxID : Integer is protected;
30     myPoolOfID : StackOfInteger from TColStd is protected;
31     
32 end MeshIDFactory;