#include <StringStream.hpp>

Public Member Functions | |
| OStringStreamBuf (size_t size) | |
| virtual | ~OStringStreamBuf () |
| String | toString () const |
| String | releaseString () |
| size_t | length () const |
| const char * | c_str () const |
| void | reset () |
Protected Member Functions | |
| virtual int | buffer_to_device (const char *c, int n) |
| Writes the buffer to the "device". | |
Private Attributes | |
| StringBuffer | m_buf |
Friends | |
| class | OStringStream |
Definition at line 100 of file StringStream.hpp.
| BLOCXX_NAMESPACE::OStringStreamBuf::OStringStreamBuf | ( | size_t | size | ) |
Definition at line 46 of file StringStream.cpp.
| BLOCXX_NAMESPACE::OStringStreamBuf::~OStringStreamBuf | ( | ) | [virtual] |
Definition at line 51 of file StringStream.cpp.
| String BLOCXX_NAMESPACE::OStringStreamBuf::toString | ( | ) | const |
Definition at line 55 of file StringStream.cpp.
References m_buf, and BLOCXX_NAMESPACE::StringBuffer::toString().
Referenced by BLOCXX_NAMESPACE::OStringStream::toString().
| String BLOCXX_NAMESPACE::OStringStreamBuf::releaseString | ( | ) |
Definition at line 60 of file StringStream.cpp.
References m_buf, and BLOCXX_NAMESPACE::StringBuffer::releaseString().
Referenced by BLOCXX_NAMESPACE::OStringStream::releaseString().
| size_t BLOCXX_NAMESPACE::OStringStreamBuf::length | ( | ) | const |
Definition at line 65 of file StringStream.cpp.
References BLOCXX_NAMESPACE::StringBuffer::length(), and m_buf.
Referenced by BLOCXX_NAMESPACE::OStringStream::length().
| const char * BLOCXX_NAMESPACE::OStringStreamBuf::c_str | ( | ) | const |
Definition at line 70 of file StringStream.cpp.
References BLOCXX_NAMESPACE::StringBuffer::c_str(), and m_buf.
Referenced by BLOCXX_NAMESPACE::OStringStream::c_str().
| void BLOCXX_NAMESPACE::OStringStreamBuf::reset | ( | ) |
Definition at line 75 of file StringStream.cpp.
References m_buf, and BLOCXX_NAMESPACE::StringBuffer::reset().
Referenced by BLOCXX_NAMESPACE::OStringStream::reset().
| int BLOCXX_NAMESPACE::OStringStreamBuf::buffer_to_device | ( | const char * | c, | |
| int | n | |||
| ) | [protected, virtual] |
Writes the buffer to the "device".
| c | A pointer to the start of the buffer | |
| n | the number of bytes to write |
Reimplemented from BLOCXX_NAMESPACE::BaseStreamBuffer.
Definition at line 80 of file StringStream.cpp.
References BLOCXX_NAMESPACE::StringBuffer::append(), and m_buf.
friend class OStringStream [friend] |
Definition at line 115 of file StringStream.hpp.
Definition at line 114 of file StringStream.hpp.
Referenced by buffer_to_device(), c_str(), length(), releaseString(), reset(), and toString().
1.5.6