OstreamableBuffer< Owner, charT, traits > Class Template Reference

a trivial implementation of a stream buffer that only just routes the overflow() behavior (that prints characters) to class that owns the OstreamableBuffer More...

#include <streamable.h>

Inheritance diagram for OstreamableBuffer< Owner, charT, traits >:
Inheritance graph
[legend]
Collaboration diagram for OstreamableBuffer< Owner, charT, traits >:
Collaboration graph
[legend]

List of all members.

Public Types

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

 OstreamableBuffer ()
void setOwner (Owner *o)

Protected Member Functions

int_type overflow (int_type c=traits_type::eof())

Private Attributes

Owner * owner

Detailed Description

template<class Owner, class charT = char, class traits = std::char_traits<charT>>
class cxxtls::OstreamableBuffer< Owner, charT, traits >

a trivial implementation of a stream buffer that only just routes the overflow() behavior (that prints characters) to class that owns the OstreamableBuffer

Definition at line 50 of file streamable.h.


Member Typedef Documentation

typedef charT char_type

Definition at line 57 of file streamable.h.

typedef traits_type::int_type int_type

Definition at line 59 of file streamable.h.

typedef traits_type::off_type off_type

Definition at line 60 of file streamable.h.

typedef traits_type::pos_type pos_type

Definition at line 61 of file streamable.h.

typedef traits traits_type

Definition at line 58 of file streamable.h.


Constructor & Destructor Documentation

Definition at line 63 of file streamable.h.


Member Function Documentation

int_type overflow ( int_type  c = traits_type::eof()  )  [protected]
void setOwner ( Owner *  o  ) 

Definition at line 65 of file streamable.h.

Here is the caller graph for this function:


Member Data Documentation

Owner* owner [private]

Definition at line 55 of file streamable.h.


The documentation for this class was generated from the following file:
Generated on Wed Feb 29 22:56:10 2012 for CXXUtilities by  doxygen 1.6.3