OCC Main Page | DataExchange | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

DataExchange
TKXSBase
Transfer


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

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT 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
.
Standard_EXPORT Transfer_TransferDispatch (const Handle(Interface_InterfaceModel)&amodel, const Handle(Interface_Protocol)&protocol)
 Same as above, but Library is defined through a Protocol
.
Standard_EXPORT Transfer_TransferDispatch (const Handle(Interface_InterfaceModel)&amodel)
 Same as above, but works with the Active Protocol
.
Standard_EXPORT Handle_Transfer_TransientProcess TransientProcess () const
 Returns the content of Control Object, as a TransientProcess
.
virtual Standard_EXPORT 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

Standard_EXPORT Transfer_TransferDispatch::Transfer_TransferDispatch const Handle(Interface_InterfaceModel)&  amodel,
const Interface_GeneralLib lib
 

Standard_EXPORT Transfer_TransferDispatch::Transfer_TransferDispatch const Handle(Interface_InterfaceModel)&  amodel,
const Handle(Interface_Protocol)&  protocol
 

Standard_EXPORT Transfer_TransferDispatch::Transfer_TransferDispatch const Handle(Interface_InterfaceModel)&  amodel  ) 
 


Member Function Documentation

virtual Standard_EXPORT Standard_Boolean Transfer_TransferDispatch::Copy const Handle(Standard_Transient)&  entfrom,
Handle(Standard_Transient)&  entto,
const Standard_Boolean  mapped,
const Standard_Boolean  errstat
[virtual]
 

Reimplemented from Interface_CopyTool.

void Transfer_TransferDispatch::operator delete void *  anAddress  )  [inline]
 

Reimplemented from Interface_CopyTool.

void* Transfer_TransferDispatch::operator new size_t  size  )  [inline]
 

Reimplemented from Interface_CopyTool.

void* Transfer_TransferDispatch::operator new size_t  ,
void *  anAddress
[inline]
 

Reimplemented from Interface_CopyTool.

Standard_EXPORT Handle_Transfer_TransientProcess Transfer_TransferDispatch::TransientProcess  )  const
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 14:46:03 2008 for OpenCASCADE by  doxygen 1.4.1