Open CASCADE Technology
6.5.4
|
Adds specific features to the generic definition :
PrintTrace is adapted
#include <Transfer_FinderProcess.hxx>
Public Member Functions | |
Transfer_FinderProcess (const Standard_Integer nb=10000) | |
Sets FinderProcess at initial state, with an initial size | |
void | SetModel (const Handle< Interface_InterfaceModel > &model) |
Sets an InterfaceModel, which can be used during transfer for instance if a context must be managed, it is in the Model | |
Handle_Interface_InterfaceModel | Model () const |
Returns the Model which can be used for context | |
Standard_Integer | NextMappedWithAttribute (const Standard_CString name, const Standard_Integer num0) const |
In the list of mapped items (between 1 and NbMapped), searches for the first mapped item which follows <num0> (not included) and which has an attribute named <name> The considered Attributes are those brought by Finders,i.e. by Input data. While NextItemWithAttribute works on Result data (Binders) Hence, allows such an iteration for (num = FP->NextMappedWithAttribute(name,0); num > 0; num = FP->NextMappedWithAttribute(name,num) { .. process mapped item <num> } | |
Handle_Transfer_TransientMapper | TransientMapper (const Handle< Standard_Transient > &obj) const |
Returns a TransientMapper for a given Transient Object Either <obj> is already mapped, then its Mapper is returned Or it is not, then a new one is created then returned, BUT it is not mapped here (use Bind or FindElseBind to do this) | |
virtual void | PrintTrace (const Handle< Transfer_Finder > &start, const Handle< Message_Messenger > &S) const |
Specific printing to trace a Finder (by its method ValueType) | |
void | PrintStats (const Standard_Integer mode, const Handle< Message_Messenger > &S) const |
Prints statistics on a given output, according mode |
Handle_Interface_InterfaceModel Transfer_FinderProcess::Model | ( | ) | const |
Standard_Integer Transfer_FinderProcess::NextMappedWithAttribute | ( | const Standard_CString | name, |
const Standard_Integer | num0 | ||
) | const |
void Transfer_FinderProcess::PrintStats | ( | const Standard_Integer | mode, |
const Handle< Message_Messenger > & | S | ||
) | const |
virtual void Transfer_FinderProcess::PrintTrace | ( | const Handle< Transfer_Finder > & | start, |
const Handle< Message_Messenger > & | S | ||
) | const [virtual] |
Reimplemented from Transfer_ProcessForFinder.
void Transfer_FinderProcess::SetModel | ( | const Handle< Interface_InterfaceModel > & | model | ) |
Handle_Transfer_TransientMapper Transfer_FinderProcess::TransientMapper | ( | const Handle< Standard_Transient > & | obj | ) | const |