Encode the specified non‐modifiable object to the specified stream. Return 0 on success, and a non‐zero value otherwise. Note that the encoder will use encoder options, error and warning streams specified at the construction time. Also note that this function behaves identically to encodeToStream, but does not instantiate any templates at compile time at the expense of being slightly slower at runtime; see the balxml package documentation for more details.
Synopsis
Declared in <balxml_encoder.h>
template<class TYPE>
int
encodeAnyToStream(
std::ostream& stream,
TYPE const& object);
Created with MrDocs