8cb5ca8e4cd3fef41300dd783d0e3ea927286bd0
[occt.git] / src / ChFiDS / ChFiDS_StripeMap.cdl
1 -- Created on: 1993-11-10
2 -- Created by: Laurent BOURESCHE
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
5 --
6 -- This file is part of Open CASCADE Technology software library.
7 --
8 -- This library is free software; you can redistribute it and/or modify it under
9 -- the terms of the GNU Lesser General Public License version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
13 --
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
16
17 class StripeMap from ChFiDS 
18
19         ---Purpose: 
20
21 uses 
22      IndexedDataMapOfVertexListOfStripe from ChFiDS,
23      Vertex from TopoDS,
24      ListOfStripe from ChFiDS,
25      Stripe from ChFiDS
26 is
27
28     Create returns StripeMap from ChFiDS;
29
30     Add(me : in out; V : Vertex from TopoDS; F : Stripe from ChFiDS) 
31     is static;
32     
33     
34     Extent(me) returns Integer
35     ---C++: inline
36     is static;
37     
38     FindFromKey(me; V: Vertex from TopoDS) 
39     returns ListOfStripe from ChFiDS 
40     ---C++: alias operator()
41     ---C++: return const &
42     is static;
43     
44     FindFromIndex(me; I : Integer from Standard) 
45     returns ListOfStripe from ChFiDS
46     ---C++: alias operator()
47     ---C++: return const &
48     is static;
49
50
51     FindKey(me; I : Integer from Standard) returns Vertex  from TopoDS
52     ---C++: inline
53     ---C++: return const &
54     is static;
55
56
57     Clear(me : in out) is static;
58
59
60 fields
61
62  mymap : IndexedDataMapOfVertexListOfStripe from ChFiDS;
63
64 end StripeMap;