PLaSK library
|
Public Member Functions | |
OStreamOutput (ostream_t &stream_ref) | |
template<typename... StreamCtorArgT> | |
OStreamOutput (StreamCtorArgT &&... stream_open_arg) | |
void | write (const char *buffer, std::size_t n) override |
Write bytes from buffer. | |
void | put (char c) override |
Write one character c . | |
Public Member Functions inherited from plask::XMLWriter::Output | |
virtual | ~Output () |
template<int n> | |
void | puts (const char(&str)[n]) |
Write n - 1 bytes from str . | |
void | newline () |
Write new line character (end-line) to this output. | |
Public Attributes | |
ostream_t | ostream |
Definition at line 23 of file writer.cpp.
|
inline |
Definition at line 27 of file writer.cpp.
|
inline |
Definition at line 31 of file writer.cpp.
|
inlineoverridevirtual |
Write one character c
.
Default implementation calls: write(&c, 1);
c | character to write |
Reimplemented from plask::XMLWriter::Output.
Definition at line 40 of file writer.cpp.
|
inlineoverridevirtual |
Write
bytes from buffer.
buffer | buffer with data with size n or more |
n | number of bytes to write |
Implements plask::XMLWriter::Output.
Definition at line 36 of file writer.cpp.
ostream_t plask::OStreamOutput< ostream_t >::ostream |
Definition at line 25 of file writer.cpp.