Open CASCADE Technology 6.6.0
|
This binder binds several (a list of) Transients with a starting
entity, when this entity itself corresponds to a simple list
of Transients. Each part is not seen as a sub-result of an
independant componant, but as an item of a built-in list
#include <Transfer_TransientListBinder.hxx>
Public Member Functions | |
Transfer_TransientListBinder () | |
Transfer_TransientListBinder (const Handle< TColStd_HSequenceOfTransient > &list) | |
virtual 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. | |
Handle_Standard_Type | ResultType () const |
Returns the Type which characterizes the Result (if known) | |
Standard_CString | ResultTypeName () const |
Returns the Name of the Type which characterizes the Result Can be returned even if ResultType itself is unknown | |
void | AddResult (const Handle< Standard_Transient > &res) |
Adds an item to the result list | |
Handle_TColStd_HSequenceOfTransient | Result () const |
void | SetResult (const Standard_Integer num, const Handle< Standard_Transient > &res) |
Changes an already defined sub-result | |
Standard_Integer | NbTransients () const |
const Handle_Standard_Transient & | Transient (const Standard_Integer num) const |
Transfer_TransientListBinder::Transfer_TransientListBinder | ( | ) |
Transfer_TransientListBinder::Transfer_TransientListBinder | ( | const Handle< TColStd_HSequenceOfTransient > & | list | ) |
void Transfer_TransientListBinder::AddResult | ( | const Handle< Standard_Transient > & | res | ) |
virtual Standard_Boolean Transfer_TransientListBinder::IsMultiple | ( | ) | const [virtual] |
Reimplemented from Transfer_Binder.
Standard_Integer Transfer_TransientListBinder::NbTransients | ( | ) | const |
Handle_TColStd_HSequenceOfTransient Transfer_TransientListBinder::Result | ( | ) | const |
Handle_Standard_Type Transfer_TransientListBinder::ResultType | ( | ) | const [virtual] |
Implements Transfer_Binder.
Standard_CString Transfer_TransientListBinder::ResultTypeName | ( | ) | const [virtual] |
Implements Transfer_Binder.
void Transfer_TransientListBinder::SetResult | ( | const Standard_Integer | num, |
const Handle< Standard_Transient > & | res | ||
) |
const Handle_Standard_Transient& Transfer_TransientListBinder::Transient | ( | const Standard_Integer | num | ) | const |