This class implements the output functionality of the bsl::basic_streambuf protocol, using client‐supplied memory and client‐supplied allocator if additional memory is needed.
Synopsis
Declared in <bdlsb_overflowmemoutstreambuf.h>
class OverflowMemOutStreamBuf
: public std::streambuf
Base Classes
Name |
Description |
|
Member Functions
Name |
Description |
|
Create an empty stream buffer that uses the specified |
|
Destroy this stream buffer. |
Return the number of bytes written to this stream. Note that if |
|
Return the length of data in the initial buffer, i.e., |
|
Return the length of the data in the overflow buffer, i.e., 0 if there is no overflow buffer, or |
|
Return a pointer to the non‐modifiable buffer supplied at construction. |
|
Return the size of the buffer supplied at construction. |
|
Return a pointer to the non‐modifiable overflow buffer if there is one, or 0 otherwise. |
|
Return the size of the overflow buffer, or 0 if there is no overflow buffer. |
|
|
Protected Member Functions
Name |
Description |
|
If c is not |
|
Set the position indicator to the relative specified |
|
Set the position indicator to the specified |
|
Set |
|
Write the specified |
Created with MrDocs