0022627: Change OCCT memory management defaults
[occt.git] / src / Transfer / Transfer_ActorOfFinderProcess.cxx
CommitLineData
7fd59977 1#include <Transfer_ActorOfFinderProcess.ixx>
2#include <Transfer_TransientMapper.hxx>
3
4Transfer_ActorOfFinderProcess::Transfer_ActorOfFinderProcess () { themodetrans = 0; }
5
6Standard_Integer& Transfer_ActorOfFinderProcess::ModeTrans ()
7{ return themodetrans; }
8
9Handle(Transfer_Binder) Transfer_ActorOfFinderProcess::Transfer
10 (const Handle(Transfer_Finder)& fnd,
11 const Handle(Transfer_FinderProcess)& FP)
12{
13 Handle(Transfer_TransientMapper) tm = Handle(Transfer_TransientMapper)::DownCast (fnd);
14 if (tm.IsNull()) return NullResult();
15 Handle(Standard_Transient) res = TransferTransient (tm->Value(),FP);
16 if (res.IsNull()) return NullResult();
17 return TransientResult (res);
18}
19
20Handle(Transfer_Binder) Transfer_ActorOfFinderProcess::Transferring
21 (const Handle(Transfer_Finder)& ent,
22 const Handle(Transfer_ProcessForFinder)& TP)
23{
24 return Transfer(ent,Handle(Transfer_FinderProcess)::DownCast(TP));
25}
26
27Handle(Standard_Transient) Transfer_ActorOfFinderProcess::TransferTransient
28 (const Handle(Standard_Transient)& /*ent*/,
29 const Handle(Transfer_FinderProcess)& )
30{
31 Handle(Standard_Transient) nulres;
32 return nulres;
33}