blob: 74b7e6ac5ef118f80ddd8f306e9ca0ca53d313d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
-- File: PCDM_Reader.cdl
-- Created: Thu Dec 18 09:16:27 1997
-- Author: Jean-Louis Frenkel
-- <rmi@frilox.paris1.matra-dtv.fr>
---Copyright: Matra Datavision 1997
deferred class Reader from PCDM inherits Transient from Standard
uses
Document from CDM,
ExtendedString from TCollection,
Application from CDM,
ReaderStatus from PCDM
raises DriverError from PCDM
is
CreateDocument(me: mutable) returns Document from CDM
is deferred;
---Purpose: this method is called by the framework before the read method.
Read(me: mutable; aFileName: ExtendedString from TCollection;
aNewDocument: mutable Document from CDM;
anApplication: Application from CDM)
raises DriverError from PCDM
is deferred;
---Purpose: retrieves the content of the file into a new Document.
GetStatus(me) returns ReaderStatus from PCDM;
---C++: inline
fields
myReaderStatus : ReaderStatus from PCDM is protected;
end Reader from PCDM;
|