BloombergLP::balxml::Formatter::addElementAndData

Add element of the specified name and the specified value as the data content. This has the same effect as calling the following sequence: openElement(name); addData(value), closeElement(name);. Optionally specify the formattingMode.

Synopsis

Declared in <balxml_formatter.h>

template<class TYPE>
void
addElementAndData(
    std::string_view const& name,
    TYPE const& value,
    int formattingMode = 0);