|
cpp-mate
0.7
Helpful library for C++.
|
Represents closable extension of the BinarySink interface. More...
#include <BinarySink.hpp>


Public Member Functions | |
| virtual bool | isClosed () const =0 |
| Indicates that sink is closed. More... | |
| virtual void | close ()=0 |
| Closes sink. More... | |
Public Member Functions inherited from CppMate::BinarySink | |
| virtual | ~BinarySink ()=default |
| virtual void | write (const void *data, uint64_t size)=0 |
| Writes data into the sink. More... | |
Represents closable extension of the BinarySink interface.
|
pure virtual |
Closes sink.
| std::ostream::failure |
|
pure virtual |
Indicates that sink is closed.
true if sink is closed; false otherwise.