#include <log.hh>
Inheritance diagram for olsr::utl::basic_levelbuf< C, T >:
Public Member Functions | |
basic_levelbuf (unsigned level, Super *other, const unsigned &minlevel=current_log_level) | |
Super * | get_streambuf () |
void | set_streambuf (Super *other) |
virtual void | increase_level (unsigned i=1) |
virtual void | decrease_level (unsigned i=1) |
virtual void | reset_level () |
Protected Member Functions | |
virtual void | imbue (const std::locale &l) |
virtual int_type | overflow (int_type c=traits_type::eof()) |
virtual std::basic_streambuf< char_type, traits_type > * | setbuf (char_type *s, std::streamsize n) |
virtual int | sync () |
Private Types | |
typedef std::basic_streambuf< C, T > | Super |
typedef Super::char_type | char_type |
typedef Super::traits_type | traits_type |
typedef Super::int_type | int_type |
typedef Super::pos_type | pos_type |
typedef Super::off_type | off_type |
Private Attributes | |
Super * | other_ |
unsigned | level_ |
unsigned | baselevel_ |
const unsigned & | minlevel_ |
typedef std::basic_streambuf<C, T> olsr::utl::basic_levelbuf< C, T >::Super [private] |
typedef Super::char_type olsr::utl::basic_levelbuf< C, T >::char_type [private] |
typedef Super::traits_type olsr::utl::basic_levelbuf< C, T >::traits_type [private] |
typedef Super::int_type olsr::utl::basic_levelbuf< C, T >::int_type [private] |
typedef Super::pos_type olsr::utl::basic_levelbuf< C, T >::pos_type [private] |
typedef Super::off_type olsr::utl::basic_levelbuf< C, T >::off_type [private] |
olsr::utl::basic_levelbuf< C, T >::basic_levelbuf | ( | unsigned | level, | |
Super * | other, | |||
const unsigned & | minlevel = current_log_level | |||
) | [inline] |
Super* olsr::utl::basic_levelbuf< C, T >::get_streambuf | ( | ) | [inline] |
void olsr::utl::basic_levelbuf< C, T >::set_streambuf | ( | Super * | other | ) | [inline] |
virtual void olsr::utl::basic_levelbuf< C, T >::increase_level | ( | unsigned | i = 1 |
) | [inline, virtual] |
Implements olsr::utl::LevelableBuf.
virtual void olsr::utl::basic_levelbuf< C, T >::decrease_level | ( | unsigned | i = 1 |
) | [inline, virtual] |
Implements olsr::utl::LevelableBuf.
virtual void olsr::utl::basic_levelbuf< C, T >::reset_level | ( | ) | [inline, virtual] |
Implements olsr::utl::LevelableBuf.
virtual void olsr::utl::basic_levelbuf< C, T >::imbue | ( | const std::locale & | l | ) | [inline, protected, virtual] |
basic_levelbuf< C, T >::int_type olsr::utl::basic_levelbuf< C, T >::overflow | ( | int_type | c = traits_type::eof() |
) | [inline, protected, virtual] |
virtual std::basic_streambuf<char_type, traits_type>* olsr::utl::basic_levelbuf< C, T >::setbuf | ( | char_type * | s, | |
std::streamsize | n | |||
) | [inline, protected, virtual] |
virtual int olsr::utl::basic_levelbuf< C, T >::sync | ( | ) | [inline, protected, virtual] |
Super* olsr::utl::basic_levelbuf< C, T >::other_ [private] |
unsigned olsr::utl::basic_levelbuf< C, T >::level_ [private] |
unsigned olsr::utl::basic_levelbuf< C, T >::baselevel_ [private] |
const unsigned& olsr::utl::basic_levelbuf< C, T >::minlevel_ [private] |