10 #include "../core_export.h"
11 #include "../object.h"
12 #include "../ustring.h"
19 class null_text_writer;
20 class synchronized_text_writer;
61 void write(
bool value);
66 void write(
double value);
71 void write(
float value);
76 void write(int8_t value);
81 void write(int16_t value);
86 void write(int32_t value);
91 void write(int64_t value);
96 void write(uint8_t value);
101 void write(uint16_t value);
106 void write(uint32_t value);
111 void write(uint64_t value);
117 template<typename value_t>
124 template<
typename ... args_t>
195 template<
typename value_t>
202 template<
typename ... args_t>
Represents a null text writer.
Definition: text_writer.h:215
void write(const xtd::ustring &) override
Writes the specified string value to the text stream.
Represents a synchronized text writer.
Definition: text_writer.h:224
void write(const xtd::ustring &value) override
Writes the specified string value to the text stream.
Represents a writer that can write a sequential series of characters.
Definition: text_writer.h:29
void write(value_t value)
Writes the specified value_t value to the text stream.
Definition: text_writer.h:118
const xtd::ustring & new_line() const noexcept
Gets the line terminator string used by the current text_writer.
void write_line(uint16_t value)
Writes the specified uint16_t value and new line to the text stream.
void write_line(double value)
Writes the specified double value and new line to the text stream.
void write_line(int32_t value)
Writes the specified int32_t value and new line to the text stream.
void write_line(uint64_t value)
Writes the specified uint64_t value and new line to the text stream.
void write_line(int8_t value)
Writes the specified int8_t value and new line to the text stream.
void write_line(const xtd::ustring &fmt, args_t &&... args) noexcept
Writes the specified arguments with specified format to the text stream.
Definition: text_writer.h:203
void write_line(const xtd::ustring &value)
Writes the specified string value and new line to the text stream.
text_writer()=default
Initializes a new instance of the xtd::io::text_writer class.
void write_line(value_t value)
Writes the specified value_t value and new line to the text stream.
Definition: text_writer.h:196
void write_line(int16_t value)
Writes the specified int16_t value and new line to the text stream.
void write(const xtd::ustring &fmt, args_t &&... args) noexcept
Writes the specified arguments with specified format to the text stream.
Definition: text_writer.h:125
void write_line(float value)
Writes the specified float value and new line to the text stream.
void write_line(bool value)
Writes the specified bool value and new line to the text stream.
void write_line(uint8_t value)
Writes the specified uint8_t value and new line to the text stream.
void write_line(uint32_t value)
Writes the specified uint32_t value and new line to the text stream.
void write_line(int64_t value)
Writes the specified int64_t value and new line to the text stream.
void write_line()
Writes new line to the text stream.
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition: object.h:26
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:48
#define core_export_
Define shared library export.
Definition: core_export.h:13
std::nullptr_t null
Represents a null pointer value.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17