Integration of OCCT 6.5.0 from SVN

This commit is contained in:
bugmaster
2011-03-16 07:30:28 +00:00
committed by bugmaster
parent 4903637061
commit 7fd59977df
16375 changed files with 3882564 additions and 0 deletions
+86
View File
@@ -0,0 +1,86 @@
// File: Message_Algorithm.lxx
// Created: 06.07.07 10:27:14
// Author: Pavel TELKOV
// Copyright: Open CASCADE S.A. 2007
#include <Message_Algorithm.hxx>
#include <TCollection_HExtendedString.hxx>
//=======================================================================
//function : SetStatus
//purpose :
//=======================================================================
inline void Message_Algorithm::SetStatus (const Message_Status& theStat,
const Standard_CString theStr,
const Standard_Boolean noRepetitions)
{
SetStatus ( theStat, new TCollection_HExtendedString ( theStr ), noRepetitions );
}
//=======================================================================
//function : SetStatus
//purpose :
//=======================================================================
inline void Message_Algorithm::SetStatus (const Message_Status& theStat,
const TCollection_AsciiString &theStr,
const Standard_Boolean noRepetitions)
{
SetStatus ( theStat, new TCollection_HExtendedString ( theStr ), noRepetitions );
}
//=======================================================================
//function : SetStatus
//purpose :
//=======================================================================
inline void Message_Algorithm::SetStatus (const Message_Status& theStat,
const Handle(TCollection_HAsciiString) &theStr,
const Standard_Boolean noRepetitions)
{
SetStatus ( theStat, new TCollection_HExtendedString ( theStr ), noRepetitions );
}
//=======================================================================
//function : SetStatus
//purpose :
//=======================================================================
inline void Message_Algorithm::SetStatus (const Message_Status& theStat,
const TCollection_ExtendedString &theStr,
const Standard_Boolean noRepetitions)
{
SetStatus ( theStat, new TCollection_HExtendedString ( theStr ), noRepetitions );
}
//=======================================================================
//function : GetStatus
//purpose :
//=======================================================================
inline const Message_ExecStatus& Message_Algorithm::GetStatus() const
{
return myStatus;
}
//=======================================================================
//function : ChangeStatus
//purpose :
//=======================================================================
inline Message_ExecStatus& Message_Algorithm::ChangeStatus()
{
return myStatus;
}
//=======================================================================
//function : GetMessenger
//purpose :
//=======================================================================
inline Handle(Message_Messenger) Message_Algorithm::GetMessenger() const
{
return myMessenger;
}