10 #include "../core_export.h" 11 #include "../object.h" 12 #include "../ustring.h" 19 class null_text_writer;
20 class synchronized_text_writer;
77 void write(
bool value);
82 void write(
double value);
87 void write(
float value);
133 template<
typename value_t>
140 template<
typename ... args_t>
155 void write_line(
bool value);
160 void write_line(
double value);
165 void write_line(
float value);
170 void write_line(
sbyte value);
175 void write_line(
int16 value);
180 void write_line(
int32 value);
185 void write_line(
int64 value);
195 void write_line(
uint16 value);
200 void write_line(
uint32 value);
205 void write_line(
uint64 value);
211 template<
typename value_t>
218 template<
typename ... args_t>
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:141
int_least8_t sbyte
Represents a 8-bit signed integer.
Definition: types.h:112
Represents a null text writer.
Definition: text_writer.h:245
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
uint_least16_t uint16
Represents a 16-bit unsigned integer.
Definition: types.h:144
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:48
void write(value_t value)
Writes the specified value_t value to the text stream.
Definition: text_writer.h:134
std::nullptr_t null
Represents a null pointer value.
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:219
Represents a writer that can write a sequential series of characters.
Definition: text_writer.h:34
void write_line(value_t value)
Writes the specified value_t value and new line to the text stream.
Definition: text_writer.h:212
int_least16_t int16
Represents a 16-bit signed integer.
Definition: types.h:66
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes...
Definition: object.h:31
int_least32_t int32
Represents a 32-bit signed integer.
Definition: types.h:74
uint_least64_t uint64
Represents a 64-bit unsigned integer.
Definition: types.h:160
int_least64_t int64
Represents a 64-bit signed integer.
Definition: types.h:82
uint_least8_t byte
Represents a 8-bit unsigned integer.
Definition: types.h:26
uint_least32_t uint32
Represents a 32-bit unsigned integer.
Definition: types.h:152
Write access to the file. Data can be written to the file. Combine with Read for read/write access...
Represents a synchronized text writer.
Definition: text_writer.h:261