Format [begin, end)] using the specified printFunctionObject.
Declared in <bslim_printer.h>
template<
class ITERATOR,
class PRINT_FUNCTOR>
void
printValue(
ITERATOR const& begin,
ITERATOR const& end,
PRINT_FUNCTOR const& printFunctionObject) const;
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) `
| Name | Description |
|---|---|
| begin | beginning of the range of values to format |
| end | end of the range of values to format (one past the last) |
| printFunctionObject | functor used to format each element |