summaryrefslogtreecommitdiff
path: root/src/StepBasic/StepBasic_ProductContext.cxx
blob: 954d30c49808da70fc0de71831b51db4cbad3c28 (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_ProductContext.ixx>


StepBasic_ProductContext::StepBasic_ProductContext ()  {}

void StepBasic_ProductContext::Init(
	const Handle(TCollection_HAsciiString)& aName,
	const Handle(StepBasic_ApplicationContext)& aFrameOfReference)
{

	StepBasic_ApplicationContextElement::Init(aName, aFrameOfReference);
}

void StepBasic_ProductContext::Init(
	const Handle(TCollection_HAsciiString)& aName,
	const Handle(StepBasic_ApplicationContext)& aFrameOfReference,
	const Handle(TCollection_HAsciiString)& aDisciplineType)
{
	// --- classe own fields ---
	disciplineType = aDisciplineType;
	// --- classe inherited fields ---
	StepBasic_ApplicationContextElement::Init(aName, aFrameOfReference);
}


void StepBasic_ProductContext::SetDisciplineType(const Handle(TCollection_HAsciiString)& aDisciplineType)
{
	disciplineType = aDisciplineType;
}

Handle(TCollection_HAsciiString) StepBasic_ProductContext::DisciplineType() const
{
	return disciplineType;
}