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