BloombergLP::bslim::Printer_Helper::printRaw

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

NameDescription
streamoutput stream to which data is printed
datavalue printed via TYPE::print
levelindentation level as defined by the BDE print contract
spacesPerLevelspaces per indentation level; negative for single-line output
traitsunused trait tag for overload resolution