8#ifndef INCLUDED_BDLB_PRINTADAPTER
9#define INCLUDED_BDLB_PRINTADAPTER
196#include <bdlscm_version.h>
200#include <bsl_ostream.h>
217 const TYPE *d_object_p;
219 int d_spacesPerLevel;
246 const TYPE&
object()
const;
268 template <
class TYPE>
272 int spacesPerLevel = 4);
302, d_spacesPerLevel(spacesPerLevel)
324 return d_spacesPerLevel;
Definition bdlb_printadapter.h:214
int spacesPerLevel() const
Return the spacesPerLevel attribute.
Definition bdlb_printadapter.h:322
PrintAdapter & operator=(const PrintAdapter &)=default
const TYPE & object() const
Return a reference to the object referred to by this print adapter.
Definition bdlb_printadapter.h:315
int level() const
Return the level attribute.
Definition bdlb_printadapter.h:308
PrintAdapter(const PrintAdapter &)=default
PrintAdapter(const TYPE *object, int level=0, int spacesPerLevel=4)
Definition bdlb_printadapter.h:297
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
bsl::ostream & print(bsl::ostream &stream, const TYPE &object, int level=0, int spacesPerLevel=4)
Definition bdlb_printmethods.h:719
Definition bdlb_algorithmworkaroundutil.h:74
bsl::ostream & operator<<(bsl::ostream &stream, const BigEndianInt16 &integer)
Definition bdlb_printadapter.h:262
static PrintAdapter< TYPE > makeAdapter(const TYPE &object, int level=0, int spacesPerLevel=4)
Definition bdlb_printadapter.h:350