8#ifndef INCLUDED_BDLSB_FIXEDMEMOUTSTREAMBUF
9#define INCLUDED_BDLSB_FIXEDMEMOUTSTREAMBUF
173#include <bdlscm_version.h>
180#include <bsl_cstdlib.h>
181#include <bsl_cstring.h>
183#include <bsl_streambuf.h>
185#if defined(BSLS_PLATFORM_CMP_MSVC) && defined(min)
219 bsl::ios_base::seekdir fixedPosition,
220 bsl::ios_base::openmode which = bsl::ios_base::out)
230 bsl::ios_base::openmode which = bsl::ios_base::out)
274 const
char *
data() const;
301 setp(buffer, buffer +
length);
307FixedMemOutStreamBuf::FixedMemOutStreamBuf(
char *buffer,
313 setp(buffer, buffer +
length);
332 return epptr() - pbase();
344 return pptr() - pbase();
Definition bdlsb_fixedmemoutstreambuf.h:201
bsl::streamsize capacity() const
Definition bdlsb_fixedmemoutstreambuf.h:330
bsl::streamsize length() const
Definition bdlsb_fixedmemoutstreambuf.h:342
char * data()
Definition bdlsb_fixedmemoutstreambuf.h:323
~FixedMemOutStreamBuf() BSLS_KEYWORD_OVERRIDE
Destroy this stream buffer.
Definition bdlsb_fixedmemoutstreambuf.h:317
pos_type seekoff(off_type offset, bsl::ios_base::seekdir fixedPosition, bsl::ios_base::openmode which=bsl::ios_base::out) BSLS_KEYWORD_OVERRIDE
pos_type seekpos(pos_type position, bsl::ios_base::openmode which=bsl::ios_base::out) BSLS_KEYWORD_OVERRIDE
FixedMemOutStreamBuf * setbuf(char_type *buffer, bsl::streamsize length) BSLS_KEYWORD_OVERRIDE
Definition bdlsb_fixedmemoutstreambuf.h:295
#define BSLS_ASSERT(X)
Definition bsls_assert.h:1976
#define BSLS_IDENT(str)
BSLS_IDENT() - insert string into .comment binary segment (if supported)
Definition bsls_ident.h:238
#define BSLS_KEYWORD_OVERRIDE
Definition bsls_keyword.h:695
Definition bdlsb_fixedmeminput.h:145
Definition bdlat_valuetypefunctions.h:939