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


StepBasic_PersonAndOrganization::StepBasic_PersonAndOrganization ()  {}

void StepBasic_PersonAndOrganization::Init(
	const Handle(StepBasic_Person)& aThePerson,
	const Handle(StepBasic_Organization)& aTheOrganization)
{
	// --- classe own fields ---
	thePerson = aThePerson;
	theOrganization = aTheOrganization;
}


void StepBasic_PersonAndOrganization::SetThePerson(const Handle(StepBasic_Person)& aThePerson)
{
	thePerson = aThePerson;
}

Handle(StepBasic_Person) StepBasic_PersonAndOrganization::ThePerson() const
{
	return thePerson;
}

void StepBasic_PersonAndOrganization::SetTheOrganization(const Handle(StepBasic_Organization)& aTheOrganization)
{
	theOrganization = aTheOrganization;
}

Handle(StepBasic_Organization) StepBasic_PersonAndOrganization::TheOrganization() const
{
	return theOrganization;
}