b311480e |
1 | -- Created on: 1999-04-07 |
2 | -- Created by: Denis PASCAL |
3 | -- Copyright (c) 1999 Matra Datavision |
973c2be1 |
4 | -- Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e |
5 | -- |
973c2be1 |
6 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
7 | -- |
d5f74e42 |
8 | -- This library is free software; you can redistribute it and/or modify it under |
9 | -- the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
10 | -- by the Free Software Foundation, with special exception defined in the file |
11 | -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
12 | -- distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
13 | -- |
973c2be1 |
14 | -- Alternatively, this file may be used under the terms of Open CASCADE |
15 | -- commercial license or contractual agreement. |
7fd59977 |
16 | |
17 | package TDocStd |
18 | |
19 | ---Purpose: This package define CAF main classes. |
20 | -- |
21 | -- * The standard application root class |
22 | -- |
23 | -- * The standard document wich contains data |
24 | -- |
25 | -- * The external reference mechanism between documents |
26 | -- |
27 | -- * Attributes for Document management |
28 | -- Standard documents offer you a ready-to-use |
29 | -- document containing a TDF-based data |
30 | -- structure. The documents themselves are |
31 | -- contained in a class inheriting from |
32 | -- TDocStd_Application which manages creation, |
33 | -- storage and retrieval of documents. |
34 | -- You can implement undo and redo in your |
35 | -- document, and refer from the data framework of |
36 | -- one document to that of another one. This is |
37 | -- done by means of external link attributes, which |
38 | -- store the path and the entry of external links. To |
39 | -- sum up, standard documents alone provide |
40 | -- access to the data framework. They also allow |
41 | -- you to: |
42 | -- - Update external links |
43 | -- - Manage the saving and opening of data |
44 | -- - Manage undo/redo functionality. |
45 | -- Note |
46 | -- For information on the relations between this |
47 | -- component of OCAF and the others, refer to the |
48 | -- OCAF User's Guide. |
49 | |
50 | uses |
51 | Standard, |
52 | CDF, |
53 | CDM, |
15e8b082 |
54 | PCDM, |
7fd59977 |
55 | MDF, |
56 | TDF, |
57 | TColStd, |
58 | TCollection, |
59 | Resource |
60 | |
61 | is |
62 | |
63 | |
ff8178ef |
64 | --- standard Application/Document |
65 | -- ============================= |
7fd59977 |
66 | |
67 | |
68 | deferred class Application; |
69 | |
70 | class Document; |
71 | |
72 | class Context; |
73 | |
74 | |
ff8178ef |
75 | --- External reference Attribute |
76 | -- ============================ |
7fd59977 |
77 | |
78 | class XLink; |
ff8178ef |
79 | |
7fd59977 |
80 | class XLinkIterator; |
7fd59977 |
81 | |
82 | class XLinkTool; |
7fd59977 |
83 | |
ff8178ef |
84 | --- Attributes for Document Management |
85 | -- ================================== |
7fd59977 |
86 | |
87 | private class Owner; |
7fd59977 |
88 | |
89 | private class Modified; |
ff8178ef |
90 | |
7fd59977 |
91 | pointer XLinkPtr to XLink from TDocStd; |
92 | |
93 | private class XLinkRoot; |
ff8178ef |
94 | |
7fd59977 |
95 | class PathParser; |
96 | |
97 | |
98 | class CompoundDelta; |
99 | |
100 | class LabelIDMapDataMap instantiates DataMap from TCollection (Label from TDF, |
101 | IDMap from TDF, |
102 | LabelMapHasher from TDF); |
103 | |
104 | class ApplicationDelta; |
105 | |
106 | class MultiTransactionManager; |
107 | |
108 | class SequenceOfApplicationDelta instantiates |
109 | Sequence from TCollection(ApplicationDelta from TDocStd); |
110 | |
111 | class SequenceOfDocument instantiates |
112 | Sequence from TCollection(Document from TDocStd); |
113 | |
114 | ---Purpose: specific GUID of this package |
115 | -- ============================= |
116 | |
117 | IDList (anIDList : in out IDList from TDF); |
118 | ---Purpose: Appends to <anIDList> the list of the attributes |
119 | -- IDs of this package. CAUTION: <anIDList> is NOT |
120 | -- cleared before use. |
121 | |
122 | end TDocStd; |
123 | |
124 | |