mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
31
src/Transfer/Transfer_DispatchControl.cxx
Executable file
31
src/Transfer/Transfer_DispatchControl.cxx
Executable file
@@ -0,0 +1,31 @@
|
||||
#include <Transfer_DispatchControl.ixx>
|
||||
|
||||
|
||||
|
||||
Transfer_DispatchControl::Transfer_DispatchControl
|
||||
(const Handle(Interface_InterfaceModel)& model,
|
||||
const Handle(Transfer_TransientProcess)& TP)
|
||||
{ themodel = model; theTP = TP; }
|
||||
|
||||
|
||||
const Handle(Transfer_TransientProcess)&
|
||||
Transfer_DispatchControl::TransientProcess () const
|
||||
{ return theTP; }
|
||||
|
||||
const Handle(Interface_InterfaceModel)&
|
||||
Transfer_DispatchControl::StartingModel () const
|
||||
{ return themodel; }
|
||||
|
||||
void Transfer_DispatchControl::Clear () { theTP->Clear(); }
|
||||
|
||||
|
||||
void Transfer_DispatchControl::Bind
|
||||
(const Handle(Standard_Transient)& ent,
|
||||
const Handle(Standard_Transient)& res)
|
||||
{ theTP->BindTransient(ent,res); }
|
||||
|
||||
|
||||
Standard_Boolean Transfer_DispatchControl::Search
|
||||
(const Handle(Standard_Transient)& ent,
|
||||
Handle(Standard_Transient)&res) const
|
||||
{ res = theTP->FindTransient(ent); return !res.IsNull(); }
|
Reference in New Issue
Block a user