Create a print adapter bound to the specified object.
Declared in <bdlb_printadapter.h>
explicit
PrintAdapter(
TYPE const* object,
int level = 0,
int spacesPerLevel = 4);
Optionally specify level and spacesPerLevel attributes used when the PrintAdapter object is streamed. Unless level is specified, a value of 0 is used; unless spacesPerLevel is specified, a value of 4 is used.
| Name | Description |
|---|---|
| object | pointer to the object to adapt for streaming |
| level | indentation level used when streamed |
| spacesPerLevel | spaces per indentation level used when streamed |