Print data by calling its standard print method.
Declared in <bslim_printer.h>
template<class TYPE>
static
void
printRaw(
std::ostream& stream,
TYPE const& data,
int level,
int spacesPerLevel,
bslmf::SelectTraitCase<> traits);
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.
| Name | Description |
|---|---|
| stream | output stream to which data is printed |
| data | value printed via TYPE::print |
| level | indentation level as defined by the BDE print contract |
| spacesPerLevel | spaces per indentation level; negative for single-line output |
| traits | unused trait tag for overload resolution |