75 std::istream* stream_ =
nullptr;
76 bool delete_when_destroy_ = false;
Performs operations on std::basic_string instances that contain file or directory path information....
Definition path.hpp:37
auto close() -> void override
Closes the stream_reader object and the underlying stream, and releases any system resources associat...
auto base_stream() const -> std::optional< xtd::ref< std::istream > >
Returns the underlying stream.
stream_reader(const xtd::string &path)
Initializes a new instance of the stream_reader class for the specified file name.
auto peek() const -> xtd::int32 override
Reads the next character without changing the state of the reader or the character source....
auto read() -> xtd::int32 override
Reads the next character from the input stream and advances the character position by one character.
auto end_of_stream() const -> bool
Gets a value that indicates whether the current stream position is at the end of the stream.
stream_reader(std::istream &stream)
Initializes a new instance of the stream_reader class for the specified stream.
Provides a generic view of a sequence of bytes. This is an abstract class.
Definition stream.hpp:40
Represents a reader that can read a sequential series of characters.
Definition text_reader.hpp:38
#define core_export_
Define shared library export.
Definition core_export.hpp:13
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
std::int32_t int32
Represents a 32-bit signed integer.
Definition int32.hpp:23
xtd::reference_wrapper_object< type_t > ref
The xtd::ref object is a reference wrapper.
Definition ref.hpp:25
std::optional< type_t > optional
Represents the optional alias on std::optional.
Definition optional.hpp:26
The xtd::io namespace contains types that allow reading and writing to files and data streams,...
Definition binary_reader.hpp:17
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains xtd::optional type.
Contains xtd::io::text_reader class.