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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
-- File: CDM_MetaData.cdl
-- Created: Wed Oct 22 14:54:38 1997
-- Author: Jean-Louis Frenkel
-- <rmi@frilox.paris1.matra-dtv.fr>
---Copyright: Matra Datavision 1997
class MetaData from CDM inherits Transient from Standard
uses ExtendedString from TCollection,Document from CDM,MetaDataLookUpTable from CDM, DocumentPointer from CDM,
Application from CDM
raises NoSuchObject from Standard
is
Create(aFolder,aName, aPath: ExtendedString from TCollection;
aFileName: ExtendedString from TCollection; ReadOnly:Boolean from Standard)
returns MetaData from CDM is private;
Create(aFolder,aName, aPath, aVersion: ExtendedString from TCollection;
aFileName: ExtendedString from TCollection; ReadOnly:Boolean from Standard)
returns MetaData from CDM is private;
LookUp(myclass; aFolder,aName, aPath: ExtendedString from TCollection;
aFileName: ExtendedString from TCollection; ReadOnly:Boolean from Standard)
returns MetaData from CDM;
LookUp(myclass; aFolder,aName, aPath, aVersion: ExtendedString from TCollection; aFileName: ExtendedString from TCollection; ReadOnly:Boolean from Standard)
returns MetaData from CDM;
IsRetrieved(me) returns Boolean from Standard;
Document(me) returns Document from CDM;
Folder(me) returns ExtendedString from TCollection;
---Purpose: returns the folder in which the meta-data has to be created
-- or has to be found.
--
Name(me) returns ExtendedString from TCollection;
---Purpose: returns the name under which the meta-data has to be created
-- or has to be found.
--
Version(me) returns ExtendedString from TCollection
---Purpose: returns the version under which the meta-data has to be found.
-- Warning: raises NoSuchObject from Standard if no Version has been defined
raises NoSuchObject from Standard;
HasVersion(me) returns Boolean from Standard;
---Purpose: indicates that the version has to be taken into account when
-- searching the corresponding meta-data.
FileName(me) returns ExtendedString from TCollection;
---Category: programming facility
--
Print(me; anOStream: in out OStream from Standard)
returns OStream from Standard;
---C++: return &
---C++: alias "Standard_OStream& operator << (Standard_OStream& anOStream);"
--
Path(me) returns ExtendedString from TCollection;
---Category: methods to modify the metadata.
--
SetDocument(me: mutable; aDocument: Document from CDM)
is private;
UnsetDocument(me: mutable);
LookUpTable(myclass) returns MetaDataLookUpTable from CDM
is private;
---C++: return const&
--
DocumentVersion(me: mutable; anApplication: Application from CDM) returns Integer from Standard
is private;
IsReadOnly(me) returns Boolean from Standard;
SetIsReadOnly(me: mutable);
UnsetIsReadOnly(me: mutable);
fields
myIsRetrieved: Boolean from Standard;
myDocument: DocumentPointer from CDM;
myFolder: ExtendedString from TCollection;
myName: ExtendedString from TCollection;
myVersion: ExtendedString from TCollection;
myHasVersion: Boolean from Standard;
myFileName: ExtendedString from TCollection;
myPath: ExtendedString from TCollection;
myDocumentVersion: Integer from Standard;
myIsReadOnly: Boolean from Standard;
friends SetMetaData from class Document from CDM(me: mutable; aMetaData: MetaData from CDM),
class Reference from CDM,
SetDocumentVersion from class Application from CDM(me; aDocument: Document from CDM; aMetaData: MetaData from CDM)
end MetaData from CDM;
|