0024750: Replace instantiations of TCollection generic classes by NCollection templat...
[occt.git] / src / STEPConstruct / STEPConstruct.cdl
1 -- Created on: 1999-11-17
2 -- Created by: Andrey BETENEV
3 -- Copyright (c) 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 package STEPConstruct 
18
19     ---Purpose: Defines tools for creation and investigation STEP constructs 
20     --          used for representing various kinds of data, such as product and
21     --          assembly structure, unit contexts, associated information
22     --          The creation of these structures is made according to currently
23     --          active schema (AP203 or AP214 CD2 or DIS)
24     --          This is taken from parameter write.step.schema
25
26 uses
27     gp,
28     Quantity,
29     TCollection,
30     TColStd,
31     TopTools,
32     TopLoc,
33     TopoDS,
34     Interface,
35     Transfer,
36     XSControl,
37     StepData,
38     StepBasic,
39     StepGeom,
40     StepRepr,
41     StepShape,
42     StepVisual,
43     StepAP203,
44     StepAP214
45 is
46
47     class Tool;
48
49     class UnitContext;
50
51     class Part;
52
53     class Assembly;
54
55     class Styles;
56
57     class ValidationProps;
58
59     class ExternRefs;
60
61     class AP203Context;
62
63     class ContextTool;
64
65     --- skl 15.01.2004
66     imported DataMapOfAsciiStringTransient;
67     imported DataMapIteratorOfDataMapOfAsciiStringTransient;
68
69     class PointHasher;
70                                                                                                             
71     imported DataMapOfPointTransient;
72                                                                                                             
73     imported DataMapIteratorOfDataMapOfPointTransient;
74
75
76     FindEntity (FinderProcess: FinderProcess from Transfer; Shape: Shape from TopoDS)
77     returns RepresentationItem from StepRepr;
78         ---Purpose: Returns STEP entity of the (sub)type of RepresentationItem
79         --          which is a result of the tranalation of the Shape, or Null if
80         --          no result is recorded
81
82     FindEntity (FinderProcess: FinderProcess from Transfer; Shape: Shape from TopoDS;
83                                Loc: out Location from TopLoc) 
84     returns RepresentationItem from StepRepr;
85         ---Purpose: The same as above, but in the case if item not found, repeats
86         --          search on the same shape without location. The Loc corresponds to the
87         --          location with which result is found (either location of the Shape,
88         --          or Null)
89
90     FindShape (TransientProcess: TransientProcess from Transfer; item: RepresentationItem from StepRepr)
91     returns Shape from TopoDS;
92         ---Purpose: Returns Shape resulting from given STEP entity (Null if not mapped)
93
94     FindCDSR (ComponentBinder: Binder from Transfer;
95               AssemblySDR: ShapeDefinitionRepresentation from StepShape;
96               ComponentCDSR: out ContextDependentShapeRepresentation from StepShape)
97     returns Boolean from Standard;
98         ---Purpose: Find CDSR correcponding to the component in the specified assembly
99
100 end STEPConstruct;