Create a print adapter bound to the specified object.
Synopsis
Declared in <bdlb_printadapter.h>
explicit
PrintAdapter(
TYPE const* object,
int level = 0,
int spacesPerLevel = 4);
Description
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.
Parameters
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 |
Created with MrDocs