This class is a helper class that converts narrow string data read from an object of type std::istream
to the default character type .
- See also
- Further explanations are given with sibling class StringWriter .
Definition at line 321 of file std_strings_iostream.hpp.
#include <std_strings_iostream.hpp>
◆ converter
◆ readOp
◆ StringReader()
◆ GetStream()
::std::istream * GetStream |
( |
| ) |
|
|
inline |
◆ IsEOF()
Returns true
if the input stream signaled its end, false
otherwise.
- Returns
true
if the input stream is known to be at its end, false
otherwise.
Definition at line 360 of file std_strings_iostream.hpp.
◆ Read() [1/2]
Reads one line of text from the input stream into a narrow string.
- Parameters
-
target | The storage buffer for the string to read. This string will be cleared independent of the availability of input data. |
Definition at line 369 of file std_strings_iostream.hpp.
◆ Read() [2/2]
Reads one line of text from the internal input stream into a wide string.
- Parameters
-
target | The storage buffer for the string to read. This string will be cleared independent of the availability of input data. |
Definition at line 380 of file std_strings_iostream.hpp.
◆ SetStream()
void SetStream |
( |
::std::istream * | is | ) |
|
|
inline |
Sets the input stream.
- Parameters
-
is | Pointer to the input stream to read from to. |
Definition at line 346 of file std_strings_iostream.hpp.
The documentation for this class was generated from the following file: