1 -- File: StepData_FieldList.cdl
2 -- Created: Tue Apr 1 13:11:37 1997
3 -- Author: Christian CAILLET
4 -- <cky@heliox.paris1.matra-dtv.fr>
5 ---Copyright: Matra Datavision 1997
8 class FieldList from StepData
10 ---Purpose : Describes a list of fields, in a general way
11 -- This basic class is for a null size list
12 -- Subclasses are for 1, N (fixed) or Dynamic sizes
14 uses Field from StepData, EntityIterator from Interface
20 Create returns FieldList;
21 ---Purpose : Creates a FieldList of 0 Field
23 NbFields (me) returns Integer is virtual;
24 ---Purpose : Returns the count of fields. Here, returns 0
26 Field (me; num : Integer) returns Field
27 ---Purpose : Returns the field n0 <num> between 1 and NbFields (read only)
29 -- Error if <num> out of range
31 ---C++ : return const &
33 CField (me : in out; num : Integer) returns Field
34 ---Purpose : Returns the field n0 <num> between 1 and NbFields, in order to
37 -- Error if <num> out of range
41 FillShared (me; iter : in out EntityIterator);
42 ---Purpose : Fills an iterator with the entities shared by <me>