[#BloombergLP-bslim-Printer-printOrNull-0bc] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslim.adoc[bslim]::xref:BloombergLP/bslim/Printer.adoc[Printer]::printOrNull :relfileprefix: ../../../ :mrdocs: Format to the output stream supplied at construction the object at the specified `address`, if `address` is not 0, and print the string "NULL" otherwise, prefixed by the specified `name` if `name` is not 0. If `spacesPerLevel() < 0`, print on a single line. If `spacesPerLevel() >= 0`, indent by `(absLevel() + 1) * spacesPerLevel()` blank spaces. The behavior is undefined unless `TYPE` is a pointer type. == Synopses Declared in `<bslim_printer.h>` Format to the output stream supplied at construction the object at the specified `address`, if `address` is not 0, and print the string "NULL" otherwise, prefixed by the specified `name` if `name` is not 0. If `spacesPerLevel() < 0`, print on a single line. If `spacesPerLevel() >= 0`, indent by `(absLevel() + 1) * spacesPerLevel()` blank spaces. The behavior is undefined unless `TYPE` is a pointer type. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> void xref:BloombergLP/bslim/Printer/printOrNull-09.adoc[printOrNull]( TYPE const& address, char const* name) const; ---- [.small]#xref:BloombergLP/bslim/Printer/printOrNull-09.adoc[_» more..._]# [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<> void xref:BloombergLP/bslim/Printer/printOrNull-0bf.adoc[printOrNull<void*>]( void const*& address, char const* name) const; ---- [.small]#xref:BloombergLP/bslim/Printer/printOrNull-0bf.adoc[_» more..._]# [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<> void xref:BloombergLP/bslim/Printer/printOrNull-06.adoc[printOrNull<void const*>]( void const const*& address, char const* name) const; ---- [.small]#xref:BloombergLP/bslim/Printer/printOrNull-06.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#