summaryrefslogtreecommitdiff
path: root/src/StepData/StepData_FieldList1.cxx
blob: 978e2b223fd2ce953aaac833032d162fba1fc590 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <StepData_FieldList1.ixx>
#include <Standard_OutOfRange.hxx>


StepData_FieldList1::StepData_FieldList1  ()    {  }

Standard_Integer  StepData_FieldList1::NbFields () const
{  return 1;  }

const StepData_Field&  StepData_FieldList1::Field (const Standard_Integer num) const
{
  if (num != 1) Standard_OutOfRange::Raise("StepData_FieldList1 : Field");
  return thefield;
}

StepData_Field&  StepData_FieldList1::CField (const Standard_Integer num)
{
  if (num != 1) Standard_OutOfRange::Raise("StepData_FieldList1 : CField");
  return thefield;
}

void StepData_FieldList1::Destroy () {}