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

TextStream Class Reference

Text Stream for Character conversion.

#include <cxxtools/textstream.h>

Inheritance diagram for TextStream:

BasicTextStream

List of all members.

Public Types

typedef TextCodec
< cxxtools::Char, char > 
Codec

Public Member Functions

 TextStream (std::iostream &ios, Codec *codec)
 Constructor.
 TextStream (Codec *codec)


Constructor & Destructor Documentation

TextStream ( std::iostream &  ios,
Codec codec 
)

The stream will write or write bytes to ios 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