Create and return a PrintAdapter for the specified object.
Declared in <bdlb_printadapter.h>
template<class TYPE>
static
PrintAdapter<TYPE>
makeAdapter(
TYPE const& object,
int level = 0,
int spacesPerLevel = 4);
Pass the specified object, level, and spacesPerLevel to the PrintAdapter constructor.
a PrintAdapter bound to object
| Name | Description |
|---|---|
| object | object to adapt for streaming |
| level | indentation level used when streamed |
| spacesPerLevel | spaces per indentation level used when streamed |