#include <Streambuf.h>
Inheritance diagram for ASSA::io_ptrs:
Public Types | |
enum | { USER_BUF = 1, UNBUFFERED = 2, EOF_SEEN = 4, ERR_SEEN = 8 } |
Public Member Functions | |
io_ptrs () | |
void | dump () const |
Public Attributes | |
char * | m_read_base |
char * | m_read_ptr |
char * | m_read_end |
char * | m_write_base |
char * | m_write_ptr |
char * | m_write_end |
char * | m_buf_base |
char * | m_buf_end |
int | m_flags |
char | m_shortbuf [1] |
Definition at line 30 of file Streambuf.h.
|
Definition at line 44 of file Streambuf.h. 00044 { USER_BUF = 1, UNBUFFERED = 2, EOF_SEEN = 4, ERR_SEEN = 8 };
|
|
Definition at line 49 of file Streambuf.h. References m_shortbuf. 00049 : m_read_base (0), m_read_ptr (0), m_read_end (0), 00050 m_write_base (0), m_write_ptr (0), m_write_end (0), 00051 m_buf_base (0), m_buf_end (0), m_flags (0) 00052 { 00053 m_shortbuf [0] = 0; 00054 }
|
|
Definition at line 38 of file Streambuf.cpp. References DL, ASSA::MemDump::getMemDump(), m_buf_base, m_buf_end, m_read_base, m_read_end, m_read_ptr, m_write_base, m_write_end, m_write_ptr, ASSA::STRMBUF, and trace_with_mask. Referenced by ASSA::Socketbuf::doallocate(), ASSA::Socketbuf::overflow(), and ASSA::Socketbuf::underflow(). 00039 { 00040 #ifdef LOG_PACKET 00041 trace_with_mask("io_ptrs::dump",STRMBUF); 00042 int len; 00043 00044 DL((STRMBUF,"---Ptr------:---Val---\n")); 00045 DL((STRMBUF,"m_read_base.: 0x%x\n", (u_long)m_read_base)); 00046 DL((STRMBUF,"m_read_ptr..: 0x%x\n", (u_long)m_read_ptr )); 00047 DL((STRMBUF,"m_read_end..: 0x%x\n", (u_long)m_read_end )); 00048 00049 if (m_read_ptr && (len = m_read_end - m_read_ptr) > 0) { 00050 MemDump get_area (m_read_ptr, len); 00051 DL((STRMBUF,"\n%s\n", get_area.getMemDump ())); 00052 } 00053 00054 DL((STRMBUF,"m_write_base: 0x%x\n", (u_long)m_write_base)); 00055 DL((STRMBUF,"m_write_ptr.: 0x%x\n", (u_long)m_write_ptr )); 00056 DL((STRMBUF,"m_write_end.: 0x%x\n", (u_long)m_write_end )); 00057 00058 if (m_write_base && (len = m_write_ptr - m_write_base) > 0) { 00059 MemDump put_area (m_write_base, len); 00060 DL((STRMBUF,"%s\n", put_area.getMemDump ())); 00061 } 00062 00063 DL((STRMBUF,"m_buf_base..: 0x%x\n", (u_long)m_buf_base )); 00064 DL((STRMBUF,"m_buf_end...: 0x%x\n", (u_long)m_buf_end )); 00065 DL((STRMBUF,"------------:---------\n"); 00066 00067 #endif 00068 }
|
|
Definition at line 41 of file Streambuf.h. Referenced by ASSA::Socketbuf::doallocate(), dump(), ASSA::Streambuf::init(), and ASSA::Streambuf::~Streambuf(). |
|
Definition at line 42 of file Streambuf.h. Referenced by dump(), ASSA::Streambuf::init(), and ASSA::Streambuf::~Streambuf(). |
|
Definition at line 46 of file Streambuf.h. Referenced by ASSA::Socketbuf::doallocate(), ASSA::Streambuf::init(), ASSA::Streambuf::unbuffered(), ASSA::Socketbuf::underflow(), and ASSA::Streambuf::~Streambuf(). |
|
Definition at line 33 of file Streambuf.h. Referenced by ASSA::Streambuf::base(), dump(), and ASSA::Streambuf::init(). |
|
Definition at line 35 of file Streambuf.h. Referenced by dump(), ASSA::Streambuf::egptr(), ASSA::Streambuf::in_avail(), ASSA::Streambuf::init(), ASSA::Streambuf::sbumpc(), and ASSA::Streambuf::sgetc(). |
|
Definition at line 34 of file Streambuf.h. Referenced by dump(), ASSA::Streambuf::gptr(), ASSA::Streambuf::in_avail(), ASSA::Streambuf::init(), ASSA::Streambuf::sbumpc(), and ASSA::Streambuf::sgetc(). |
|
Definition at line 47 of file Streambuf.h. Referenced by ASSA::Socketbuf::doallocate(), ASSA::Streambuf::init(), and io_ptrs(). |
|
Definition at line 37 of file Streambuf.h. Referenced by dump(), ASSA::Streambuf::init(), ASSA::Streambuf::pbase(), and ASSA::Streambuf::setp(). |
|
Definition at line 39 of file Streambuf.h. Referenced by dump(), ASSA::Streambuf::epptr(), ASSA::Streambuf::init(), ASSA::Streambuf::setp(), and ASSA::Streambuf::sputc(). |
|
Definition at line 38 of file Streambuf.h. Referenced by dump(), ASSA::Streambuf::init(), ASSA::Streambuf::pbump(), ASSA::Streambuf::pptr(), ASSA::Streambuf::setp(), and ASSA::Streambuf::sputc(). |