Webmaster  |  Imprint 
C++ Server Pages
Main  |  License  |  Documentation  |  Download 

TextOStream Class Reference

Text Output Stream for Character conversion.

#include <cxxtools/textstream.h>

Inheritance diagram for TextOStream:

BasicTextOStream

List of all members.

Public Types

typedef TextCodec
< cxxtools::Char, char > 
Codec

Public Member Functions

 TextOStream (std::ostream &os, Codec *codec)
 Constructor.
 TextOStream (Codec *codec)


Constructor & Destructor Documentation

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.

Copyright © 2008 The Tntnet Development Team
Tntnet 1.6