Integration of OCCT 6.5.0 from SVN
[occt.git] / src / StepRepr / StepRepr_SpecifiedHigherUsageOccurrence.cxx
CommitLineData
7fd59977 1// File: StepRepr_SpecifiedHigherUsageOccurrence.cxx
2// Created: Mon Jul 3 20:13:37 2000
3// Author: Andrey BETENEV
4// Generator: ExpToCas (EXPRESS -> CASCADE/XSTEP Translator) V1.1
5// Copyright: Matra Datavision 2000
6
7#include <StepRepr_SpecifiedHigherUsageOccurrence.ixx>
8
9//=======================================================================
10//function : StepRepr_SpecifiedHigherUsageOccurrence
11//purpose :
12//=======================================================================
13
14StepRepr_SpecifiedHigherUsageOccurrence::StepRepr_SpecifiedHigherUsageOccurrence ()
15{
16}
17
18//=======================================================================
19//function : Init
20//purpose :
21//=======================================================================
22
23void StepRepr_SpecifiedHigherUsageOccurrence::Init (const Handle(TCollection_HAsciiString) &aProductDefinitionRelationship_Id,
24 const Handle(TCollection_HAsciiString) &aProductDefinitionRelationship_Name,
25 const Standard_Boolean hasProductDefinitionRelationship_Description,
26 const Handle(TCollection_HAsciiString) &aProductDefinitionRelationship_Description,
27 const Handle(StepBasic_ProductDefinition) &aProductDefinitionRelationship_RelatingProductDefinition,
28 const Handle(StepBasic_ProductDefinition) &aProductDefinitionRelationship_RelatedProductDefinition,
29 const Standard_Boolean hasAssemblyComponentUsage_ReferenceDesignator,
30 const Handle(TCollection_HAsciiString) &aAssemblyComponentUsage_ReferenceDesignator,
31 const Handle(StepRepr_AssemblyComponentUsage) &aUpperUsage,
32 const Handle(StepRepr_NextAssemblyUsageOccurrence) &aNextUsage)
33{
34 StepRepr_AssemblyComponentUsage::Init(aProductDefinitionRelationship_Id,
35 aProductDefinitionRelationship_Name,
36 hasProductDefinitionRelationship_Description,
37 aProductDefinitionRelationship_Description,
38 aProductDefinitionRelationship_RelatingProductDefinition,
39 aProductDefinitionRelationship_RelatedProductDefinition,
40 hasAssemblyComponentUsage_ReferenceDesignator,
41 aAssemblyComponentUsage_ReferenceDesignator);
42
43 theUpperUsage = aUpperUsage;
44
45 theNextUsage = aNextUsage;
46}
47
48//=======================================================================
49//function : UpperUsage
50//purpose :
51//=======================================================================
52
53Handle(StepRepr_AssemblyComponentUsage) StepRepr_SpecifiedHigherUsageOccurrence::UpperUsage () const
54{
55 return theUpperUsage;
56}
57
58//=======================================================================
59//function : SetUpperUsage
60//purpose :
61//=======================================================================
62
63void StepRepr_SpecifiedHigherUsageOccurrence::SetUpperUsage (const Handle(StepRepr_AssemblyComponentUsage) &aUpperUsage)
64{
65 theUpperUsage = aUpperUsage;
66}
67
68//=======================================================================
69//function : NextUsage
70//purpose :
71//=======================================================================
72
73Handle(StepRepr_NextAssemblyUsageOccurrence) StepRepr_SpecifiedHigherUsageOccurrence::NextUsage () const
74{
75 return theNextUsage;
76}
77
78//=======================================================================
79//function : SetNextUsage
80//purpose :
81//=======================================================================
82
83void StepRepr_SpecifiedHigherUsageOccurrence::SetNextUsage (const Handle(StepRepr_NextAssemblyUsageOccurrence) &aNextUsage)
84{
85 theNextUsage = aNextUsage;
86}