summaryrefslogtreecommitdiff
path: root/inc/TDocStd.hxx
blob: 15a49a3aaa0ca115366d60f5e4962f0ab6530e5d (plain)
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _TDocStd_HeaderFile
#define _TDocStd_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif

class TDF_IDList;
class TDocStd_Application;
class TDocStd_Document;
class TDocStd_Context;
class TDocStd_XLink;
class TDocStd_XLinkIterator;
class TDocStd_XLinkTool;
class TDocStd_Owner;
class TDocStd_Modified;
class TDocStd_XLinkRoot;
class TDocStd_PathParser;
class TDocStd_CompoundDelta;
class TDocStd_LabelIDMapDataMap;
class TDocStd_ApplicationDelta;
class TDocStd_MultiTransactionManager;
class TDocStd_SequenceOfApplicationDelta;
class TDocStd_SequenceOfDocument;
class TDocStd_DataMapNodeOfLabelIDMapDataMap;
class TDocStd_DataMapIteratorOfLabelIDMapDataMap;
class TDocStd_SequenceNodeOfSequenceOfApplicationDelta;
class TDocStd_SequenceNodeOfSequenceOfDocument;


//! This package define  CAF main classes. <br>
//! <br>
//!          * The standard application root class <br>
//! <br>
//!          * The standard document wich contains data <br>
//! <br>
//!          * The external reference mechanism between documents <br>
//! <br>
//!          * Attributes for Document management <br>
//! Standard documents offer you a ready-to-use <br>
//! document containing a TDF-based data <br>
//!  structure. The documents themselves are <br>
//!  contained in a class inheriting from <br>
//! TDocStd_Application which manages creation, <br>
//! storage and retrieval of documents. <br>
//! You can implement undo and redo in your <br>
//! document, and refer from the data framework of <br>
//! one document to that of another one. This is <br>
//! done by means of external link attributes, which <br>
//! store the path and the entry of external links. To <br>
//! sum up, standard documents alone provide <br>
//! access to the data framework. They also allow <br>
//! you to: <br>
//! -   Update external links <br>
//! -   Manage the saving and opening of data <br>
//! -   Manage undo/redo functionality. <br>
//! Note <br>
//! For information on the relations between this <br>
//! component of OCAF and the others, refer to the <br>
//! OCAF User's Guide. <br>
class TDocStd  {
public:

  void* operator new(size_t,void* anAddress) 
  {
    return anAddress;
  }
  void* operator new(size_t size) 
  {
    return Standard::Allocate(size); 
  }
  void  operator delete(void *anAddress) 
  {
    if (anAddress) Standard::Free((Standard_Address&)anAddress); 
  }

  //! Appends to <anIDList> the list of the attributes <br>
//!          IDs of this package. CAUTION: <anIDList> is NOT <br>
//!          cleared before use. <br>
  Standard_EXPORT   static  void IDList(TDF_IDList& anIDList) ;





protected:





private:




friend class TDocStd_Application;
friend class TDocStd_Document;
friend class TDocStd_Context;
friend class TDocStd_XLink;
friend class TDocStd_XLinkIterator;
friend class TDocStd_XLinkTool;
friend class TDocStd_Owner;
friend class TDocStd_Modified;
friend class TDocStd_XLinkRoot;
friend class TDocStd_PathParser;
friend class TDocStd_CompoundDelta;
friend class TDocStd_LabelIDMapDataMap;
friend class TDocStd_ApplicationDelta;
friend class TDocStd_MultiTransactionManager;
friend class TDocStd_SequenceOfApplicationDelta;
friend class TDocStd_SequenceOfDocument;
friend class TDocStd_DataMapNodeOfLabelIDMapDataMap;
friend class TDocStd_DataMapIteratorOfLabelIDMapDataMap;
friend class TDocStd_SequenceNodeOfSequenceOfApplicationDelta;
friend class TDocStd_SequenceNodeOfSequenceOfDocument;

};





// other Inline functions and methods (like "C++: function call" methods)


#endif