8#ifndef INCLUDED_BSLS_OBJECTBUFFER
9#define INCLUDED_BSLS_OBJECTBUFFER
253#include <bsls_alignmentfromtype.h>
281 char d_buffer[
sizeof(TYPE)];
339 return reinterpret_cast<TYPE *
>(
static_cast<void *
>(d_buffer));
353 return *
reinterpret_cast<TYPE *
>(
this);
364 return reinterpret_cast<const TYPE *
>(
static_cast<const void *
>(d_buffer));
378 return *
reinterpret_cast<const TYPE *
>(
this);
387#ifndef BDE_OMIT_INTERNAL_DEPRECATED
389#ifdef bdes_ObjectBuffer
390#undef bdes_ObjectBuffer
393#define bdes_ObjectBuffer bsls::ObjectBuffer
397#ifndef BDE_OPENSOURCE_PUBLICATION
399#ifdef bsls_ObjectBuffer
400#undef bsls_ObjectBuffer
403#define bsls_ObjectBuffer bsls::ObjectBuffer
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition bdlt_iso8601util.h:691
AlignmentToType< VALUE >::Type Type
Definition bsls_alignmentfromtype.h:386
Definition bsls_objectbuffer.h:276
const TYPE & object() const
Definition bsls_objectbuffer.h:376
char * buffer()
Definition bsls_objectbuffer.h:344
const char * buffer() const
Definition bsls_objectbuffer.h:369
const TYPE * address() const
Definition bsls_objectbuffer.h:359
TYPE * address()
Definition bsls_objectbuffer.h:334
TYPE & object()
Definition bsls_objectbuffer.h:351