summaryrefslogtreecommitdiff
path: root/inc/Transfer_ProcessForTransient.hxx
blob: ebefa0aacfff3623f760e319826a3316fb24e9ed (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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
// 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 _Transfer_ProcessForTransient_HeaderFile
#define _Transfer_ProcessForTransient_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_Transfer_ProcessForTransient_HeaderFile
#include <Handle_Transfer_ProcessForTransient.hxx>
#endif

#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Handle_Message_Messenger_HeaderFile
#include <Handle_Message_Messenger.hxx>
#endif
#ifndef _TColStd_IndexedMapOfInteger_HeaderFile
#include <TColStd_IndexedMapOfInteger.hxx>
#endif
#ifndef _Handle_Standard_Transient_HeaderFile
#include <Handle_Standard_Transient.hxx>
#endif
#ifndef _Handle_Transfer_Binder_HeaderFile
#include <Handle_Transfer_Binder.hxx>
#endif
#ifndef _Handle_Transfer_ActorOfProcessForTransient_HeaderFile
#include <Handle_Transfer_ActorOfProcessForTransient.hxx>
#endif
#ifndef _Transfer_TransferMapOfProcessForTransient_HeaderFile
#include <Transfer_TransferMapOfProcessForTransient.hxx>
#endif
#ifndef _Handle_Message_ProgressIndicator_HeaderFile
#include <Handle_Message_ProgressIndicator.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _Handle_TColStd_HSequenceOfTransient_HeaderFile
#include <Handle_TColStd_HSequenceOfTransient.hxx>
#endif
#ifndef _Handle_Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient_HeaderFile
#include <Handle_Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient.hxx>
#endif
#ifndef _Standard_CString_HeaderFile
#include <Standard_CString.hxx>
#endif
#ifndef _Handle_Interface_Check_HeaderFile
#include <Handle_Interface_Check.hxx>
#endif
#ifndef _Handle_Standard_Type_HeaderFile
#include <Handle_Standard_Type.hxx>
#endif
class Message_Messenger;
class Standard_Transient;
class Transfer_Binder;
class Transfer_ActorOfProcessForTransient;
class Message_ProgressIndicator;
class Interface_InterfaceError;
class Transfer_TransferFailure;
class TColStd_MapTransientHasher;
class TColStd_HSequenceOfTransient;
class Transfer_TransferMapOfProcessForTransient;
class Transfer_IndexedDataMapNodeOfTransferMapOfProcessForTransient;
class Transfer_IteratorOfProcessForTransient;
class Message_Msg;
class Interface_Check;
class Standard_Type;
class Interface_CheckIterator;



class Transfer_ProcessForTransient : public MMgt_TShared {

public:

  
  Standard_EXPORT   Transfer_ProcessForTransient(const Standard_Integer nb = 10000);
  
  Standard_EXPORT   Transfer_ProcessForTransient(const Handle(Message_Messenger)& printer,const Standard_Integer nb = 10000);
  
  Standard_EXPORT     void Clear() ;
  
  Standard_EXPORT     void Clean() ;
  
  Standard_EXPORT     void Resize(const Standard_Integer nb) ;
  
  Standard_EXPORT     void SetActor(const Handle(Transfer_ActorOfProcessForTransient)& actor) ;
  
  Standard_EXPORT     Handle_Transfer_ActorOfProcessForTransient Actor() const;
  
  Standard_EXPORT     Handle_Transfer_Binder Find(const Handle(Standard_Transient)& start) const;
  
  Standard_EXPORT     Standard_Boolean IsBound(const Handle(Standard_Transient)& start) const;
  
  Standard_EXPORT     Standard_Boolean IsAlreadyUsed(const Handle(Standard_Transient)& start) const;
  
  Standard_EXPORT     void Bind(const Handle(Standard_Transient)& start,const Handle(Transfer_Binder)& binder) ;
  
  Standard_EXPORT     void Rebind(const Handle(Standard_Transient)& start,const Handle(Transfer_Binder)& binder) ;
  
  Standard_EXPORT     Standard_Boolean Unbind(const Handle(Standard_Transient)& start) ;
  
  Standard_EXPORT     Handle_Transfer_Binder FindElseBind(const Handle(Standard_Transient)& start) ;
  
  Standard_EXPORT     void SetMessenger(const Handle(Message_Messenger)& messenger) ;
  
  Standard_EXPORT     Handle_Message_Messenger Messenger() const;
  
  Standard_EXPORT     void SetTraceLevel(const Standard_Integer tracelev) ;
  
  Standard_EXPORT     Standard_Integer TraceLevel() const;
  
  Standard_EXPORT     void SendFail(const Handle(Standard_Transient)& start,const Message_Msg& amsg) ;
  
  Standard_EXPORT     void SendWarning(const Handle(Standard_Transient)& start,const Message_Msg& amsg) ;
  
  Standard_EXPORT     void SendMsg(const Handle(Standard_Transient)& start,const Message_Msg& amsg) ;
  
  Standard_EXPORT     void AddFail(const Handle(Standard_Transient)& start,const Standard_CString mess,const Standard_CString orig = "") ;
  
  Standard_EXPORT     void AddError(const Handle(Standard_Transient)& start,const Standard_CString mess,const Standard_CString orig = "") ;
  
  Standard_EXPORT     void AddFail(const Handle(Standard_Transient)& start,const Message_Msg& amsg) ;
  
  Standard_EXPORT     void AddWarning(const Handle(Standard_Transient)& start,const Standard_CString mess,const Standard_CString orig = "") ;
  
  Standard_EXPORT     void AddWarning(const Handle(Standard_Transient)& start,const Message_Msg& amsg) ;
  
  Standard_EXPORT     void Mend(const Handle(Standard_Transient)& start,const Standard_CString pref = "") ;
  
  Standard_EXPORT     Handle_Interface_Check Check(const Handle(Standard_Transient)& start) const;
  
  Standard_EXPORT     void BindTransient(const Handle(Standard_Transient)& start,const Handle(Standard_Transient)& res) ;
  
  Standard_EXPORT    const Handle_Standard_Transient& FindTransient(const Handle(Standard_Transient)& start) const;
  
  Standard_EXPORT     void BindMultiple(const Handle(Standard_Transient)& start) ;
  
  Standard_EXPORT     void AddMultiple(const Handle(Standard_Transient)& start,const Handle(Standard_Transient)& res) ;
  
  Standard_EXPORT     Standard_Boolean FindTypedTransient(const Handle(Standard_Transient)& start,const Handle(Standard_Type)& atype,Handle(Standard_Transient)& val) const;
  
  Standard_EXPORT     Standard_Boolean GetTypedTransient(const Handle(Transfer_Binder)& binder,const Handle(Standard_Type)& atype,Handle(Standard_Transient)& val) const;
  
  Standard_EXPORT     Standard_Integer NbMapped() const;
  
  Standard_EXPORT    const Handle_Standard_Transient& Mapped(const Standard_Integer num) const;
  
  Standard_EXPORT     Standard_Integer MapIndex(const Handle(Standard_Transient)& start) const;
  
  Standard_EXPORT     Handle_Transfer_Binder MapItem(const Standard_Integer num) const;
  
  Standard_EXPORT     void SetRoot(const Handle(Standard_Transient)& start) ;
  
  Standard_EXPORT     void SetRootManagement(const Standard_Boolean stat) ;
  
  Standard_EXPORT     Standard_Integer NbRoots() const;
  
  Standard_EXPORT    const Handle_Standard_Transient& Root(const Standard_Integer num) const;
  
  Standard_EXPORT     Handle_Transfer_Binder RootItem(const Standard_Integer num) const;
  
  Standard_EXPORT     Standard_Integer RootIndex(const Handle(Standard_Transient)& start) const;
  
  Standard_EXPORT     Standard_Integer NestingLevel() const;
  
  Standard_EXPORT     void ResetNestingLevel() ;
  
  Standard_EXPORT     Standard_Boolean Recognize(const Handle(Standard_Transient)& start) const;
  
  Standard_EXPORT     Handle_Transfer_Binder Transferring(const Handle(Standard_Transient)& start) ;
  
  Standard_EXPORT     Standard_Boolean Transfer(const Handle(Standard_Transient)& start) ;
  
  Standard_EXPORT     void SetErrorHandle(const Standard_Boolean err) ;
  
  Standard_EXPORT     Standard_Boolean ErrorHandle() const;
  
  Standard_EXPORT     void StartTrace(const Handle(Transfer_Binder)& binder,const Handle(Standard_Transient)& start,const Standard_Integer level,const Standard_Integer mode) const;
  
  Standard_EXPORT   virtual  void PrintTrace(const Handle(Standard_Transient)& start,const Handle(Message_Messenger)& S) const;
  
  Standard_EXPORT     Standard_Boolean IsLooping(const Standard_Integer alevel) const;
  
  Standard_EXPORT     Transfer_IteratorOfProcessForTransient RootResult(const Standard_Boolean withstart = Standard_False) const;
  
  Standard_EXPORT     Transfer_IteratorOfProcessForTransient CompleteResult(const Standard_Boolean withstart = Standard_False) const;
  
  Standard_EXPORT     Transfer_IteratorOfProcessForTransient AbnormalResult() const;
  
  Standard_EXPORT     Interface_CheckIterator CheckList(const Standard_Boolean erronly) const;
  
  Standard_EXPORT     Transfer_IteratorOfProcessForTransient ResultOne(const Handle(Standard_Transient)& start,const Standard_Integer level,const Standard_Boolean withstart = Standard_False) const;
  
  Standard_EXPORT     Interface_CheckIterator CheckListOne(const Handle(Standard_Transient)& start,const Standard_Integer level,const Standard_Boolean erronly) const;
  
  Standard_EXPORT     Standard_Boolean IsCheckListEmpty(const Handle(Standard_Transient)& start,const Standard_Integer level,const Standard_Boolean erronly) const;
  
  Standard_EXPORT     void RemoveResult(const Handle(Standard_Transient)& start,const Standard_Integer level,const Standard_Boolean compute = Standard_True) ;
  
  Standard_EXPORT   virtual  Standard_Integer CheckNum(const Handle(Standard_Transient)& start) const;
  
  Standard_EXPORT     void SetProgress(const Handle(Message_ProgressIndicator)& theProgress) ;
  
  Standard_EXPORT     Handle_Message_ProgressIndicator GetProgress() const;




  DEFINE_STANDARD_RTTI(Transfer_ProcessForTransient)

protected:




private: 

  
  Standard_EXPORT     Handle_Transfer_Binder FindAndMask(const Handle(Standard_Transient)& start) ;
  
  Standard_EXPORT     Handle_Transfer_Binder TransferProduct(const Handle(Standard_Transient)& start) ;

Standard_Boolean theerrh;
Standard_Integer thetrace;
Handle_Message_Messenger themessenger;
Standard_Integer thelevel;
Standard_Integer therootl;
Standard_Boolean therootm;
TColStd_IndexedMapOfInteger theroots;
Handle_Standard_Transient thelastobj;
Handle_Transfer_Binder thelastbnd;
Standard_Integer theindex;
Handle_Transfer_ActorOfProcessForTransient theactor;
Transfer_TransferMapOfProcessForTransient themap;
Handle_Message_ProgressIndicator myProgress;


};





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


#endif