Open Babel
3.0
|
#include <openbabel/oberror.h>
Public Member Functions | |
virtual | ~obLogBuf () |
Protected Member Functions | |
int | sync () |
A minimal streambuf derivative to wrap calls to cerr into calls to OBMessageHandler as needed.
This class is used for internal use, via OBMessageHandler::StartErrorWrap() To use this class, use the global OBMessageHandler object obErrorLog:
|
inlinevirtual |
Close the output buffer, flush, and call OBMessageHandler::ThrowError()
|
inlineprotected |
Call OBMessageHandler::ThrowError() and flush the buffer.