0023022: This is desirable to access OpenGl extensions and core API (1.2+) in one...
[occt.git] / src / StepRepr / StepRepr_RepresentationContext.cxx
CommitLineData
7fd59977 1#include <StepRepr_RepresentationContext.ixx>
2
3
4StepRepr_RepresentationContext::StepRepr_RepresentationContext () {}
5
6void StepRepr_RepresentationContext::Init(
7 const Handle(TCollection_HAsciiString)& aContextIdentifier,
8 const Handle(TCollection_HAsciiString)& aContextType)
9{
10 // --- classe own fields ---
11 contextIdentifier = aContextIdentifier;
12 contextType = aContextType;
13}
14
15
16void StepRepr_RepresentationContext::SetContextIdentifier(const Handle(TCollection_HAsciiString)& aContextIdentifier)
17{
18 contextIdentifier = aContextIdentifier;
19}
20
21Handle(TCollection_HAsciiString) StepRepr_RepresentationContext::ContextIdentifier() const
22{
23 return contextIdentifier;
24}
25
26void StepRepr_RepresentationContext::SetContextType(const Handle(TCollection_HAsciiString)& aContextType)
27{
28 contextType = aContextType;
29}
30
31Handle(TCollection_HAsciiString) StepRepr_RepresentationContext::ContextType() const
32{
33 return contextType;
34}