|
NEST
2.6.0,not_revisioned_source_dir@0
|
#include <fdstream.h>
Public Member Functions | |
| fdbuf () | |
| fdbuf (int fd) | |
| ~fdbuf () | |
| bool | is_open () const |
| fdbuf * | open (const char *, std::ios_base::openmode) |
| fdbuf * | close () |
| int | fd () |
| Return the underlying file descriptor. More... | |
Protected Member Functions | |
| int_type | underflow () |
| int_type | overflow (int_type c) |
| int | sync () |
Private Attributes | |
| int | m_fd |
| bool | m_isopen |
| char | m_inbuf [s_bufsiz] |
| char | m_outbuf [s_bufsiz] |
Static Private Attributes | |
| static std::streamsize const | s_bufsiz =1024 |
|
inline |
References close().
| fdbuf * fdbuf::close | ( | ) |
References is_open(), m_fd, m_isopen, overflow(), and nest::names::success.
|
inline |
Return the underlying file descriptor.
Now this is why we are doing all this!!
References m_fd.
Referenced by Processes::fd().
|
inline |
References m_isopen.
Referenced by close(), ofdstream::is_open(), ifdstream::is_open(), fdstream::is_open(), and open().
| fdbuf * fdbuf::open | ( | const char * | s, |
| std::ios_base::openmode | mode | ||
| ) |
References nest::names::binary, close(), is_open(), m_fd, m_isopen, and nest::names::std.
|
inlineprotected |
References nest::names::c, and sync().
Referenced by close().
|
inlineprotected |
References m_fd, m_outbuf, and s_bufsiz.
Referenced by overflow().
|
private |
Referenced by close(), fd(), open(), sync(), and underflow().
|
private |
Referenced by underflow().
|
staticprivate |
Referenced by fdbuf(), sync(), and underflow().
1.8.7