Input stream for reading texts.
More...
#include "C16/Text.hpp"
Input stream for reading texts.
- Examples
Usage
#include <string>
void text_stream_input_usage(
const Text&
text)
{
std::string line;
while (std::getline(text_stream_input, line))
{
...
}
}
- See also
- content
◆ StreamInput() [1/2]
C16::Text::StreamInput::StreamInput |
( |
| ) |
|
Constructs an input stream.
◆ StreamInput() [2/2]
C16::Text::StreamInput::StreamInput |
( |
const Text & |
text | ) |
|
|
explicit |
◆ associate()
void C16::Text::StreamInput::associate |
( |
const Text & |
text | ) |
|
Associates a text buffer with the input stream.
- Parameters
-
- Note
- Has no effect if there already is a text buffer associated with the input stream.
const Text * text() const
Gets the text buffer associated with the stream, if associated.
Text buffer to operate on texts of a database.
Definition: Text.hpp:64