Integration of OCCT 6.5.0 from SVN
[occt.git] / src / IGESAppli / IGESAppli_PinNumber.cdl
1 --
2 -- File      :  PinNumber.cdl
3 -- Created   :  Mon 11 Jan 1993
4 -- Author    : CKY / Contract Toubro-Larsen ( Arun MENON )
5 --
6 ---Copyright : MATRA-DATAVISION  1993
7 --
8
9 class PinNumber from IGESAppli  inherits IGESEntity
10
11         ---Purpose: defines PinNumber, Type <406> Form <8>
12         --          in package IGESAppli
13         --          Used to attach a text string representing a component
14         --          pin number to an entity being used to represent an
15         --          electrical component's pin
16
17 uses
18
19         HAsciiString from TCollection
20
21 is
22
23         Create returns mutable PinNumber;
24
25         -- Specific Methods pertaining to the class
26
27         Init (me        : mutable;
28               nbPropVal : Integer;
29               aValue    : HAsciiString);
30         ---Purpose : This method is used to set the fields of the class
31         --           PinNumber
32         --       - nbPropVal : Number of property values (always = 1)
33         --       - aValue    : Pin Number value
34
35         NbPropertyValues (me) returns Integer;
36         ---Purpose : returns the number of property values
37         -- is always 1
38
39         PinNumberVal (me) returns HAsciiString from TCollection;
40         ---Purpose : returns the pin number value
41
42 fields
43
44 --
45 -- Class    : IGESAppli_PinNumber
46 --
47 -- Purpose  : Declaration of variables specific to the definition
48 --            of the Class PinNumber.
49 --
50 -- Reminder : A PinNumber instance is defined by :
51 --            - Number of property values (always = 1)
52 --            - Pin Number value
53
54         theNbPropertyValues : Integer;
55         thePinNumber        : HAsciiString;
56
57 end PinNumber;