cxxtools::TextOStream Class Reference

Text Output Stream for Character conversion. More...

#include <cxxtools/textstream.h>

Inheritance diagram for cxxtools::TextOStream:
cxxtools::BasicTextOStream< Char, char > basic_ostream

Public Types

typedef TextCodec
< cxxtools::Char, char > 
- Public Types inherited from cxxtools::BasicTextOStream< Char, char >
typedef char extern_type
typedef Char intern_type
typedef Char char_type
typedef std::char_traits< Chartraits_type
typedef traits_type::int_type int_type
typedef traits_type::pos_type pos_type
typedef traits_type::off_type off_type
typedef std::basic_ostream
< extern_type
typedef TextCodec< char_type,

Public Member Functions

 TextOStream (std::ostream &os, Codec *codec)
 TextOStream (Codec *codec)
 ~TextOStream ()
- Public Member Functions inherited from cxxtools::BasicTextOStream< Char, char >
 BasicTextOStream (StreamType &os, CodecType *codec)
 Construct by output stream and codec.
 BasicTextOStream (CodecType *codec)
 ~BasicTextOStream ()
 Deletes to codec.
void attach (StreamType &os)
void detach ()
void terminate ()
BasicTextBuffer< intern_type,
extern_type > & 
buffer ()

Detailed Description

Text Output Stream for Character conversion.

Member Typedef Documentation

Constructor & Destructor Documentation

cxxtools::TextOStream::TextOStream ( std::ostream &  os,
Codec codec 


The stream will write bytes to os and use the codec codec for character conversion. The codec will be destroyed by the buffer of this stream if the codec was constructed with a refcount of 0.

cxxtools::TextOStream::TextOStream ( Codec codec)
cxxtools::TextOStream::~TextOStream ( )

The documentation for this class was generated from the following file: