Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Transfer_TransferDispatch Class Reference

A TransferDispatch is aimed to dispatch Entities between two
Interface Models, by default by copying them, as CopyTool, but
with more capabilities of adapting : Copy is redefined to
firstly pass the hand to a TransferProcess. If this gives no
result, standard Copy is called.

This allow, for instance, to modify the copied Entity (such as
changing a Name for a VDA Entity), or to do a deeper work
(such as Substituting a kind of Entity to another one).

For these reasons, TransferDispatch is basically a CopyTool,
but uses a more sophiscated control, which is TransferProcess,
and its method Copy is redefined

#include <Transfer_TransferDispatch.hxx>

Inheritance diagram for Transfer_TransferDispatch:
Inheritance graph
[legend]

Public Member Functions

DEFINE_STANDARD_ALLOC Transfer_TransferDispatch (const Handle< Interface_InterfaceModel > &amodel, const Interface_GeneralLib &lib)
 Creates a TransferDispatch from a Model. Works with a General
Service Library, given as an Argument
A TransferDispatch is created as a CopyTool in which the
Control is set to TransientProcess

 Transfer_TransferDispatch (const Handle< Interface_InterfaceModel > &amodel, const Handle< Interface_Protocol > &protocol)
 Same as above, but Library is defined through a Protocol

 Transfer_TransferDispatch (const Handle< Interface_InterfaceModel > &amodel)
 Same as above, but works with the Active Protocol

Handle_Transfer_TransientProcess TransientProcess () const
 Returns the content of Control Object, as a TransientProcess

virtual Standard_Boolean Copy (const Handle< Standard_Transient > &entfrom, Handle< Standard_Transient > &entto, const Standard_Boolean mapped, const Standard_Boolean errstat)
 Copies an Entity by calling the method Transferring from the
TransferProcess. If this called produces a Null Binder, then
the standard, inherited Copy is called


Constructor & Destructor Documentation


Member Function Documentation

Reimplemented from Interface_CopyTool.

Handle_Transfer_TransientProcess Transfer_TransferDispatch::TransientProcess ( ) const

The documentation for this class was generated from the following file: