[#BloombergLP-bslim-Printer] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslim.adoc[bslim]::Printer :relfileprefix: ../../ :mrdocs: This class implements a _mechanism_ used to format data as required by the standard BDE `print` method contract. == Synopsis Declared in `<bslim_printer.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class Printer; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslim/Printer/2constructor.adoc[`Printer`] [.small]#[constructor]# | Create a `Printer` that formats output to the specified stream. | xref:BloombergLP/bslim/Printer/2destructor.adoc[`~Printer`] [.small]#[destructor]# | Destroy this `Printer` object. | xref:BloombergLP/bslim/Printer/absLevel.adoc[`absLevel`] | Return the absolute value of the formatting level supplied at construction. | xref:BloombergLP/bslim/Printer/end.adoc[`end`] | Print a closing bracket and trailing newline for this object's output. | xref:BloombergLP/bslim/Printer/print.adoc[`print`] | Format `data` to the stream supplied at construction. | xref:BloombergLP/bslim/Printer/printAttribute-0e.adoc[`printAttribute`] | `printAttribute` overloads | xref:BloombergLP/bslim/Printer/printEndIndentation.adoc[`printEndIndentation`] | Print the indentation used after the last attribute. | xref:BloombergLP/bslim/Printer/printForeign.adoc[`printForeign`] | Format `data` using `printFunctionObject`, prefixed by `name`. | xref:BloombergLP/bslim/Printer/printHexAddr.adoc[`printHexAddr`] | Print `address` in hexadecimal, or "NULL" if `address` is 0. | xref:BloombergLP/bslim/Printer/printIndentation.adoc[`printIndentation`] | Print the indentation used before each attribute. | xref:BloombergLP/bslim/Printer/printOrNull-0bc.adoc[`printOrNull`] | `printOrNull` overloads | xref:BloombergLP/bslim/Printer/printValue-0e.adoc[`printValue`] | `printValue` overloads | xref:BloombergLP/bslim/Printer/spacesPerLevel.adoc[`spacesPerLevel`] | Return the number of whitespace characters to output for each level of indentation. | xref:BloombergLP/bslim/Printer/start.adoc[`start`] | Print the initial indentation and opening bracket for this object. | xref:BloombergLP/bslim/Printer/suppressInitialIndentFlag.adoc[`suppressInitialIndentFlag`] | Return `true` if the initial output indentation will be suppressed, and `false` otherwise. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#