0023258: Missing parenthesis
[occt.git] / src / MDocStd / MDocStd_DocumentRetrievalDriver.cdl
1 -- Created on: 1999-04-15
2 -- Created by: Denis PASCAL
3 -- Copyright (c) 1999 Matra Datavision
4 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
5 --
6 -- The content of this file is subject to the Open CASCADE Technology Public
7 -- License Version 6.5 (the "License"). You may not use the content of this file
8 -- except in compliance with the License. Please obtain a copy of the License
9 -- at http://www.opencascade.org and read it completely before using this file.
10 --
11 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13 --
14 -- The Original Code and all software distributed under the License is
15 -- distributed on an "AS IS" basis, without warranty of any kind, and the
16 -- Initial Developer hereby disclaims all such warranties, including without
17 -- limitation, any warranties of merchantability, fitness for a particular
18 -- purpose or non-infringement. Please see the License for the specific terms
19 -- and conditions governing the rights and limitations under the License.
20
21
22
23 class DocumentRetrievalDriver from MDocStd inherits RetrievalDriver from PCDM
24
25         ---Purpose: retrieval driver of a standard document
26
27 uses Document         from TDocStd,
28      Document         from PDocStd,  
29      RRelocationTable from MDF,
30      Document         from PCDM, 
31      Document         from CDM,  
32      MessageDriver    from CDM,
33      ExtendedString   from TCollection,
34      ARDriverTable    from MDF
35
36 is
37
38
39     Create
40     returns mutable DocumentRetrievalDriver from MDocStd;    
41
42     Paste (me : mutable; PDOC   : Document from PDocStd;
43                          TDOC   : Document from TDocStd;
44                          aReloc : RRelocationTable from MDF);
45     
46     ---Purpose: deferred methods of RetrievalDriver from PCDM
47     --          =============================================
48
49     Make (me : mutable; aPCDM: Document from PCDM; aCDM : mutable Document from CDM); 
50
51     ---Purpose: virtual methods (may be redefined by specialized application)
52     --          =============================================================
53
54     SchemaName(me) returns ExtendedString from  TCollection
55     is virtual;
56
57     CreateDocument (me: mutable) returns Document from CDM  
58     ---Purpose: returns an empty TDocStd_Document. may be redefined;
59     is virtual;
60     
61     AttributeDrivers(me : mutable; theMessageDriver : MessageDriver from CDM) 
62     returns ARDriverTable from MDF
63     is virtual;
64     
65 fields
66
67     myDrivers : ARDriverTable  from MDF;
68
69 end DocumentRetrievalDriver;