|
#include <CBaseLog.h>
Public Member Functions | |
| CLogStreamBuf () | |
| Constructor. | |
| ~CLogStreamBuf () | |
| Destructor. | |
| void | flush () |
| Flushes message buffer. | |
| void | priority (const CLogPriority &prt) |
| Sets current message priority. | |
Protected Member Functions | |
| void | parent (CBaseLog *par) |
| Assignes the parent log object. | |
| virtual int_type | overflow (int_type c) |
Friends | |
| class | CBaseLog |
| sptk::CLogStreamBuf::CLogStreamBuf | ( | ) |
Constructor.
Constructs a buffer for CBaseLog.
| sptk::CLogStreamBuf::~CLogStreamBuf | ( | ) | [inline] |
Destructor.
Sends the remaining part of the message to the log, then releases the allocated memory
References flush().
| void sptk::CLogStreamBuf::flush | ( | ) | [inline] |
Flushes message buffer.
Sends the remaining part of the message to the log
References overflow().
Referenced by ~CLogStreamBuf().
| virtual int_type sptk::CLogStreamBuf::overflow | ( | int_type | c | ) | [protected, virtual] |
Overwritten virtual method for std::streambuf
| c | int_type, a character sent to the stream on overflow |
Referenced by flush().
| void sptk::CLogStreamBuf::parent | ( | CBaseLog * | par | ) | [inline, protected] |
Assignes the parent log object.
| par | CBaseLog *, parent log object |
Referenced by sptk::CBaseLog::CBaseLog().
| void sptk::CLogStreamBuf::priority | ( | const CLogPriority & | prt | ) | [inline] |
Sets current message priority.
| prt | const CLogPriority&, current message priority |
Referenced by sptk::CBaseLog::priority().