blob: e50d1fc3b56c015bcb73c383755e4b06b5d87065 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// File: BOPTColStd_Dump.cxx
// Created: Thu Aug 1 10:27:07 2002
// Author: Peter KURNEV
// <pkv@irinox>
#include <BOPTColStd_Dump.ixx>
#include <stdlib.h>
//=======================================================================
// function: BOPTColStd::PrintMessage
// purpose:
//=======================================================================
void BOPTColStd_Dump::PrintMessage(const TCollection_AsciiString& aMessage)
{
Standard_CString pCStr=aMessage.ToCString();
//
BOPTColStd_Dump::PrintMessage(pCStr);
}
//=======================================================================
// function: BOPTColStd::PrintMessage
// purpose:
//=======================================================================
void BOPTColStd_Dump::PrintMessage(const Standard_CString aMessage)
{
char* xr=getenv("BOP_PRINT_MESSAGES");
if (xr!=NULL) {
cout << aMessage << flush;
}
}
|