Open CASCADE Technology
6.5.4
|
Manages a Map for the need of single Transfers, such as Copies
In such transfer, Starting Entities are read from a unique
Starting Model, and each transferred Entity is bound to one
and only one Result, which cannot be changed later.
#include <Interface_CopyMap.hxx>
Public Member Functions | |
Interface_CopyMap (const Handle< Interface_InterfaceModel > &amodel) | |
Creates a CopyMap adapted to work from a Model | |
void | Clear () |
Clears Transfer List. Gets Ready to begin another Transfer | |
Handle_Interface_InterfaceModel | Model () const |
Returns the InterfaceModel used at Creation time | |
void | Bind (const Handle< Standard_Transient > &ent, const Handle< Standard_Transient > &res) |
Binds a Starting Entity identified by its Number <num> in the Starting Model, to a Result of Transfer <res> | |
Standard_Boolean | Search (const Handle< Standard_Transient > &ent, Handle< Standard_Transient > &res) const |
Search for the result of a Starting Object (i.e. an Entity, identified by its Number <num> in the Starting Model) Returns True if a Result is Bound (and fills <res>) Returns False if no result is Bound (and nullifies <res>) |
Interface_CopyMap::Interface_CopyMap | ( | const Handle< Interface_InterfaceModel > & | amodel | ) |
void Interface_CopyMap::Bind | ( | const Handle< Standard_Transient > & | ent, |
const Handle< Standard_Transient > & | res | ||
) | [virtual] |
Implements Interface_CopyControl.
void Interface_CopyMap::Clear | ( | ) | [virtual] |
Implements Interface_CopyControl.
Handle_Interface_InterfaceModel Interface_CopyMap::Model | ( | ) | const |
Standard_Boolean Interface_CopyMap::Search | ( | const Handle< Standard_Transient > & | ent, |
Handle< Standard_Transient > & | res | ||
) | const [virtual] |
Implements Interface_CopyControl.