Integration of OCCT 6.5.0 from SVN
[occt.git] / src / CDM / CDM_Application.cdl
CommitLineData
7fd59977 1-- File: CDM_Application.cdl
2-- Created: Wed Oct 22 15:05:47 1997
3-- Author: Jean-Louis Frenkel
4-- <rmi@frilox.paris1.matra-dtv.fr>
5---Copy: Matra Datavision 1997
6
7deferred class Application from CDM inherits Transient from Standard
8
9uses Document from CDM,
10 MetaData from CDM,
11 Reference from CDM,
12 MessageDriver from CDM,
13 Manager from Resource,
14 ExtendedString from TCollection
15is
16
17 Retrieve(me: mutable; aMetaData: MetaData from CDM; UseStorageConfiguration: Boolean from Standard)
18 returns mutable Document from CDM
19 is deferred private;
20
21
22 DocumentVersion(me: mutable; aMetaData: MetaData from CDM)
23 returns Integer from Standard
24 is deferred private;
25 ---Purpose: returns -1 if the metadata has no modification counter.
26
27 SetDocumentVersion(me; aDocument: Document from CDM; aMetaData: MetaData from CDM)
28 is protected;
29
30 SetReferenceCounter(me:mutable ; aDocument: Document from CDM; aReferenceCounter: Integer from Standard)
31 is protected;
32
33 Resources(me: mutable)
34 returns Manager from Resource
35 is deferred;
36 ---Purpose: the manager returned by this virtual method will be
37 -- used to search for Format`.Retrieval resource items.
38 --
39
40 MessageDriver(me: mutable) returns MessageDriver from CDM
41 is virtual;
42 ---Purpose: By default returns a NullMessageDriver;
43
44 BeginOfUpdate(me:mutable; aDocument: Document from CDM)
45 is virtual;
46 ---Purpose: this method is called before the update of a document.
47 -- By default, writes in MessageDriver().
48
49 EndOfUpdate(me:mutable; aDocument: Document from CDM; Status: Boolean from Standard; ErrorString: ExtendedString from TCollection)
50 is virtual;
51 ---Purpose: this method is called affter the update of a document.
52 -- By default, writes in MessageDriver().
53
54 Write(me: mutable; aString: ExtString from Standard);
55 ---Purpose: writes the string in the application MessagerDriver.
56
57friends
58
59 class Reference from CDM,
60 class MetaData from CDM
61
62end Application from CDM;