blob: a7773f6ea6a62873a19ddf4efee80e8f2e54cc7a (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
-- File: CDF_Session.cdl
-- Created: Thu Aug 7 17:28:05 1997
-- Author: Jean-Louis Frenkel
-- <rmi@frilox.paris1.matra-dtv.fr>
---Copyright: Matra Datavision 1997
class Session from CDF inherits Transient from Standard
uses
Directory from CDF,
ExtendedString from TCollection,
Application from CDF,
MetaDataDriver from CDF,
Writer from PCDM
raises
NoSuchObject from Standard,MultiplyDefined from Standard
is
Create returns mutable Session from CDF
raises MultiplyDefined from Standard;
Exists(myclass)
--- Purpose: returns true if a session has been created.
returns Boolean from Standard;
CurrentSession(myclass) returns mutable Session from CDF;
---Purpose: returns the only one instance of Session
-- that has been created.
Directory(me) returns mutable Directory from CDF;
---Purpose: returns the directory of the session;
---Level: Public
---Category: current application management
HasCurrentApplication(me) returns Boolean from Standard;
CurrentApplication(me) returns mutable Application from CDF
raises NoSuchObject from Standard;
SetCurrentApplication(me: mutable; anApplication: Application from CDF);
UnsetCurrentApplication(me: mutable);
---Category: database related methods
MetaDataDriver(me) returns MetaDataDriver from CDF
raises NoSuchObject from Standard;
LoadDriver(me: mutable);
fields
myDirectory : Directory from CDF;
myCurrentApplication : Application from CDF;
myHasCurrentApplication: Boolean from Standard;
myMetaDataDriver : MetaDataDriver from CDF;
friends
class Application from CDF
end Session from CDF;
|