Print data by calling its standard print method.
Synopsis
Declared in <bslim_printer.h>
template<class TYPE>
static
void
printRaw(
std::ostream& stream,
TYPE const& data,
int level,
int spacesPerLevel,
bslmf::SelectTraitCase<> traits);
Description
The print method of this class dispatches based on TYPE and traits to a printRaw method to do the actual printing of the specified data to the specified stream with indentation based on the specified level and spacesPerLevel.
Parameters
Name |
Description |
stream |
output stream to which |
data |
value printed via |
level |
indentation level as defined by the BDE |
spacesPerLevel |
spaces per indentation level; negative for single‐line output |
traits |
unused trait tag for overload resolution |
Created with MrDocs