View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0012995 | Open CASCADE | OCCT:Data Exchange | public | 2006-07-18 13:53 | 2007-01-12 10:46 |
Reporter | Assigned To | ||||
Priority | normal | Severity | trivial | ||
Status | closed | Resolution | fixed | ||
OS | All | ||||
Fixed in Version | 6.1.1 | ||||
Summary | 0012995: Avoid using cout in STEP and IGES translators | ||||
Description | Currently STEP and IGES translators sometimes put messages to cout. This should be avoided (at least in Release mode): the message should be either attached to the entity in the TransferProcess, or put to message printer (when available, and when appropriate trace level is set), or should not be issued at all. The currently known places are: ShapeProcess_Context.cxx, line 73: to be commented out ShapeProcess_OperLibrary.cxx, line 329, 389, 421, 636: to be put in #ifdef DEB ShapeProcess.cxx, line 113: to be put to context->Printer() The ShapeProcess package in general: useful warning messages currently put to cout should be put to context->Printer() instead, and if possible, be defined via resource file STEPControl_ActorRead.cxx, line 507: warning to be put to TransferProceess STEPControl_Reader.cxx, line 117: to be investigated StepData_StepDumper.cxx, line 142: S should be used instead of cout STEPAP209_Construct.cxx, lines 804 and 809: to be checked (probably not needed) IGESCAFControl_Reader.cxx, line 121: to be put to TP, if possible In fact, much more places where cout is used can be found by grep, most typical is in catch{} block of exception... | ||||
Tags | No tags attached. | ||||
Test case number | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2006-07-24 15:38 | bugmaster | Assigned To | bugmaster => skl |
2006-07-24 15:38 | bugmaster | Status | new => assigned |
2006-07-27 11:09 | bugmaster | CC | => mkv |
2006-08-07 14:36 | bugmaster | Status | assigned => verified |
2007-01-12 12:46 | bugmaster | Status | verified => closed |
2007-01-12 12:46 | bugmaster | Resolution | @0@ => fixed |
2011-08-02 11:12 | bugmaster | Category | OCCT:DTE => OCCT:Data Exchange |