print overloads
Declared in <bslim_printer.h>
Format the specified data to the specified output stream at the (absolute value of) the specified indentation level, using the specified spacesPerLevel, the number of spaces per indentation level for this and all of its nested objects. Note that this function dispatches to printRaw based on the type traits of the deduced (template parameter) TYPE.
template<class TYPE>
static
void
print(
std::ostream& stream,
TYPE const& data,
int level,
int spacesPerLevel);
» more...
Format the range of objects specified by [ begin, end )] to the specified output stream at the (absolute value of) the specified indentation level, using the specified spacesPerLevel, the number of spaces per indentation level for the objects and their nested objects, where ITERATOR supports the operators ++ and * to access the objects. Individual objects are printed with printValue.
template<class ITERATOR>
static
void
print(
std::ostream& stream,
ITERATOR const& begin,
ITERATOR const& end,
int level,
int spacesPerLevel);
» more...
Format the range of objects specified by [ begin, end )] to the specified output stream at the (absolute value of) the specified indentation level, using the specified spacesPerLevel, the number of spaces per indentation level for the objects and their nested objects, where ITERATOR supports the operators ++ and * to access the objects, printing the individual objects with the specified printFunctionObject.
template<
class ITERATOR,
class PRINT_FUNCTOR>
static
void
print(
std::ostream& stream,
ITERATOR const& begin,
ITERATOR const& end,
PRINT_FUNCTOR const& printFunctionObject,
int const level,
int const spacesPerLevel);
» more...