summaryrefslogtreecommitdiff
path: root/src/StepBasic/StepBasic_DocumentUsageConstraint.cxx
blob: 9ba0576937c1a4c72c11f9c5fa747827cfcd40fb (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
#include <StepBasic_DocumentUsageConstraint.ixx>

StepBasic_DocumentUsageConstraint::StepBasic_DocumentUsageConstraint  ()    {  }

void  StepBasic_DocumentUsageConstraint::Init
  (const Handle(StepBasic_Document)& aSource,
   const Handle(TCollection_HAsciiString)& ase,
   const Handle(TCollection_HAsciiString)& asev)
{
  theSource = aSource;
  theSE  = ase;
  theSEV = asev;
}

Handle(StepBasic_Document)  StepBasic_DocumentUsageConstraint::Source () const
{  return theSource;  }

void  StepBasic_DocumentUsageConstraint::SetSource (const Handle(StepBasic_Document)& aSource)
{  theSource = aSource;  }

Handle(TCollection_HAsciiString)  StepBasic_DocumentUsageConstraint::SubjectElement () const
{  return theSE;  }

void  StepBasic_DocumentUsageConstraint::SetSubjectElement (const Handle(TCollection_HAsciiString)& ase)
{  theSE  = ase;  }

Handle(TCollection_HAsciiString)  StepBasic_DocumentUsageConstraint::SubjectElementValue () const
{  return theSEV;  }

void  StepBasic_DocumentUsageConstraint::SetSubjectElementValue (const Handle(TCollection_HAsciiString)& asev)
{  theSEV = asev;  }