7fd59977 |
1 | -- |
2 | -- File : Name.cdl |
3 | -- Created : Sat 9 Jan 1993 |
4 | -- Author : CKY / Contract Toubro-Larsen ( Arun MENON ) |
5 | -- |
6 | ---Copyright : MATRA-DATAVISION 1993 |
7 | -- |
8 | |
9 | class Name from IGESBasic inherits NameEntity |
10 | |
11 | ---Purpose: defines Name, Type <406> Form <15> |
12 | -- in package IGESBasic |
13 | -- Used to specify a user defined name |
14 | |
15 | uses |
16 | |
17 | HAsciiString from TCollection |
18 | |
19 | is |
20 | |
21 | Create returns mutable Name; |
22 | |
23 | -- Specific Methods pertaining to the class |
24 | |
25 | Init (me : mutable; nbPropVal : Integer; aName : HAsciiString); |
26 | ---Purpose : This method is used to set the fields of the class Name |
27 | -- - nbPropVal : Number of property values, always = 1 |
28 | -- - aName : Stores the Name |
29 | |
30 | NbPropertyValues (me) returns Integer ; |
31 | ---Purpose : returns the number of property values, which should be 1 |
32 | |
33 | Value (me) returns HAsciiString from TCollection; |
34 | ---Purpose : returns the user defined Name |
35 | |
36 | fields |
37 | |
38 | -- |
39 | -- Class : IGESBasic_Name |
40 | -- |
41 | -- Purpose : Declaration of variables specific to the definition |
42 | -- of the Class Name. |
43 | -- |
44 | -- Reminder : A Name instance is defined by : |
45 | -- - the number of property values (equal to 1) |
46 | -- - the name |
47 | |
48 | theNbPropertyValues : Integer; |
49 | theName : HAsciiString from TCollection; |
50 | |
51 | end Name; |