Integration of OCCT 6.5.0 from SVN
[occt.git] / src / StepData / StepData_FieldList.cdl
CommitLineData
7fd59977 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
6
7
8class FieldList from StepData
9
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
13
14uses Field from StepData, EntityIterator from Interface
15
16raises OutOfRange
17
18is
19
20 Create returns FieldList;
21 ---Purpose : Creates a FieldList of 0 Field
22
23 NbFields (me) returns Integer is virtual;
24 ---Purpose : Returns the count of fields. Here, returns 0
25
26 Field (me; num : Integer) returns Field
27 ---Purpose : Returns the field n0 <num> between 1 and NbFields (read only)
28 raises OutOfRange
29 -- Error if <num> out of range
30 is virtual;
31 ---C++ : return const &
32
33 CField (me : in out; num : Integer) returns Field
34 ---Purpose : Returns the field n0 <num> between 1 and NbFields, in order to
35 -- modify its content
36 raises OutOfRange
37 -- Error if <num> out of range
38 is virtual;
39 ---C++ : return &
40
41 FillShared (me; iter : in out EntityIterator);
42 ---Purpose : Fills an iterator with the entities shared by <me>
43
44end FieldList;