b311480e |
1 | -- Created on: 2000-05-10 |
2 | -- Created by: Andrey BETENEV |
973c2be1 |
3 | -- Copyright (c) 2000-2014 OPEN CASCADE SAS |
b311480e |
4 | -- |
973c2be1 |
5 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
6 | -- |
d5f74e42 |
7 | -- This library is free software; you can redistribute it and/or modify it under |
8 | -- the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
9 | -- by the Free Software Foundation, with special exception defined in the file |
10 | -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
11 | -- distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
12 | -- |
973c2be1 |
13 | -- Alternatively, this file may be used under the terms of Open CASCADE |
14 | -- commercial license or contractual agreement. |
b311480e |
15 | |
7fd59977 |
16 | -- Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1 |
7fd59977 |
17 | |
18 | class RoleAssociation from StepBasic |
19 | inherits TShared from MMgt |
20 | |
21 | ---Purpose: Representation of STEP entity RoleAssociation |
22 | |
23 | uses |
24 | ObjectRole from StepBasic, |
25 | RoleSelect from StepBasic |
26 | |
27 | is |
28 | Create returns RoleAssociation from StepBasic; |
29 | ---Purpose: Empty constructor |
30 | |
31 | Init (me: mutable; aRole: ObjectRole from StepBasic; |
32 | aItemWithRole: RoleSelect from StepBasic); |
33 | ---Purpose: Initialize all fields (own and inherited) |
34 | |
35 | Role (me) returns ObjectRole from StepBasic; |
36 | ---Purpose: Returns field Role |
37 | SetRole (me: mutable; Role: ObjectRole from StepBasic); |
38 | ---Purpose: Set field Role |
39 | |
40 | ItemWithRole (me) returns RoleSelect from StepBasic; |
41 | ---Purpose: Returns field ItemWithRole |
42 | SetItemWithRole (me: mutable; ItemWithRole: RoleSelect from StepBasic); |
43 | ---Purpose: Set field ItemWithRole |
44 | |
45 | fields |
46 | theRole: ObjectRole from StepBasic; |
47 | theItemWithRole: RoleSelect from StepBasic; |
48 | |
49 | end RoleAssociation; |