Visitor for visiting t_TYPE held by a variant and printing it.

Synopsis

Declared in <bdlb_variantprinter.h>

struct VariantPrinter_Visitor;

Member Functions

Name

Description

operator()

Call print on object using the data fields of this struct.

Data Members

Name

Description

d_level

Absolute indentation level passed to print.

d_spacesPerLevel

Spaces per indentation level passed to print.

d_stream_p

Stream to which the visited value is printed.

Created with MrDocs