#include <fdstream.h>
Public Member Functions | |
fdoutbuf () | |
fdoutbuf (int a_fd) | |
void | attach (int a_fd) |
virtual int | overflow (int a_c) |
virtual std::streamsize | xsputn (const char *a_s, std::streamsize a_num) |
Protected Attributes | |
int | m_fd |
Definition at line 12 of file fdstream.h.
fdoutbuf::fdoutbuf | ( | ) |
Definition at line 10 of file fdstream.cc.
fdoutbuf::fdoutbuf | ( | int | a_fd | ) |
Definition at line 14 of file fdstream.cc.
References attach().
void fdoutbuf::attach | ( | int | a_fd | ) |
Definition at line 19 of file fdstream.cc.
References m_fd.
Referenced by ofdstream::attach(), fdoutbuf(), and ofdstream::ofdstream().
int fdoutbuf::overflow | ( | int | a_c | ) | [virtual] |
Definition at line 24 of file fdstream.cc.
References m_fd.
std::streamsize fdoutbuf::xsputn | ( | const char * | a_s, | |
std::streamsize | a_num | |||
) | [virtual] |
Definition at line 34 of file fdstream.cc.
References m_fd.
int fdoutbuf::m_fd [protected] |
Definition at line 22 of file fdstream.h.
Referenced by attach(), overflow(), and xsputn().