Print the specified enumeration data to stream with indentation.

Synopsis

Declared in <bslim_printer.h>

template<class TYPE>
static
void
printRaw(
    std::ostream& stream,
    TYPE data,
    int level,
    int spacesPerLevel,
    bslmf::SelectTraitCase<is_enum> traits);

Parameters

Name

Description

stream

output stream to which data is printed

data

value to 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

Created with MrDocs