Integration of OCCT 6.5.0 from SVN
[occt.git] / src / StepVisual / StepVisual_OverRidingStyledItem.cxx
1 #include <StepVisual_OverRidingStyledItem.ixx>
2
3
4 StepVisual_OverRidingStyledItem::StepVisual_OverRidingStyledItem ()  {}
5
6 void StepVisual_OverRidingStyledItem::Init(
7         const Handle(TCollection_HAsciiString)& aName,
8         const Handle(StepVisual_HArray1OfPresentationStyleAssignment)& aStyles,
9         const Handle(StepRepr_RepresentationItem)& aItem)
10 {
11
12         StepVisual_StyledItem::Init(aName, aStyles, aItem);
13 }
14
15 void StepVisual_OverRidingStyledItem::Init(
16         const Handle(TCollection_HAsciiString)& aName,
17         const Handle(StepVisual_HArray1OfPresentationStyleAssignment)& aStyles,
18         const Handle(StepRepr_RepresentationItem)& aItem,
19         const Handle(StepVisual_StyledItem)& aOverRiddenStyle)
20 {
21         // --- classe own fields ---
22         overRiddenStyle = aOverRiddenStyle;
23         // --- classe inherited fields ---
24         StepVisual_StyledItem::Init(aName, aStyles, aItem);
25 }
26
27
28 void StepVisual_OverRidingStyledItem::SetOverRiddenStyle(const Handle(StepVisual_StyledItem)& aOverRiddenStyle)
29 {
30         overRiddenStyle = aOverRiddenStyle;
31 }
32
33 Handle(StepVisual_StyledItem) StepVisual_OverRidingStyledItem::OverRiddenStyle() const
34 {
35         return overRiddenStyle;
36 }