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

This selection selects the entities which are recognised for
transfer by an Actor for Read : current one or another one.

An Actor is an operator which runs transfers from interface
entities to objects for Imagine. It has a method to recognize
the entities it can process (by default, it recognises all,
this method can be redefined).

A TransferReader brings an Actor, according to the currently
selected norm and transfer conditions.

This selection considers, either the current Actor (brought by
the TransferReader, updated as required), or a precise one.

#include <XSControl_SelectForTransfer.hxx>

Inheritance diagram for XSControl_SelectForTransfer:
Inheritance graph
[legend]

Public Member Functions

 XSControl_SelectForTransfer ()
 Creates a SelectForTransfer, non initialised
it sorts nothing, unless an Actor has been defined

 XSControl_SelectForTransfer (const Handle< XSControl_TransferReader > &TR)
 Creates a SelectForTransfer, which will work with the
currently defined Actor brought by the TransferReader

void SetReader (const Handle< XSControl_TransferReader > &TR)
 Sets a TransferReader to sort entities : it brings the Actor,
which may change, while the TransferReader does not

void SetActor (const Handle< Transfer_ActorOfTransientProcess > &act)
 Sets a precise actor to sort entities
This definition oversedes the creation with a TransferReader

Handle_Transfer_ActorOfTransientProcess Actor () const
 Returns the Actor used as precised one.
Returns a Null Handle for a creation from a TransferReader
without any further setting

Handle_XSControl_TransferReader Reader () const
 Returns the Reader (if created with a Reader)
Returns a Null Handle if not created with a Reader

Standard_Boolean Sort (const Standard_Integer rank, const Handle< Standard_Transient > &ent, const Handle< Interface_InterfaceModel > &model) const
 Returns True for an Entity which is recognized by the Actor,
either the precised one, or the one defined by TransferReader

TCollection_AsciiString ExtractLabel () const
 Returns a text defining the criterium : "Recognized for Transfer [(current actor)]"


Constructor & Destructor Documentation


Member Function Documentation

Handle_Transfer_ActorOfTransientProcess XSControl_SelectForTransfer::Actor ( ) const
Handle_XSControl_TransferReader XSControl_SelectForTransfer::Reader ( ) const

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