0022627: Change OCCT memory management defaults
[occt.git] / src / Message / Message_PrinterOStream.lxx
CommitLineData
7fd59977 1// File: Message_PrinterOStream.lxx
2// Created: 28.06.07 14:31:55
3// Author: Pavel TELKOV
4// Copyright: Open CASCADE S.A. 2007
5
6#include <Message_PrinterOStream.hxx>
7
8//=======================================================================
9//function : GetTraceLevel
10//purpose :
11//=======================================================================
12
13inline Message_Gravity Message_PrinterOStream::GetTraceLevel() const
14{
15 return myTraceLevel;
16}
17
18//=======================================================================
19//function : SetTraceLevel
20//purpose :
21//=======================================================================
22
23inline void Message_PrinterOStream::SetTraceLevel (const Message_Gravity theTraceLevel)
24{
25 myTraceLevel = theTraceLevel;
26}
27
28//=======================================================================
29//function : GetUseUtf8
30//purpose :
31//=======================================================================
32
33inline Standard_Boolean Message_PrinterOStream::GetUseUtf8() const
34{
35 return myUseUtf8;
36}
37
38//=======================================================================
39//function : SetUseUtf8
40//purpose :
41//=======================================================================
42
43inline void Message_PrinterOStream::SetUseUtf8 (const Standard_Boolean useUtf8)
44{
45 myUseUtf8 = useUtf8;
46}
47
48//=======================================================================
49//function : GetStream
50//purpose :
51//=======================================================================
52
53inline Standard_OStream& Message_PrinterOStream::GetStream () const
54{
55 return *(Standard_OStream*)myStream;
56}
57