C++ Complementary Library
A text input stream is an object that allows you to read text from an input resource.
The type of the referenced input resource.
Constructs a text input stream from the given input resource and with the given encoding form and endianness. The text input stream will hold a non-owning reference to the resource, which is expected to stay valid when using the text input stream.
The input resource to read from.
The encoding form that the text is expected to be in.
The endianness that the text is expected to be in.
Copy-constructs a text_input_stream from an existing one.
The text_input_stream to copy from.
Copy-assigns a text_input_stream into this one.
The text_input_stream to copy from.
Move-constructs a text_input_stream from an existing one.
The text_input_stream to move from.
Move-assigns a text_input_stream into this one.
The text_input_stream to move from.
Returns the encoding form associated with this text input stream.
Sets the encoding form associated with this text input stream.
The new encoding form to use with this text input stream.
Reads a code point in the current encoding form, and if it is a valid BOM (byte order mark) then the endianness of this text input stream is adjusted accordingly. Returns the read code point.
Reads a line and appends it to the given string object.
The object to append the read line to.
Reads a line and assigns it to the given string object.
The object to assign the read line to.
Reads all remaining text and appends it to the given string object.
The object to append the read text to.
Reads all remaining text and assigns it to the given string object.
The object to assign the read text to.
Copyright © 2022-2025 Daniel T. McGinnis