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

TextIStream Class Reference

Text Input Stream for Character conversion.

#include <cxxtools/textstream.h>

Inheritance diagram for TextIStream:

BasicTextIStream

List of all members.

Public Types

typedef TextCodec
< cxxtools::Char, char > 
Codec

Public Member Functions

 TextIStream (std::istream &is, Codec *codec)
 Constructor.
 TextIStream (Codec *codec)


Constructor & Destructor Documentation

TextIStream ( std::istream &  is,
Codec codec 
)

The stream will read bytes from is 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