A base class that hooks up a derived class to the ostream i/o operation set. To give your class the ability to act like an ostream, derive from Ostreamble<Derived> and implement the ostreamable_helper(charT c) function that outputs a single character. More...
#include <streamable.h>
Public Types | |
typedef OstreamableBuffer < Derived, charT, traits > | buf_type |
typedef charT | char_type |
typedef traits_type::int_type | int_type |
typedef traits_type::off_type | off_type |
typedef traits_type::pos_type | pos_type |
typedef traits | traits_type |
Public Member Functions | |
Ostreamable () | |
Private Attributes | |
buf_type | buf |
A base class that hooks up a derived class to the ostream i/o operation set. To give your class the ability to act like an ostream, derive from Ostreamble<Derived> and implement the ostreamable_helper(charT c) function that outputs a single character.
Definition at line 87 of file streamable.h.
typedef OstreamableBuffer<Derived, charT, traits> buf_type |
Definition at line 102 of file streamable.h.
typedef charT char_type |
Definition at line 96 of file streamable.h.
typedef traits_type::int_type int_type |
Definition at line 98 of file streamable.h.
typedef traits_type::off_type off_type |
Definition at line 99 of file streamable.h.
typedef traits_type::pos_type pos_type |
Definition at line 100 of file streamable.h.
typedef traits traits_type |
Definition at line 97 of file streamable.h.
Ostreamable | ( | ) |
Definition at line 109 of file streamable.h.