8#ifndef INCLUDED_BDLDE_UTF8CHECKINGINSTREAMBUFWRAPPER
9#define INCLUDED_BDLDE_UTF8CHECKINGINSTREAMBUFWRAPPER
213#include <bdlscm_version.h>
224#include <bsl_locale.h>
225#include <bsl_streambuf.h>
251 k_PBACK_BUF_SIZE = 8,
252 k_BUF_SIZE = 8 * 1024
263 bsl::streambuf *d_heldStreamBuf_p;
286 char d_pBackBuf[k_PBACK_BUF_SIZE];
289 char_type *d_savedEback_p;
297 char_type *d_savedEgptr_p;
324 pos_type setSeekFailure(bsl::ios_base::openmode mode);
426 bsl::ios_base::seekdir whence,
495 bslma::Allocator *basicAllocator = 0);
526 return d_errorStatus;
532 return d_heldStreamBuf_p &&
k_SEEK_FAIL != d_errorStatus;
Definition bdlde_utf8checkinginstreambufwrapper.h:244
pos_type seekoff(off_type offset, bsl::ios_base::seekdir whence, bsl::ios_base::openmode mode) BSLS_KEYWORD_OVERRIDE
int_type pbackfail(int_type c=traits_type::eof()) BSLS_KEYWORD_OVERRIDE
bsl::streamsize xsputn(const char *, bsl::streamsize) BSLS_KEYWORD_OVERRIDE
pos_type seekpos(pos_type offset, bsl::ios_base::openmode mode) BSLS_KEYWORD_OVERRIDE
bsl::streamsize showmanyc() BSLS_KEYWORD_OVERRIDE
@ k_SEEK_FAIL
Definition bdlde_utf8checkinginstreambufwrapper.h:258
BSLMF_NESTED_TRAIT_DECLARATION(Utf8CheckingInStreamBufWrapper, bslma::UsesBslmaAllocator)
void reset(bsl::streambuf *streamBuf)
bsl::streamsize xsgetn(char *buffer, bsl::streamsize numBytes) BSLS_KEYWORD_OVERRIDE
int errorStatus() const
Definition bdlde_utf8checkinginstreambufwrapper.h:524
void imbue(const bsl::locale &locale) BSLS_KEYWORD_OVERRIDE
int_type overflow(int_type=traits_type::eof()) BSLS_KEYWORD_OVERRIDE
bool isValid() const
Definition bdlde_utf8checkinginstreambufwrapper.h:530
static const char * toAscii(int errorStatus)
int_type underflow() BSLS_KEYWORD_OVERRIDE
Definition bslma_allocator.h:457
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
#define BSLS_KEYWORD_DELETED
Definition bsls_keyword.h:609
#define BSLS_KEYWORD_OVERRIDE
Definition bsls_keyword.h:653
Definition bdlde_base64alphabet.h:118
Definition bdlb_printmethods.h:283
Definition balxml_encoderoptions.h:68
Definition bslma_usesbslmaallocator.h:343
std::ptrdiff_t IntPtr
Definition bsls_types.h:130