Integration of OCCT 6.5.0 from SVN
[occt.git] / src / StepBasic / StepBasic_ApprovalRelationship.cxx
1 #include <StepBasic_ApprovalRelationship.ixx>
2
3
4 StepBasic_ApprovalRelationship::StepBasic_ApprovalRelationship ()  {}
5
6 void StepBasic_ApprovalRelationship::Init(
7         const Handle(TCollection_HAsciiString)& aName,
8         const Handle(TCollection_HAsciiString)& aDescription,
9         const Handle(StepBasic_Approval)& aRelatingApproval,
10         const Handle(StepBasic_Approval)& aRelatedApproval)
11 {
12         // --- classe own fields ---
13         name = aName;
14         description = aDescription;
15         relatingApproval = aRelatingApproval;
16         relatedApproval = aRelatedApproval;
17 }
18
19
20 void StepBasic_ApprovalRelationship::SetName(const Handle(TCollection_HAsciiString)& aName)
21 {
22         name = aName;
23 }
24
25 Handle(TCollection_HAsciiString) StepBasic_ApprovalRelationship::Name() const
26 {
27         return name;
28 }
29
30 void StepBasic_ApprovalRelationship::SetDescription(const Handle(TCollection_HAsciiString)& aDescription)
31 {
32         description = aDescription;
33 }
34
35 Handle(TCollection_HAsciiString) StepBasic_ApprovalRelationship::Description() const
36 {
37         return description;
38 }
39
40 void StepBasic_ApprovalRelationship::SetRelatingApproval(const Handle(StepBasic_Approval)& aRelatingApproval)
41 {
42         relatingApproval = aRelatingApproval;
43 }
44
45 Handle(StepBasic_Approval) StepBasic_ApprovalRelationship::RelatingApproval() const
46 {
47         return relatingApproval;
48 }
49
50 void StepBasic_ApprovalRelationship::SetRelatedApproval(const Handle(StepBasic_Approval)& aRelatedApproval)
51 {
52         relatedApproval = aRelatedApproval;
53 }
54
55 Handle(StepBasic_Approval) StepBasic_ApprovalRelationship::RelatedApproval() const
56 {
57         return relatedApproval;
58 }