0024057: Eliminate compiler warning C4100 in MSVC++ with warning level 4
[occt.git] / src / CDM / CDM.cdl
1 -- Created on: 1997-05-06
2 -- Created by: Jean-Louis Frenkel, Remi Lequette
3 -- Copyright (c) 1997-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 package CDM
23
24
25 uses TCollection,TColStd,Resource
26
27 is
28
29     enumeration CanCloseStatus is CCS_OK, CCS_NotOpen, CCS_UnstoredReferenced,CCS_ModifiedReferenced,CCS_ReferenceRejection
30     end CanCloseStatus from CDM;
31
32
33     class MetaData;
34
35     deferred class MessageDriver;
36
37     deferred class Document;
38
39     class ReferenceIterator;
40     
41     class NullMessageDriver; 
42     ---Purpose: a MessageDriver that writes nowhere.
43
44     class COutMessageDriver;
45     ---Purpose: aMessageDriver for output to COUT (only ASCII strings)
46
47 ---Category: classes to manager automatic naming of documents.
48
49     private alias NamesDirectory is DataMapOfStringInteger from TColStd;
50     ---Purpose: this map will allows to get a directory object from a name.
51
52     private class PresentationDirectory instantiates DataMap from TCollection 
53     ---Purpose: this map will allows to get a directory object from a name.
54         (ExtendedString from TCollection,
55          Document from CDM,
56          ExtendedString from TCollection);
57          
58     private pointer DocumentPointer to Document from CDM;
59     private class Reference;    
60
61     private class ListOfReferences instantiates List from TCollection(Reference from CDM);
62     deferred class Application;
63     
64     private class MetaDataLookUpTable instantiates DataMap from TCollection(ExtendedString from TCollection, MetaData from CDM, ExtendedString from TCollection);
65          
66          
67 ---Category: reusable classes
68
69     class DocumentHasher instantiates MapHasher from TCollection(Document from CDM);
70     class MapOfDocument instantiates Map from TCollection(Document from CDM, DocumentHasher from CDM);
71     class ListOfDocument instantiates List from TCollection(Document from CDM);
72     class StackOfDocument instantiates Stack from TCollection(Document from CDM);
73
74 end CDM;