summaryrefslogtreecommitdiff
path: root/src/StepRepr/StepRepr_RepresentationContext.cxx
blob: 1ae3f1bb4b9aa0485bc3825154dda30b85c650a5 (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 <StepRepr_RepresentationContext.ixx>


StepRepr_RepresentationContext::StepRepr_RepresentationContext ()  {}

void StepRepr_RepresentationContext::Init(
	const Handle(TCollection_HAsciiString)& aContextIdentifier,
	const Handle(TCollection_HAsciiString)& aContextType)
{
	// --- classe own fields ---
	contextIdentifier = aContextIdentifier;
	contextType = aContextType;
}


void StepRepr_RepresentationContext::SetContextIdentifier(const Handle(TCollection_HAsciiString)& aContextIdentifier)
{
	contextIdentifier = aContextIdentifier;
}

Handle(TCollection_HAsciiString) StepRepr_RepresentationContext::ContextIdentifier() const
{
	return contextIdentifier;
}

void StepRepr_RepresentationContext::SetContextType(const Handle(TCollection_HAsciiString)& aContextType)
{
	contextType = aContextType;
}

Handle(TCollection_HAsciiString) StepRepr_RepresentationContext::ContextType() const
{
	return contextType;
}