Add an attribute with the specified name, the value of the specified object, using the specified formattingMode.
Declared in <balxml_encoder.h>
template<class TYPE>
int
addAttribute(
TYPE const& object,
std::string_view const& name,
int formattingMode);