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
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.
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.
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.
25 uses TCollection,TColStd,Resource
29 enumeration CanCloseStatus is CCS_OK, CCS_NotOpen, CCS_UnstoredReferenced,CCS_ModifiedReferenced,CCS_ReferenceRejection
30 end CanCloseStatus from CDM;
35 deferred class MessageDriver;
37 deferred class Document;
39 class ReferenceIterator;
41 class NullMessageDriver;
42 ---Purpose: a MessageDriver that writes nowhere.
44 class COutMessageDriver;
45 ---Purpose: aMessageDriver for output to COUT (only ASCII strings)
47 ---Category: classes to manager automatic naming of documents.
49 private alias NamesDirectory is DataMapOfStringInteger from TColStd;
50 ---Purpose: this map will allows to get a directory object from a name.
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,
56 ExtendedString from TCollection);
58 private pointer DocumentPointer to Document from CDM;
59 private class Reference;
61 private class ListOfReferences instantiates List from TCollection(Reference from CDM);
62 deferred class Application;
64 private class MetaDataLookUpTable instantiates DataMap from TCollection(ExtendedString from TCollection, MetaData from CDM, ExtendedString from TCollection);
67 ---Category: reusable classes
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);