mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-08-04 20:35:58 +08:00
Integration of OCCT 6.5.0 from SVN
This commit is contained in:
Executable
+86
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user