summaryrefslogtreecommitdiff
path: root/src/StepBasic/StepBasic_ApplicationContextElement.cxx
blob: b9e212f20ea76253073fdc60131b58cecb1f7575 (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_ApplicationContextElement.ixx>


StepBasic_ApplicationContextElement::StepBasic_ApplicationContextElement ()  {}

void StepBasic_ApplicationContextElement::Init(
	const Handle(TCollection_HAsciiString)& aName,
	const Handle(StepBasic_ApplicationContext)& aFrameOfReference)
{
	// --- classe own fields ---
	name = aName;
	frameOfReference = aFrameOfReference;
}


void StepBasic_ApplicationContextElement::SetName(const Handle(TCollection_HAsciiString)& aName)
{
	name = aName;
}

Handle(TCollection_HAsciiString) StepBasic_ApplicationContextElement::Name() const
{
	return name;
}

void StepBasic_ApplicationContextElement::SetFrameOfReference(const Handle(StepBasic_ApplicationContext)& aFrameOfReference)
{
	frameOfReference = aFrameOfReference;
}

Handle(StepBasic_ApplicationContext) StepBasic_ApplicationContextElement::FrameOfReference() const
{
	return frameOfReference;
}