Class to log messages to an open stream.
|
| | WxStreamHandler () |
| |
| | WxStreamHandler (std::ostream *stream) |
| | Create new handler with the specified output stream.
|
| |
Public Member Functions inherited from WxLogRecordHandler |
| | WxLogRecordHandler () |
| | Create new handler and attach std::cout to it.
|
| |
| virtual | ~WxLogRecordHandler () |
| |
| void | setStream (std::ostream *stream) |
| | Set the output stream to one specified.
|
| |
| void | write (const std::string &msg) |
| | Write message 'msg' to the output stream.
|
| |
| void | setOwns (bool handlerOwns) |
| | Set if the stream to which data is being written is owned by the handler.
|
| |
| bool | owns () const |
| | Returns true if handler owns the stream and false otherwise.
|
| |
| virtual | ~WxObject () |
| | Dtor: destroy object.
|
| |
| void | setIo (WxIoBase &io) |
| | Set the I/O pointer for use in object.
|
| |
| void | setMsg (WxMsgBase &msg) |
| | Set the msg pointer for use in object.
|
| |
| WxIoBase & | getIo () |
| | Return reference to I/O object.
|
| |
| const WxIoBase & | getIo () const |
| | Return constant reference to I/O object.
|
| |
| WxMsgBase & | getMsg () |
| | Return reference to msg object.
|
| |
| const WxMsgBase & | getMsg () const |
| | Return const reference to msg object.
|
| |
| virtual void | setup (const WxCryptSet &wxc) |
| | Setup object using supplied crypset.
|
| |
| virtual void | init () |
| | Initialize the object.
|
| |
| virtual void | finishBuild () |
| | Finish building the object.
|
| |
| virtual void | load (WxIoBase &io, const WxIoNodeType &grpNode) |
| | Load object from file.
|
| |
| virtual void | dump (WxIoBase &io, WxIoNodeType &grpNode) const |
| | Dump object to file.
|
| |
| virtual std::string | name () const |
| | Get name of object.
|
| |
| void | setName (const std::string &nm) |
| | Set object's name.
|
| |