|
libcosmos
Linux C++ System Programming Library
|
Wraps a file descriptor in a std::iostream interface. More...
#include <StreamAdaptor.hxx>
Inheritance diagram for cosmos::InputOutputStreamAdaptor:Public Member Functions | |
| InputOutputStreamAdaptor (FileDescriptor fd) | |
| void | close () override |
| Close the underlying file descriptor. | |
Public Member Functions inherited from cosmos::StreamAdaptor< std::iostream > | |
| FileDescriptor | fileDesc () |
Additional Inherited Members | |
Protected Member Functions inherited from cosmos::StreamAdaptor< std::iostream > | |
| StreamAdaptor (FileDescriptor fd, std::ios_base::openmode mode) | |
Protected Attributes inherited from cosmos::StreamAdaptor< std::iostream > | |
| StdioFileBuf | m_buffer |
Wraps a file descriptor in a std::iostream interface.
Definition at line 103 of file StreamAdaptor.hxx.
|
inlineexplicit |
Definition at line 107 of file StreamAdaptor.hxx.
|
inlineoverridevirtual |
Close the underlying file descriptor.
Reimplemented from cosmos::StreamAdaptor< std::iostream >.
Definition at line 111 of file StreamAdaptor.hxx.