0024750: Replace instantiations of TCollection generic classes by NCollection templat...
[occt.git] / src / StepGeom / StepGeom_TrimmingSelect.cdl
1 -- Created on: 1995-12-01
2 -- Created by: EXPRESS->CDL V0.2 Translator
3 -- Copyright (c) 1995-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 TrimmingSelect from StepGeom    inherits SelectType
18
19         -- <TrimmingSelect> is an EXPRESS Select Type construct translation.
20         -- it gathers : CartesianPoint (Entity),ParameterValue (Real)
21
22 uses
23         SelectMember from StepData,
24         CartesianPoint,
25         Real
26 is
27
28         Create returns TrimmingSelect;
29         ---Purpose : Returns a TrimmingSelect SelectType
30
31         CaseNum (me; ent : Transient) returns Integer;
32         ---Purpose: Recognizes a TrimmingSelect Kind Entity that is :
33         --        1 -> CartesianPoint
34         --        0 else (i.e. Real)
35
36     NewMember (me) returns SelectMember  is redefined;
37     ---Purpose : Returns a TrimmingMember (for PARAMETER_VALUE) as preferred
38
39     CaseMem (me; ent : SelectMember) returns Integer  is redefined;
40     ---Purpose : Recognizes a SelectMember as Real, named as PARAMETER_VALUE
41     --            1 -> ParameterValue i.e. Real
42     --            0 else (i.e. Entity)
43
44         CartesianPoint (me) returns any CartesianPoint;
45         ---Purpose : returns Value as a CartesianPoint (Null if another type)
46
47         SetParameterValue (me : in out; aParameterValue : Real);
48         ---Purpose : sets the ParameterValue as Real
49          
50         ParameterValue (me) returns Real;
51         ---Purpose : returns Value as a Real (0.0 if not a Real)
52
53 end TrimmingSelect;