[#BloombergLP-bslim-Printer-printValue-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslim.adoc[bslim]::xref:BloombergLP/bslim/Printer.adoc[Printer]::printValue :relfileprefix: ../../../ :mrdocs: `printValue` overloads == Synopses Declared in `<bslim_printer.h>` Format to the output stream supplied at construction the specified `data`. Format `data` based on the parameterized `TYPE`: [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> void xref:BloombergLP/bslim/Printer/printValue-00.adoc[printValue](TYPE const& data) const; ---- [.small]#xref:BloombergLP/bslim/Printer/printValue-00.adoc[_» more..._]# Format to the output stream supplied at construction, the range of values starting at the specified `begin` position and ending immediately before the specified `end` position. The parameterized `ITERATOR` type must support `operator++`, `operator*`, and `operator==`. This function will call `printValue` on each element in the range `[begin, end)]`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ITERATOR> void xref:BloombergLP/bslim/Printer/printValue-060d.adoc[printValue]( ITERATOR const& begin, ITERATOR const& end) const; ---- [.small]#xref:BloombergLP/bslim/Printer/printValue-060d.adoc[_» more..._]# Print to the output stream supplied at construction the specified `name`, if name is not 0, and then call the specified `printFunctionObject` with the range of values starting at the specified `begin` position and ending immediately before the specified `end` position, the `stream` supplied at construction, `absLevel() + 1`, and `spacesPerLevel()`. The parameterized `PRINT_FUNCTOR` must be an invocable type whose arguments match the following function signature: ` bsl::ostream& (*)(bsl::ostream& stream, const TYPE& data, int level, int spacesPerLevel) ` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class ITERATOR, class PRINT_FUNCTOR> void xref:BloombergLP/bslim/Printer/printValue-060c.adoc[printValue]( ITERATOR const& begin, ITERATOR const& end, PRINT_FUNCTOR const& printFunctionObject) const; ---- [.small]#xref:BloombergLP/bslim/Printer/printValue-060c.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#