b311480e |
1 | -- Created on: 1993-01-11 |
2 | -- Created by: CKY / Contract Toubro-Larsen ( Arun MENON ) |
3 | -- Copyright (c) 1993-1999 Matra Datavision |
4 | -- Copyright (c) 1999-2012 OPEN CASCADE SAS |
7fd59977 |
5 | -- |
b311480e |
6 | -- The content of this file is subject to the Open CASCADE Technology Public |
7 | -- License Version 6.5 (the "License"). You may not use the content of this file |
8 | -- except in compliance with the License. Please obtain a copy of the License |
9 | -- at http://www.opencascade.org and read it completely before using this file. |
7fd59977 |
10 | -- |
b311480e |
11 | -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its |
12 | -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. |
7fd59977 |
13 | -- |
b311480e |
14 | -- The Original Code and all software distributed under the License is |
15 | -- distributed on an "AS IS" basis, without warranty of any kind, and the |
16 | -- Initial Developer hereby disclaims all such warranties, including without |
17 | -- limitation, any warranties of merchantability, fitness for a particular |
18 | -- purpose or non-infringement. Please see the License for the specific terms |
19 | -- and conditions governing the rights and limitations under the License. |
20 | |
7fd59977 |
21 | |
22 | class LevelFunction from IGESAppli inherits IGESEntity |
23 | |
24 | ---Purpose: defines LevelFunction, Type <406> Form <3> |
25 | -- in package IGESAppli |
26 | -- Used to transfer the meaning or intended use of a level |
27 | -- in the sending system |
28 | |
29 | uses |
30 | |
31 | HAsciiString from TCollection |
32 | |
33 | is |
34 | |
35 | Create returns mutable LevelFunction; |
36 | |
37 | -- Specific Methods pertaining to the class |
38 | |
39 | Init (me : mutable; |
40 | nbPropVal : Integer; |
41 | aCode : Integer; |
42 | aFuncDescrip : HAsciiString); |
43 | ---Purpose : This method is used to set the fields of the class |
44 | -- LevelFunction |
45 | -- - nbPropVal : Number of Properties, always = 2 |
46 | -- - aCode : Function Description code |
47 | -- default = 0 |
48 | -- - aFuncDescrip : Function Description |
49 | -- default = null string |
50 | |
51 | NbPropertyValues (me) returns Integer; |
52 | ---Purpose : is always 2 |
53 | |
54 | FuncDescriptionCode (me) returns Integer; |
55 | ---Purpose : returns the function description code . Default = 0 |
56 | |
57 | FuncDescription (me) returns HAsciiString from TCollection; |
58 | ---Purpose : returns the function description |
59 | -- Default = null string |
60 | |
61 | fields |
62 | |
63 | -- |
64 | -- Class : IGESAppli_LevelFunction |
65 | -- |
66 | -- Purpose : Declaration of variables specific to the definition |
67 | -- of the Class LevelFunction. |
68 | -- |
69 | -- Reminder : A LevelFunction instance is defined by : |
70 | -- - Function Description code, default = 0 |
71 | -- - Function Description, default = null string |
72 | |
73 | theNbPropertyValues : Integer; |
74 | theFuncDescripCode : Integer; |
75 | theFuncDescrip : HAsciiString; |
76 | |
77 | end LevelFunction; |