0024750: Replace instantiations of TCollection generic classes by NCollection templat...
[occt.git] / src / StepRepr / StepRepr_MakeFromUsageOption.cdl
1 -- Created on: 2000-07-03
2 -- Created by: Andrey BETENEV
3 -- Copyright (c) 2000-2014 OPEN CASCADE SAS
4 --
5 -- This file is part of Open CASCADE Technology software library.
6 --
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
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.
12 --
13 -- Alternatively, this file may be used under the terms of Open CASCADE
14 -- commercial license or contractual agreement.
15
16 -- Generator:   ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
17
18 class MakeFromUsageOption from StepRepr
19 inherits ProductDefinitionUsage from StepRepr
20
21     ---Purpose: Representation of STEP entity MakeFromUsageOption
22
23 uses
24     HAsciiString from TCollection,
25     ProductDefinition from StepBasic,
26     MeasureWithUnit from StepBasic
27
28 is
29     Create returns MakeFromUsageOption from StepRepr;
30         ---Purpose: Empty constructor
31
32     Init (me: mutable; aProductDefinitionRelationship_Id: HAsciiString from TCollection;
33                        aProductDefinitionRelationship_Name: HAsciiString from TCollection;
34                        hasProductDefinitionRelationship_Description: Boolean;
35                        aProductDefinitionRelationship_Description: HAsciiString from TCollection;
36                        aProductDefinitionRelationship_RelatingProductDefinition: ProductDefinition from StepBasic;
37                        aProductDefinitionRelationship_RelatedProductDefinition: ProductDefinition from StepBasic;
38                        aRanking: Integer;
39                        aRankingRationale: HAsciiString from TCollection;
40                        aQuantity: MeasureWithUnit from StepBasic);
41         ---Purpose: Initialize all fields (own and inherited)
42
43     Ranking (me) returns Integer;
44         ---Purpose: Returns field Ranking
45     SetRanking (me: mutable; Ranking: Integer);
46         ---Purpose: Set field Ranking
47
48     RankingRationale (me) returns HAsciiString from TCollection;
49         ---Purpose: Returns field RankingRationale
50     SetRankingRationale (me: mutable; RankingRationale: HAsciiString from TCollection);
51         ---Purpose: Set field RankingRationale
52
53     Quantity (me) returns MeasureWithUnit from StepBasic;
54         ---Purpose: Returns field Quantity
55     SetQuantity (me: mutable; Quantity: MeasureWithUnit from StepBasic);
56         ---Purpose: Set field Quantity
57
58 fields
59     theRanking: Integer;
60     theRankingRationale: HAsciiString from TCollection;
61     theQuantity: MeasureWithUnit from StepBasic;
62
63 end MakeFromUsageOption;