Create a print visitor writing to the specified stream with the specified indentation level and spacesPerLevel.

Synopsis

Declared in <bdlb_variant.h>

Variant_PrintVisitor(
    std::ostream* stream,
    int level,
    int spacesPerLevel);

Parameters

Name

Description

stream

stream used for input or output

level

absolute indentation level

spacesPerLevel

spaces per indentation level

Created with MrDocs