7fd59977 |
1 | -- File: TextOrCharacter.cdl |
2 | -- Created: Fri Dec 1 11:11:11 1995 |
3 | -- Author: EXPRESS->CDL V0.2 Translator |
4 | -- Copyright: Matra-Datavision 1993 |
5 | |
6 | |
7 | |
8 | class TextOrCharacter from StepVisual inherits SelectType from StepData |
9 | |
10 | -- <TextOrCharacter> is an EXPRESS Select Type construct translation. |
11 | -- it gathers : AnnotationText, CompositeText, TextLiteral |
12 | |
13 | uses |
14 | |
15 | AnnotationText, |
16 | CompositeText, |
17 | TextLiteral |
18 | is |
19 | |
20 | Create returns TextOrCharacter; |
21 | ---Purpose : Returns a TextOrCharacter SelectType |
22 | |
23 | CaseNum (me; ent : Transient) returns Integer; |
24 | ---Purpose: Recognizes a TextOrCharacter Kind Entity that is : |
25 | -- 1 -> AnnotationText |
26 | -- 2 -> CompositeText |
27 | -- 3 -> TextLiteral |
28 | -- 0 else |
29 | |
30 | AnnotationText (me) returns any AnnotationText; |
31 | ---Purpose : returns Value as a AnnotationText (Null if another type) |
32 | |
33 | CompositeText (me) returns any CompositeText; |
34 | ---Purpose : returns Value as a CompositeText (Null if another type) |
35 | |
36 | TextLiteral (me) returns any TextLiteral; |
37 | ---Purpose : returns Value as a TextLiteral (Null if another type) |
38 | |
39 | |
40 | end TextOrCharacter; |
41 | |