1 -- File: StepData_FieldList1.cdl
2 -- Created: Tue Apr 1 13:18:59 1997
3 -- Author: Christian CAILLET
4 -- <cky@heliox.paris1.matra-dtv.fr>
5 ---Copyright: Matra Datavision 1997
8 class FieldList1 from StepData inherits FieldList from StepData
10 ---Purpose : Describes a list of ONE field
12 uses Field from StepData
18 Create returns FieldList1;
19 ---Purpose : Creates a FieldList of 1 Field
21 NbFields (me) returns Integer is redefined;
22 ---Purpose : Returns the count of fields. Here, returns 1
24 Field (me; num : Integer) returns Field
25 ---Purpose : Returns the field n0 <num> between 1 and NbFields (read only)
27 -- Error if <num> out of range
29 ---C++ : return const &
31 CField (me : in out; num : Integer) returns Field
32 ---Purpose : Returns the field n0 <num> between 1 and NbFields, in order to
35 -- Error if <num> out of range
39 Destroy (me: in out) is virtual;
40 ---C++ : alias "Standard_EXPORT virtual ~StepData_FieldList1() { Destroy(); }"
44 thefield : Field from StepData;