This class implements the output functionality of the basic_streambuf protocol, using a user‐supplied or default bslma allocator to supply memory.
Synopsis
Declared in <bdlsb_memoutstreambuf.h>
class MemOutStreamBuf
: public std::streambuf
Base Classes
Name |
Description |
|
Member Functions
Name |
Description |
|
Create an empty stream buffer. Optionally specify a |
|
Create an empty stream buffer with sufficient initial capacity to accommodate up to the specified |
|
Destroy this stream buffer. |
Return the current capacity of the buffer managed by this stream buffer. |
|
Return the address of the non‐modifiable character buffer managed by this stream buffer. |
|
Return the number of valid characters in this stream buffer. |
|
Reserve sufficient internal capacity to store at least the specified |
|
Destroy the contents of this stream buffer, return all allocated memory to the allocator, and reset the buffer to the default constructed state. Note that |
|
|
Declare |
Protected Member Functions
Name |
Description |
|
Append the optionally specified |
|
Set the position indicator to the relative specified |
|
Set the position indicator to the specified |
|
Write the specified |
Created with MrDocs