7fd59977 |
1 | #include <StepBasic_DocumentRelationship.ixx> |
2 | |
3 | StepBasic_DocumentRelationship::StepBasic_DocumentRelationship () { } |
4 | |
5 | void StepBasic_DocumentRelationship::Init |
6 | (const Handle(TCollection_HAsciiString)& aName, |
7 | const Handle(TCollection_HAsciiString)& aDescription, |
8 | const Handle(StepBasic_Document)& aRelating, |
9 | const Handle(StepBasic_Document)& aRelated) |
10 | { |
11 | theName = aName; |
12 | theDescription = aDescription; |
13 | theRelating = aRelating; |
14 | theRelated = aRelated; |
15 | } |
16 | |
17 | Handle(TCollection_HAsciiString) StepBasic_DocumentRelationship::Name () const |
18 | { return theName; } |
19 | |
20 | void StepBasic_DocumentRelationship::SetName (const Handle(TCollection_HAsciiString)& aName) |
21 | { theName = aName; } |
22 | |
23 | Handle(TCollection_HAsciiString) StepBasic_DocumentRelationship::Description () const |
24 | { return theDescription; } |
25 | |
26 | void StepBasic_DocumentRelationship::SetDescription (const Handle(TCollection_HAsciiString)& aDescription) |
27 | { theDescription = aDescription; } |
28 | |
29 | Handle(StepBasic_Document) StepBasic_DocumentRelationship::RelatingDocument () const |
30 | { return theRelating; } |
31 | |
32 | void StepBasic_DocumentRelationship::SetRelatingDocument (const Handle(StepBasic_Document)& aRelating) |
33 | { theRelating = aRelating; } |
34 | |
35 | Handle(StepBasic_Document) StepBasic_DocumentRelationship::RelatedDocument () const |
36 | { return theRelated; } |
37 | |
38 | void StepBasic_DocumentRelationship::SetRelatedDocument (const Handle(StepBasic_Document)& aRelated) |
39 | { theRelated = aRelated; } |