summaryrefslogtreecommitdiff
path: root/src/StepBasic/StepBasic_DocumentRelationship.cxx
blob: 3395084bffe7a2f7cc8a79706eaa59b1bbd45ee0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#include <StepBasic_DocumentRelationship.ixx>

StepBasic_DocumentRelationship::StepBasic_DocumentRelationship  ()    {  }

void  StepBasic_DocumentRelationship::Init
  (const Handle(TCollection_HAsciiString)& aName,
   const Handle(TCollection_HAsciiString)& aDescription,
   const Handle(StepBasic_Document)& aRelating,
   const Handle(StepBasic_Document)& aRelated)
{
  theName = aName;
  theDescription = aDescription;
  theRelating = aRelating;
  theRelated  = aRelated;
}

Handle(TCollection_HAsciiString)  StepBasic_DocumentRelationship::Name () const
{  return theName;  }

void  StepBasic_DocumentRelationship::SetName (const Handle(TCollection_HAsciiString)& aName)
{  theName = aName;  }

Handle(TCollection_HAsciiString)  StepBasic_DocumentRelationship::Description () const
{  return theDescription;  }

void  StepBasic_DocumentRelationship::SetDescription (const Handle(TCollection_HAsciiString)& aDescription)
{  theDescription = aDescription;  }

Handle(StepBasic_Document)  StepBasic_DocumentRelationship::RelatingDocument () const
{  return theRelating;  }

void  StepBasic_DocumentRelationship::SetRelatingDocument (const Handle(StepBasic_Document)& aRelating)
{  theRelating = aRelating;  }

Handle(StepBasic_Document)  StepBasic_DocumentRelationship::RelatedDocument () const
{  return theRelated;  }

void  StepBasic_DocumentRelationship::SetRelatedDocument (const Handle(StepBasic_Document)& aRelated)
{  theRelated = aRelated;  }