summaryrefslogtreecommitdiff
path: root/src/StepBasic/StepBasic_DerivedUnit.cxx
blob: 296e76c70ecf809de2dc124496d95b9ca125a765 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <StepBasic_DerivedUnit.ixx>

StepBasic_DerivedUnit::StepBasic_DerivedUnit  ()    {  }

void  StepBasic_DerivedUnit::Init (const Handle(StepBasic_HArray1OfDerivedUnitElement)& elements)
{  theElements = elements;  }

void  StepBasic_DerivedUnit::SetElements (const Handle(StepBasic_HArray1OfDerivedUnitElement)& elements)
{  theElements = elements;  }

Handle(StepBasic_HArray1OfDerivedUnitElement)  StepBasic_DerivedUnit::Elements () const
{  return theElements;  }

Standard_Integer  StepBasic_DerivedUnit::NbElements () const
{  return theElements->Length();  }

Handle(StepBasic_DerivedUnitElement)  StepBasic_DerivedUnit::ElementsValue (const Standard_Integer num) const
{  return theElements->Value(num);  }