|
Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
22 #ifndef ELM_IO_BUFFERED_OUT_STREAM_H_
23 #define ELM_IO_BUFFERED_OUT_STREAM_H_
26 #include <elm/io/OutStream.h>
28 namespace elm {
namespace io {
43 int write(
const char *buffer,
int size)
override;
44 int write(
char byte)
override;
45 int flush(
void)
override;
void setStream(OutStream &str)
Definition: io_BufferedOutStream.cpp:125
~BufferedOutStream() override
Definition: io_BufferedOutStream.cpp:59
CString lastErrorMessage(void) override
Definition: io_BufferedOutStream.cpp:140
BufferedOutStream(OutStream &output, size_t size=default_size)
Definition: io_BufferedOutStream.cpp:36
int write(const char *buffer, int size) override
Definition: io_BufferedOutStream.cpp:69
Definition: BufferedOutStream.h:31
uint64 size
Definition: arch.h:35
Definition: OutStream.h:30
static const int default_size
Definition: BufferedOutStream.h:33
OutStream & stream() const
Definition: BufferedOutStream.h:41
int flush(void) override
Definition: io_BufferedOutStream.cpp:102
string str(const char *s)
Definition: String.h:150
bool supportsANSI() const override
Definition: io_BufferedOutStream.cpp:147
void reset()
Definition: io_BufferedOutStream.cpp:116