|
libcosmos
Linux C++ System Programming Library
|
Wraps a file descriptor in a std::ostream interface. More...
#include <StreamAdaptor.hxx>
Inheritance diagram for cosmos::OutputStreamAdaptor:Public Member Functions | |
| OutputStreamAdaptor (FileDescriptor fd) | |
| OutputStreamAdaptor (Pipe &p) | |
| Wrap the write end of a Pipe object. | |
| void | close () override |
| Close the underlying file descriptor. | |
Public Member Functions inherited from cosmos::StreamAdaptor< std::ostream > | |
| FileDescriptor | fileDesc () |
Additional Inherited Members | |
Protected Member Functions inherited from cosmos::StreamAdaptor< std::ostream > | |
| StreamAdaptor (FileDescriptor fd, std::ios_base::openmode mode) | |
Protected Attributes inherited from cosmos::StreamAdaptor< std::ostream > | |
| StdioFileBuf | m_buffer |
Wraps a file descriptor in a std::ostream interface.
Definition at line 83 of file StreamAdaptor.hxx.
|
inlineexplicit |
Definition at line 87 of file StreamAdaptor.hxx.
|
inlineexplicit |
Wrap the write end of a Pipe object.
Definition at line 92 of file StreamAdaptor.hxx.
|
inlineoverridevirtual |
Close the underlying file descriptor.
Reimplemented from cosmos::StreamAdaptor< std::ostream >.
Definition at line 96 of file StreamAdaptor.hxx.