b311480e |
1 | -- Created on: 2002-12-10 |
2 | -- Created by: data exchange team |
973c2be1 |
3 | -- Copyright (c) 2002-2014 OPEN CASCADE SAS |
b311480e |
4 | -- |
973c2be1 |
5 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
6 | -- |
d5f74e42 |
7 | -- This library is free software; you can redistribute it and/or modify it under |
8 | -- the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
9 | -- by the Free Software Foundation, with special exception defined in the file |
10 | -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
11 | -- distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
12 | -- |
973c2be1 |
13 | -- Alternatively, this file may be used under the terms of Open CASCADE |
14 | -- commercial license or contractual agreement. |
b311480e |
15 | |
7fd59977 |
16 | -- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V2.0 |
7fd59977 |
17 | |
18 | class MeasureOrUnspecifiedValue from StepElement inherits SelectType from StepData |
19 | |
20 | ---Purpose: Representation of STEP SELECT type MeasureOrUnspecifiedValue |
21 | |
22 | uses |
23 | SelectMember from StepData, |
24 | UnspecifiedValue from StepElement |
25 | |
26 | is |
27 | Create returns MeasureOrUnspecifiedValue from StepElement; |
28 | ---Purpose: Empty constructor |
29 | |
30 | CaseNum (me; ent: Transient) returns Integer; |
31 | ---Purpose: Recognizes a kind of MeasureOrUnspecifiedValue select type |
32 | -- return 0 |
33 | |
34 | CaseMem (me; ent: SelectMember from StepData) returns Integer is redefined; |
35 | ---Purpose: Recognizes a items of select member MeasureOrUnspecifiedValueMember |
36 | -- 1 -> ContextDependentMeasure |
37 | -- 2 -> UnspecifiedValue |
38 | -- 0 else |
39 | |
40 | |
41 | NewMember(me) returns SelectMember from StepData is redefined; |
42 | ---Purpose: Returns a new select member the type MeasureOrUnspecifiedValueMember |
43 | |
44 | SetContextDependentMeasure(me: in out; aVal :Real); |
45 | ---Purpose: Set Value for ContextDependentMeasure |
46 | |
47 | ContextDependentMeasure (me) returns Real; |
48 | ---Purpose: Returns Value as ContextDependentMeasure (or Null if another type) |
49 | |
50 | SetUnspecifiedValue(me: in out; aVal :UnspecifiedValue from StepElement); |
51 | ---Purpose: Set Value for UnspecifiedValue |
52 | |
53 | UnspecifiedValue (me) returns UnspecifiedValue from StepElement; |
54 | ---Purpose: Returns Value as UnspecifiedValue (or Null if another type) |
55 | |
56 | end MeasureOrUnspecifiedValue; |