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)
272 const
char *
data() const;
299 setp(buffer, buffer +
length);
305FixedMemOutStreamBuf::FixedMemOutStreamBuf(
char *buffer,
311 setp(buffer, buffer +
length);
330 return epptr() - pbase();
342 return pptr() - pbase();
Definition bdlsb_fixedmemoutstreambuf.h:201
bsl::streamsize capacity() const
Definition bdlsb_fixedmemoutstreambuf.h:328
bsl::streamsize length() const
Definition bdlsb_fixedmemoutstreambuf.h:340
char * data()
Definition bdlsb_fixedmemoutstreambuf.h:321
~FixedMemOutStreamBuf() BSLS_KEYWORD_OVERRIDE
Destroy this stream buffer.
Definition bdlsb_fixedmemoutstreambuf.h:315
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:293
#define BSLS_ASSERT(X)
Definition bsls_assert.h:1804
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
#define BSLS_KEYWORD_OVERRIDE
Definition bsls_keyword.h:653
Definition bdlsb_fixedmeminput.h:145
Definition bdlb_printmethods.h:283