// File generated by CPPExt (Transient)
//
//
//                     Copyright (C) 1991 - 2000 by  
//                      Matra Datavision SA.  All rights reserved.
//  
//                     Copyright (C) 2001 - 2004 by
//                     Open CASCADE SA.  All rights reserved.
// 
// This file is part of the Open CASCADE Technology software.
//
// This software may be distributed and/or modified under the terms and
// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
// and appearing in the file LICENSE included in the packaging of this file.
//  
// This software is distributed on an "AS IS" basis, without warranty of any
// kind, and Open CASCADE SA hereby disclaims all such warranties,
// including without limitation, any warranties of merchantability, fitness
// for a particular purpose or non-infringement. Please see the License for
// the specific terms and conditions governing rights and limitations under the
// License.

#ifndef _Transfer_ProcessForFinder_HeaderFile
#define _Transfer_ProcessForFinder_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_Transfer_ProcessForFinder_HeaderFile
#include <Handle_Transfer_ProcessForFinder.hxx>
#endif

#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Handle_Message_Messenger_HeaderFile
#include <Handle_Message_Messenger.hxx>
#endif
#ifndef _TColStd_IndexedMapOfInteger_HeaderFile
#include <TColStd_IndexedMapOfInteger.hxx>
#endif
#ifndef _Handle_Transfer_ActorOfProcessForFinder_HeaderFile
#include <Handle_Transfer_ActorOfProcessForFinder.hxx>
#endif
#ifndef _Transfer_TransferMapOfProcessForFinder_HeaderFile
#include <Transfer_TransferMapOfProcessForFinder.hxx>
#endif
#ifndef _Handle_Message_ProgressIndicator_HeaderFile
#include <Handle_Message_ProgressIndicator.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _Handle_Transfer_Finder_HeaderFile
#include <Handle_Transfer_Finder.hxx>
#endif
#ifndef _Handle_Transfer_HSequenceOfFinder_HeaderFile
#include <Handle_Transfer_HSequenceOfFinder.hxx>
#endif
#ifndef _Handle_Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder_HeaderFile
#include <Handle_Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder.hxx>
#endif
#ifndef _Handle_Transfer_Binder_HeaderFile
#include <Handle_Transfer_Binder.hxx>
#endif
#ifndef _Standard_CString_HeaderFile
#include <Standard_CString.hxx>
#endif
#ifndef _Handle_Interface_Check_HeaderFile
#include <Handle_Interface_Check.hxx>
#endif
#ifndef _Handle_Standard_Transient_HeaderFile
#include <Handle_Standard_Transient.hxx>
#endif
#ifndef _Handle_Standard_Type_HeaderFile
#include <Handle_Standard_Type.hxx>
#endif
class Message_Messenger;
class Transfer_ActorOfProcessForFinder;
class Message_ProgressIndicator;
class Interface_InterfaceError;
class Transfer_TransferFailure;
class Transfer_Finder;
class Transfer_FindHasher;
class Transfer_HSequenceOfFinder;
class Transfer_TransferMapOfProcessForFinder;
class Transfer_IndexedDataMapNodeOfTransferMapOfProcessForFinder;
class Transfer_IteratorOfProcessForFinder;
class Transfer_Binder;
class Message_Msg;
class Interface_Check;
class Standard_Transient;
class Standard_Type;
class Interface_CheckIterator;



class Transfer_ProcessForFinder : public MMgt_TShared {

public:

  
  Standard_EXPORT   Transfer_ProcessForFinder(const Standard_Integer nb = 10000);
  
  Standard_EXPORT   Transfer_ProcessForFinder(const Handle(Message_Messenger)& printer,const Standard_Integer nb = 10000);
  
  Standard_EXPORT     void Clear() ;
  
  Standard_EXPORT     void Clean() ;
  
  Standard_EXPORT     void Resize(const Standard_Integer nb) ;
  
  Standard_EXPORT     void SetActor(const Handle(Transfer_ActorOfProcessForFinder)& actor) ;
  
  Standard_EXPORT     Handle_Transfer_ActorOfProcessForFinder Actor() const;
  
  Standard_EXPORT    const Handle_Transfer_Binder& Find(const Handle(Transfer_Finder)& start) const;
  
  Standard_EXPORT     Standard_Boolean IsBound(const Handle(Transfer_Finder)& start) const;
  
  Standard_EXPORT     Standard_Boolean IsAlreadyUsed(const Handle(Transfer_Finder)& start) const;
  
  Standard_EXPORT     void Bind(const Handle(Transfer_Finder)& start,const Handle(Transfer_Binder)& binder) ;
  
  Standard_EXPORT     void Rebind(const Handle(Transfer_Finder)& start,const Handle(Transfer_Binder)& binder) ;
  
  Standard_EXPORT     Standard_Boolean Unbind(const Handle(Transfer_Finder)& start) ;
  
  Standard_EXPORT     Handle_Transfer_Binder FindElseBind(const Handle(Transfer_Finder)& start) ;
  
  Standard_EXPORT     void SetMessenger(const Handle(Message_Messenger)& messenger) ;
  
  Standard_EXPORT     Handle_Message_Messenger Messenger() const;
  
  Standard_EXPORT     void SetTraceLevel(const Standard_Integer tracelev) ;
  
  Standard_EXPORT     Standard_Integer TraceLevel() const;
  
  Standard_EXPORT     void SendFail(const Handle(Transfer_Finder)& start,const Message_Msg& amsg) ;
  
  Standard_EXPORT     void SendWarning(const Handle(Transfer_Finder)& start,const Message_Msg& amsg) ;
  
  Standard_EXPORT     void SendMsg(const Handle(Transfer_Finder)& start,const Message_Msg& amsg) ;
  
  Standard_EXPORT     void AddFail(const Handle(Transfer_Finder)& start,const Standard_CString mess,const Standard_CString orig = "") ;
  
  Standard_EXPORT     void AddError(const Handle(Transfer_Finder)& start,const Standard_CString mess,const Standard_CString orig = "") ;
  
  Standard_EXPORT     void AddFail(const Handle(Transfer_Finder)& start,const Message_Msg& amsg) ;
  
  Standard_EXPORT     void AddWarning(const Handle(Transfer_Finder)& start,const Standard_CString mess,const Standard_CString orig = "") ;
  
  Standard_EXPORT     void AddWarning(const Handle(Transfer_Finder)& start,const Message_Msg& amsg) ;
  
  Standard_EXPORT     void Mend(const Handle(Transfer_Finder)& start,const Standard_CString pref = "") ;
  
  Standard_EXPORT     Handle_Interface_Check Check(const Handle(Transfer_Finder)& start) const;
  
  Standard_EXPORT     void BindTransient(const Handle(Transfer_Finder)& start,const Handle(Standard_Transient)& res) ;
  
  Standard_EXPORT    const Handle_Standard_Transient& FindTransient(const Handle(Transfer_Finder)& start) const;
  
  Standard_EXPORT     void BindMultiple(const Handle(Transfer_Finder)& start) ;
  
  Standard_EXPORT     void AddMultiple(const Handle(Transfer_Finder)& start,const Handle(Standard_Transient)& res) ;
  
  Standard_EXPORT     Standard_Boolean FindTypedTransient(const Handle(Transfer_Finder)& start,const Handle(Standard_Type)& atype,Handle(Standard_Transient)& val) const;
  
  Standard_EXPORT     Standard_Boolean GetTypedTransient(const Handle(Transfer_Binder)& binder,const Handle(Standard_Type)& atype,Handle(Standard_Transient)& val) const;
  
  Standard_EXPORT     Standard_Integer NbMapped() const;
  
  Standard_EXPORT    const Handle_Transfer_Finder& Mapped(const Standard_Integer num) const;
  
  Standard_EXPORT     Standard_Integer MapIndex(const Handle(Transfer_Finder)& start) const;
  
  Standard_EXPORT     Handle_Transfer_Binder MapItem(const Standard_Integer num) const;
  
  Standard_EXPORT     void SetRoot(const Handle(Transfer_Finder)& start) ;
  
  Standard_EXPORT     void SetRootManagement(const Standard_Boolean stat) ;
  
  Standard_EXPORT     Standard_Integer NbRoots() const;
  
  Standard_EXPORT    const Handle_Transfer_Finder& Root(const Standard_Integer num) const;
  
  Standard_EXPORT     Handle_Transfer_Binder RootItem(const Standard_Integer num) const;
  
  Standard_EXPORT     Standard_Integer RootIndex(const Handle(Transfer_Finder)& start) const;
  
  Standard_EXPORT     Standard_Integer NestingLevel() const;
  
  Standard_EXPORT     void ResetNestingLevel() ;
  
  Standard_EXPORT     Standard_Boolean Recognize(const Handle(Transfer_Finder)& start) const;
  
  Standard_EXPORT     Handle_Transfer_Binder Transferring(const Handle(Transfer_Finder)& start) ;
  
  Standard_EXPORT     Standard_Boolean Transfer(const Handle(Transfer_Finder)& start) ;
  
  Standard_EXPORT     void SetErrorHandle(const Standard_Boolean err) ;
  
  Standard_EXPORT     Standard_Boolean ErrorHandle() const;
  
  Standard_EXPORT     void StartTrace(const Handle(Transfer_Binder)& binder,const Handle(Transfer_Finder)& start,const Standard_Integer level,const Standard_Integer mode) const;
  
  Standard_EXPORT   virtual  void PrintTrace(const Handle(Transfer_Finder)& start,const Handle(Message_Messenger)& S) const;
  
  Standard_EXPORT     Standard_Boolean IsLooping(const Standard_Integer alevel) const;
  
  Standard_EXPORT     Transfer_IteratorOfProcessForFinder RootResult(const Standard_Boolean withstart = Standard_False) const;
  
  Standard_EXPORT     Transfer_IteratorOfProcessForFinder CompleteResult(const Standard_Boolean withstart = Standard_False) const;
  
  Standard_EXPORT     Transfer_IteratorOfProcessForFinder AbnormalResult() const;
  
  Standard_EXPORT     Interface_CheckIterator CheckList(const Standard_Boolean erronly) const;
  
  Standard_EXPORT     Transfer_IteratorOfProcessForFinder ResultOne(const Handle(Transfer_Finder)& start,const Standard_Integer level,const Standard_Boolean withstart = Standard_False) const;
  
  Standard_EXPORT     Interface_CheckIterator CheckListOne(const Handle(Transfer_Finder)& start,const Standard_Integer level,const Standard_Boolean erronly) const;
  
  Standard_EXPORT     Standard_Boolean IsCheckListEmpty(const Handle(Transfer_Finder)& start,const Standard_Integer level,const Standard_Boolean erronly) const;
  
  Standard_EXPORT     void RemoveResult(const Handle(Transfer_Finder)& start,const Standard_Integer level,const Standard_Boolean compute = Standard_True) ;
  
  Standard_EXPORT   virtual  Standard_Integer CheckNum(const Handle(Transfer_Finder)& start) const;
  
  Standard_EXPORT     void SetProgress(const Handle(Message_ProgressIndicator)& theProgress) ;
  
  Standard_EXPORT     Handle_Message_ProgressIndicator GetProgress() const;




  DEFINE_STANDARD_RTTI(Transfer_ProcessForFinder)

protected:




private: 

  
  Standard_EXPORT     Handle_Transfer_Binder TransferProduct(const Handle(Transfer_Finder)& start) ;

Standard_Boolean theerrh;
Standard_Integer thetrace;
Handle_Message_Messenger themessenger;
Standard_Integer thelevel;
Standard_Integer therootl;
Standard_Boolean therootm;
TColStd_IndexedMapOfInteger theroots;
Handle_Transfer_ActorOfProcessForFinder theactor;
Transfer_TransferMapOfProcessForFinder themap;
Handle_Message_ProgressIndicator myProgress;


};





// other Inline functions and methods (like "C++: function call" methods)


#endif
