Integration of OCCT 6.5.0 from SVN
[occt.git] / src / StepVisual / StepVisual_PresentationStyleAssignment.cxx
CommitLineData
7fd59977 1#include <StepVisual_PresentationStyleAssignment.ixx>
2
3
4StepVisual_PresentationStyleAssignment::StepVisual_PresentationStyleAssignment () {}
5
6void StepVisual_PresentationStyleAssignment::Init(
7 const Handle(StepVisual_HArray1OfPresentationStyleSelect)& aStyles)
8{
9 // --- classe own fields ---
10 styles = aStyles;
11}
12
13
14void StepVisual_PresentationStyleAssignment::SetStyles(const Handle(StepVisual_HArray1OfPresentationStyleSelect)& aStyles)
15{
16 styles = aStyles;
17}
18
19Handle(StepVisual_HArray1OfPresentationStyleSelect) StepVisual_PresentationStyleAssignment::Styles() const
20{
21 return styles;
22}
23
24StepVisual_PresentationStyleSelect StepVisual_PresentationStyleAssignment::StylesValue(const Standard_Integer num) const
25{
26 return styles->Value(num);
27}
28
29Standard_Integer StepVisual_PresentationStyleAssignment::NbStyles () const
30{
31 return styles->Length();
32}