blob: c77b264d4c011d6040b2ed333974191fa47b3e45 (
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
66
|
-- File: BinMDF_ADriver.cdl
-- Created: Tue Oct 29 19:18:49 2002
-- Author: Michael SAZONOV
-- <msv@novgorox.nnov.matra-dtv.fr>
---Copyright: Matra Datavision 2002
deferred class ADriver from BinMDF inherits TShared from MMgt
---Purpose: Attribute Storage/Retrieval Driver.
uses
ExtendedString from TCollection,
MessageDriver from CDM,
AsciiString from TCollection,
Attribute from TDF,
RRelocationTable from BinObjMgt,
SRelocationTable from BinObjMgt,
Persistent from BinObjMgt
is
Initialize (theMsgDriver: MessageDriver from CDM;
theName : CString from Standard = NULL);
NewEmpty (me)
returns mutable Attribute from TDF
is deferred;
---Purpose: Creates a new attribute from TDF.
SourceType (me) returns Type from Standard;
---C++: return const &
---C++: inline
---Purpose: Returns the type of source object,
-- inheriting from Attribute from TDF.
TypeName (me)
returns AsciiString from TCollection
is static;
---C++: return const &
---C++: inline
---Purpose: Returns the type name of the attribute object
Paste (me; aSource : Persistent from BinObjMgt;
aTarget : mutable Attribute from TDF;
aRelocTable : out RRelocationTable from BinObjMgt)
returns Boolean from Standard is deferred;
---Purpose: Translate the contents of <aSource> and put it
-- into <aTarget>, using the relocation table
-- <aRelocTable> to keep the sharings.
Paste (me; aSource : Attribute from TDF;
aTarget : in out Persistent from BinObjMgt;
aRelocTable : out SRelocationTable from BinObjMgt)
is deferred;
---Purpose: Translate the contents of <aSource> and put it
-- into <aTarget>, using the relocation table
-- <aRelocTable> to keep the sharings.
WriteMessage (me; theMessage : ExtendedString from TCollection);
---Purpose: Send message to Application (usually when error occurres)
fields
myMessageDriver : MessageDriver from CDM;
myTypeName : AsciiString from TCollection is protected;
end ADriver;
|