This class, like bdlsb::FixedMemOutStreamBuf, implements the output functionality of the basic_streambuf interface, using client‐supplied char * memory. It has an identical interface to bdlsb::FixedMemOutStreamBuf but does not inherit from bsl::streambuf. Thus, it is suitable for use as template parameter to bslx::GenericOutStream (but not to bslx::StreambufOutStream). Note that this class is not designed to be derived from.
Synopsis
Declared in <bdlsb_fixedmemoutput.h>
class FixedMemOutput;
Type Aliases
Member Functions
Name |
Description |
|
Create an empty stream buffer that uses the specified character |
Return the size in bytes of the buffer held by this stream buffer. |
|
|
|
Return the current default locale. Operation has no effect, because locales are not supported by this component. Return default constructed bsl::locale object. |
|
Return the number of characters from the beginning of the buffer to the current write position. |
|
Associate the specified locale |
|
Set the position indicator to the relative specified |
|
Set the position indicator to the specified |
|
Reset the internal buffer of this stream to the specified |
|
Synchronizes the controlled character sequence (the buffers) with the associated character sequence. Operation has no effect, because the stream is always kept in sync (no buffered output). Return 0. |
|
Write the specified character |
|
Write the specified |
Created with MrDocs