libcosmos
Linux C++ System Programming Library
|
Wraps a file descriptor in a std::istream interface. More...
#include <StreamAdaptor.hxx>
Public Member Functions | |
InputStreamAdaptor (FileDescriptor fd) | |
InputStreamAdaptor (Pipe &p) | |
Wrap the read end of a Pipe object. | |
![]() | |
virtual void | close () |
Close the underlying file descriptor. | |
FileDescriptor | fileDesc () |
Additional Inherited Members | |
![]() | |
StreamAdaptor (FileDescriptor fd, std::ios_base::openmode mode) | |
![]() | |
StdioFileBuf | m_buffer |
Wraps a file descriptor in a std::istream interface.
Definition at line 68 of file StreamAdaptor.hxx.
|
inlineexplicit |
Definition at line 72 of file StreamAdaptor.hxx.
|
inlineexplicit |
Wrap the read end of a Pipe object.
Definition at line 77 of file StreamAdaptor.hxx.