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.
Synopsis
Declared in <bslim_printer.h>
template<class TYPE>
void
printOrNull(
TYPE const& address,
char const* name) const;
Specializations
Name |
Created with MrDocs