#include <Transfer_Binder.hxx>
Inheritance diagram for Transfer_Binder:
Public Member Functions | |
Standard_EXPORT void | Merge (const Handle(Transfer_Binder)&other) |
Merges basic data (Check, ExecStatus) from another Binder but keeps its result. Used when a binder is replaced by another one, this allows to keep messages . | |
virtual Standard_EXPORT Standard_Boolean | IsMultiple () const |
Returns True if a Binder has several results, either by itself or because it has next results Can be defined by sub-classes. . | |
virtual Standard_EXPORT Handle_Standard_Type | ResultType () const =0 |
Returns the Type which characterizes the Result (if known) . | |
virtual Standard_EXPORT Standard_CString | ResultTypeName () const =0 |
Returns the Name of the Type which characterizes the Result Can be returned even if ResultType itself is unknown . | |
Standard_EXPORT void | AddResult (const Handle(Transfer_Binder)&next) |
Adds a next result (at the end of the list) Remark : this information is not processed by Merge . | |
Standard_EXPORT Handle_Transfer_Binder | NextResult () const |
Returns the next result, Null if none . | |
Standard_EXPORT Standard_Boolean | HasResult () const |
Returns True if a Result is available (StatusResult = Defined) A Unique Result will be gotten by Result (which must be defined in each sub-class according to result type) For a Multiple Result, see class MultipleBinder For other case, specific access has to be forecast . | |
Standard_EXPORT void | SetAlreadyUsed () |
Declares that result is now used by another one, it means that it cannot be modified (by Rebind) . | |
Standard_EXPORT Transfer_StatusResult | Status () const |
Returns status, which can be Initial (not yet done), Made (a result is recorded, not yet shared), Used (it is shared and cannot be modified) . | |
Standard_EXPORT Transfer_StatusExec | StatusExec () const |
Returns execution status . | |
Standard_EXPORT void | SetStatusExec (const Transfer_StatusExec stat) |
Modifies execution status; called by TransferProcess only (for StatusError, rather use SetError, below) . | |
Standard_EXPORT void | AddFail (const Standard_CString mess, const Standard_CString orig="") |
Used to declare an individual transfer as beeing erroneous (Status is set to Void, StatusExec is set to Error, <errmess> is added to Check's list of Fails) It is possible to record several messages of error It has same effect for TransferProcess as raising an exception during the operation of Transfer, except the Transfer tries to continue (as if ErrorHandle had been set) . | |
Standard_EXPORT void | AddWarning (const Standard_CString mess, const Standard_CString orig="") |
Used to attach a Warning Message to an individual Transfer It has no effect on the Status . | |
Standard_EXPORT const Handle_Interface_Check | Check () const |
Returns Check which stores Fail messages Note that no Entity is associated in this Check . | |
Standard_EXPORT Handle_Interface_Check | CCheck () |
Returns Check which stores Fail messages, in order to modify it (adding messages, or replacing it) . | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Protected Member Functions | |
Standard_EXPORT | Transfer_Binder () |
Sets fields at initial values . | |
Standard_EXPORT void | SetResultPresent () |
Used to declare that a result is recorded for an individual transfer (works by setting StatusResult to Defined) This Method is to be called once a Result is really recorded (see sub-classes of Binder, especially SimpleBinder) : it is senseless if called isolately . | |
Private Member Functions | |
Standard_EXPORT void | CutResult (const Handle(Transfer_Binder)&next) |
Called by AddResult, to keep unicity of each item in the list . | |
Private Attributes | |
Transfer_StatusResult | thestatus |
Transfer_StatusExec | theexecst |
Handle_Interface_Check | thecheck |
Handle_Transfer_Binder | thenextr |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in Transfer_MultipleBinder, Transfer_TransientListBinder, and TransferBRep_ShapeListBinder. |
|
|
|
|
|
Implemented in Transfer_MultipleBinder, Transfer_SimpleBinderOfTransient, Transfer_TransientListBinder, Transfer_VoidBinder, TransferBRep_BinderOfShape, and TransferBRep_ShapeListBinder. |
|
Implemented in Transfer_MultipleBinder, Transfer_SimpleBinderOfTransient, Transfer_TransientListBinder, Transfer_VoidBinder, TransferBRep_BinderOfShape, and TransferBRep_ShapeListBinder. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|