log_streambuf template class
More...
#include <Logger.h>
|
virtual int | overflow (int c=traits_type::eof()) |
| override of basic_streambuf::overflow More...
|
|
virtual std::streamsize | stream_sputn () |
| Write the stream buffer in stream. More...
|
|
virtual std::streamsize | stream_sputn (const char_type *s, std::streamsize n) |
| Writes up to n characters from the array pointed by s to the output sequence controlled by the stream buffer. More...
|
|
virtual int | sync () |
| override of basic_streambuf::sync More...
|
|
virtual std::streamsize | xsputn (const char_type *s, std::streamsize n) |
| override of basic_streambuf::xsputn More...
|
|
template<typename _CharT, typename _Traits = std::char_traits<_CharT>>
class coil::log_streambuf< _CharT, _Traits >
log_streambuf template class
Definition at line 54 of file coil/common/Logger.h.
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
Copy Constructor.
Copy Constructor
- Parameters
-
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
Destructor.
This operation adds a stream that is actual output stream. User has responsibility to destruct the stream object, since this object never destructs the stream objects. The added stream objects should not be destructed before the destruction of this object. The stream destruction should be done by user after removing it from this object or destructing this object.
- Parameters
-
stream | a pointer to std::basic_streambuf type stream object |
Definition at line 136 of file coil/common/Logger.h.
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
Get stream buffer list.
Return a stream buffer list.
- Returns
- streambuf_type list
Definition at line 196 of file coil/common/Logger.h.
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
Assignment operator.
Copy a log_streambuf object.
- Parameters
-
- Returns
- Assignment result.
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
override of basic_streambuf::overflow
- Parameters
-
- Returns
- return value
Definition at line 322 of file coil/common/Logger.h.
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
Destructor.
This operation remove a stream that is actual output stream. User has responsibility to destruct the stream object.
- Parameters
-
stream | a pointer to std::basic_streambuf type stream object |
- Returns
- Whether removing the stream succeeded.
Definition at line 163 of file coil/common/Logger.h.
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
Write the stream buffer in stream.
- Returns
- The number of characters written.
Definition at line 252 of file coil/common/Logger.h.
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
Writes up to n characters from the array pointed by s to the output sequence controlled by the stream buffer.
- Parameters
-
s | a pointer to input characters |
n | number of input characters |
- Returns
- The number of characters written.
Definition at line 293 of file coil/common/Logger.h.
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
override of basic_streambuf::xsputn
- Parameters
-
s | a pointer to input characters |
n | number of input characters |
- Returns
- input stream size
Definition at line 226 of file coil/common/Logger.h.
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
template<typename _CharT , typename _Traits = std::char_traits<_CharT>>
The documentation for this class was generated from the following file: