Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions |
The TQTextIStream class is a convenience class for input streams. More...
All the functions in this class are reentrant when TQt is built with thread support.
#include <tqtextstream.h>
Inherits TQTextStream.
This class provides a shorthand for creating simple input TQTextStreams without having to pass a mode argument to the constructor.
This class makes it easy, for example, to write things like this:
TQString data = "123 456"; int a, b; TQTextIStream(&data) >> a >> b;
See also TQTextOStream, Input/Output and Networking, and Text Related Classes.
Constructs a stream to read from the string s.
Constructs a stream to read from the array ba.
Constructs a stream to read from the file f.
This file is part of the TQt toolkit. Copyright © 1995-2007 Trolltech. All Rights Reserved.
Copyright © 2007 Trolltech | Trademarks | TQt 3.3.8
|