1 -- File: CDF_DirectoryIterator.cdl
2 -- Created: Wed Aug 13 13:53:20 1997
3 -- Author: Jean-Louis Frenkel
4 -- <rmi@frilox.paris1.matra-dtv.fr>
5 ---Copyright: Matra Datavision 1997
7 class DirectoryIterator from CDF
12 ListIteratorOfListOfDocument from CDM
14 NoSuchObject from Standard
19 returns DirectoryIterator from CDF;
20 ---Purpose: creates an Iterator with the directory
21 -- of the current CDF.
23 Create(aDirectory: Directory from CDF)
24 returns DirectoryIterator from CDF;
26 MoreDocument (me: in out) returns Boolean from Standard;
27 ---Purpose : Returns True if there are more entries to return
29 NextDocument (me: in out);
30 ---Purpose : Go to the next entry
31 -- (if there is not, Value will raise an exception)
33 Document (me: in out) returns Document from CDM
34 ---Purpose : Returns item value of current entry
35 raises NoSuchObject from Standard;
39 myIterator: ListIteratorOfListOfDocument from CDM;
40 end DirectoryIterator from CDF;