0024947: Redesign OCCT legacy type system -- automatic
[occt.git] / src / StepRepr / StepRepr_MakeFromUsageOption.cdl
CommitLineData
b311480e 1-- Created on: 2000-07-03
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
18class MakeFromUsageOption from StepRepr
19inherits ProductDefinitionUsage from StepRepr
20
21 ---Purpose: Representation of STEP entity MakeFromUsageOption
22
23uses
24 HAsciiString from TCollection,
25 ProductDefinition from StepBasic,
26 MeasureWithUnit from StepBasic
27
28is
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
58fields
59 theRanking: Integer;
60 theRankingRationale: HAsciiString from TCollection;
61 theQuantity: MeasureWithUnit from StepBasic;
62
63end MakeFromUsageOption;