Open CASCADE Technology  6.9.0
Public Member Functions

Transfer_FinderProcess Class Reference

Adds specific features to the generic definition : PrintTrace is adapted. More...

#include <Transfer_FinderProcess.hxx>

Inheritance diagram for Transfer_FinderProcess:
Inheritance graph
[legend]

Public Member Functions

 Transfer_FinderProcess (const Standard_Integer nb=10000)
 Sets FinderProcess at initial state, with an initial size. More...
 
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. More...
 
Handle< Interface_InterfaceModelModel () const
 Returns the Model which can be used for context. More...
 
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) More...
 
Handle< Transfer_TransientMapperTransientMapper (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) More...
 
virtual void PrintTrace (const Handle< Transfer_Finder > &start, const Handle< Message_Messenger > &S) const
 Specific printing to trace a Finder (by its method ValueType) More...
 
void PrintStats (const Standard_Integer mode, const Handle< Message_Messenger > &S) const
 Prints statistics on a given output, according mode. More...
 
- Public Member Functions inherited from Transfer_ProcessForFinder
 Transfer_ProcessForFinder (const Standard_Integer nb=10000)
 
 Transfer_ProcessForFinder (const Handle< Message_Messenger > &printer, const Standard_Integer nb=10000)
 
void Clear ()
 
void Clean ()
 
void Resize (const Standard_Integer nb)
 
void SetActor (const Handle< Transfer_ActorOfProcessForFinder > &actor)
 
Handle
< Transfer_ActorOfProcessForFinder
Actor () const
 
Handle< Transfer_BinderFind (const Handle< Transfer_Finder > &start) const
 
Standard_Boolean IsBound (const Handle< Transfer_Finder > &start) const
 
Standard_Boolean IsAlreadyUsed (const Handle< Transfer_Finder > &start) const
 
void Bind (const Handle< Transfer_Finder > &start, const Handle< Transfer_Binder > &binder)
 
void Rebind (const Handle< Transfer_Finder > &start, const Handle< Transfer_Binder > &binder)
 
Standard_Boolean Unbind (const Handle< Transfer_Finder > &start)
 
Handle< Transfer_BinderFindElseBind (const Handle< Transfer_Finder > &start)
 
void SetMessenger (const Handle< Message_Messenger > &messenger)
 
Handle< Message_MessengerMessenger () const
 
void SetTraceLevel (const Standard_Integer tracelev)
 
Standard_Integer TraceLevel () const
 
void SendFail (const Handle< Transfer_Finder > &start, const Message_Msg &amsg)
 
void SendWarning (const Handle< Transfer_Finder > &start, const Message_Msg &amsg)
 
void SendMsg (const Handle< Transfer_Finder > &start, const Message_Msg &amsg)
 
void AddFail (const Handle< Transfer_Finder > &start, const Standard_CString mess, const Standard_CString orig="")
 
void AddError (const Handle< Transfer_Finder > &start, const Standard_CString mess, const Standard_CString orig="")
 
void AddFail (const Handle< Transfer_Finder > &start, const Message_Msg &amsg)
 
void AddWarning (const Handle< Transfer_Finder > &start, const Standard_CString mess, const Standard_CString orig="")
 
void AddWarning (const Handle< Transfer_Finder > &start, const Message_Msg &amsg)
 
void Mend (const Handle< Transfer_Finder > &start, const Standard_CString pref="")
 
Handle< Interface_CheckCheck (const Handle< Transfer_Finder > &start) const
 
void BindTransient (const Handle< Transfer_Finder > &start, const Handle< Standard_Transient > &res)
 
const Handle
< Standard_Transient > & 
FindTransient (const Handle< Transfer_Finder > &start) const
 
void BindMultiple (const Handle< Transfer_Finder > &start)
 
void AddMultiple (const Handle< Transfer_Finder > &start, const Handle< Standard_Transient > &res)
 
Standard_Boolean FindTypedTransient (const Handle< Transfer_Finder > &start, const Handle< Standard_Type > &atype, Handle< Standard_Transient > &val) const
 
Standard_Boolean GetTypedTransient (const Handle< Transfer_Binder > &binder, const Handle< Standard_Type > &atype, Handle< Standard_Transient > &val) const
 
Standard_Integer NbMapped () const
 
const Handle< Transfer_Finder > & Mapped (const Standard_Integer num) const
 
Standard_Integer MapIndex (const Handle< Transfer_Finder > &start) const
 
Handle< Transfer_BinderMapItem (const Standard_Integer num) const
 
void SetRoot (const Handle< Transfer_Finder > &start)
 
void SetRootManagement (const Standard_Boolean stat)
 
Standard_Integer NbRoots () const
 
const Handle< Transfer_Finder > & Root (const Standard_Integer num) const
 
Handle< Transfer_BinderRootItem (const Standard_Integer num) const
 
Standard_Integer RootIndex (const Handle< Transfer_Finder > &start) const
 
Standard_Integer NestingLevel () const
 
void ResetNestingLevel ()
 
Standard_Boolean Recognize (const Handle< Transfer_Finder > &start) const
 
Handle< Transfer_BinderTransferring (const Handle< Transfer_Finder > &start)
 
Standard_Boolean Transfer (const Handle< Transfer_Finder > &start)
 
void SetErrorHandle (const Standard_Boolean err)
 
Standard_Boolean ErrorHandle () const
 
void StartTrace (const Handle< Transfer_Binder > &binder, const Handle< Transfer_Finder > &start, const Standard_Integer level, const Standard_Integer mode) const
 
Standard_Boolean IsLooping (const Standard_Integer alevel) const
 
Transfer_IteratorOfProcessForFinder RootResult (const Standard_Boolean withstart=Standard_False) const
 
Transfer_IteratorOfProcessForFinder CompleteResult (const Standard_Boolean withstart=Standard_False) const
 
Transfer_IteratorOfProcessForFinder AbnormalResult () const
 
Interface_CheckIterator CheckList (const Standard_Boolean erronly) const
 
Transfer_IteratorOfProcessForFinder ResultOne (const Handle< Transfer_Finder > &start, const Standard_Integer level, const Standard_Boolean withstart=Standard_False) const
 
Interface_CheckIterator CheckListOne (const Handle< Transfer_Finder > &start, const Standard_Integer level, const Standard_Boolean erronly) const
 
Standard_Boolean IsCheckListEmpty (const Handle< Transfer_Finder > &start, const Standard_Integer level, const Standard_Boolean erronly) const
 
void RemoveResult (const Handle< Transfer_Finder > &start, const Standard_Integer level, const Standard_Boolean compute=Standard_True)
 
virtual Standard_Integer CheckNum (const Handle< Transfer_Finder > &start) const
 
void SetProgress (const Handle< Message_ProgressIndicator > &theProgress)
 
Handle< Message_ProgressIndicatorGetProgress () const
 
- Public Member Functions inherited from MMgt_TShared
virtual void Delete () const
 Memory deallocator for transient classes. More...
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor. More...
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing. More...
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter. More...
 
virtual ~Standard_Transient ()
 Destructor must be virtual. More...
 
virtual const
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object. More...
 
Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type. More...
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName. More...
 
Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
 Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
Standard_Boolean IsKind (const Standard_CString theTypeName) const
 Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
virtual Handle_Standard_Transient This () const
 Returns a Handle which references this object. Must never be called to objects created in stack. More...
 
Standard_Integer GetRefCount () const
 Get the reference counter of this object. More...
 

Detailed Description

Adds specific features to the generic definition : PrintTrace is adapted.

Constructor & Destructor Documentation

Transfer_FinderProcess::Transfer_FinderProcess ( const Standard_Integer  nb = 10000)

Sets FinderProcess at initial state, with an initial size.

Member Function Documentation

Handle< Interface_InterfaceModel > Transfer_FinderProcess::Model ( ) const

Returns the Model which can be used for context.

Standard_Integer Transfer_FinderProcess::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> }

void Transfer_FinderProcess::PrintStats ( const Standard_Integer  mode,
const Handle< Message_Messenger > &  S 
) const

Prints statistics on a given output, according mode.

virtual void Transfer_FinderProcess::PrintTrace ( const Handle< Transfer_Finder > &  start,
const Handle< Message_Messenger > &  S 
) const
virtual

Specific printing to trace a Finder (by its method ValueType)

Reimplemented from Transfer_ProcessForFinder.

void Transfer_FinderProcess::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< Transfer_TransientMapper > Transfer_FinderProcess::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)


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