7fd59977 |
1 | -- File: StepRepr_RepresentedDefinition.cdl |
2 | -- Created: Thu Dec 12 16:02:14 2002 |
3 | -- Author: data exchange team |
4 | -- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.2 |
5 | -- Copyright: Open CASCADE 2002 |
6 | |
7 | class RepresentedDefinition from StepRepr |
8 | inherits SelectType from StepData |
9 | |
10 | ---Purpose: Representation of STEP SELECT type RepresentedDefinition |
11 | |
12 | uses |
13 | GeneralProperty from StepBasic, |
14 | PropertyDefinition from StepRepr, |
15 | PropertyDefinitionRelationship from StepRepr, |
16 | ShapeAspect from StepRepr, |
17 | ShapeAspectRelationship from StepRepr |
18 | |
19 | is |
20 | Create returns RepresentedDefinition from StepRepr; |
21 | ---Purpose: Empty constructor |
22 | |
23 | CaseNum (me; ent: Transient) returns Integer; |
24 | ---Purpose: Recognizes a kind of RepresentedDefinition select type |
25 | -- 1 -> GeneralProperty from StepBasic |
26 | -- 2 -> PropertyDefinition from StepRepr |
27 | -- 3 -> PropertyDefinitionRelationship from StepRepr |
28 | -- 4 -> ShapeAspect from StepRepr |
29 | -- 5 -> ShapeAspectRelationship from StepRepr |
30 | -- 0 else |
31 | |
32 | GeneralProperty (me) returns GeneralProperty from StepBasic; |
33 | ---Purpose: Returns Value as GeneralProperty (or Null if another type) |
34 | |
35 | PropertyDefinition (me) returns PropertyDefinition from StepRepr; |
36 | ---Purpose: Returns Value as PropertyDefinition (or Null if another type) |
37 | |
38 | PropertyDefinitionRelationship (me) returns PropertyDefinitionRelationship from StepRepr; |
39 | ---Purpose: Returns Value as PropertyDefinitionRelationship (or Null if another type) |
40 | |
41 | ShapeAspect (me) returns ShapeAspect from StepRepr; |
42 | ---Purpose: Returns Value as ShapeAspect (or Null if another type) |
43 | |
44 | ShapeAspectRelationship (me) returns ShapeAspectRelationship from StepRepr; |
45 | ---Purpose: Returns Value as ShapeAspectRelationship (or Null if another type) |
46 | |
47 | end RepresentedDefinition; |