encodeAnyToStream overloads
Declared in <balxml_encoder.h>
Encode the specified object to the specified stream without instantiating encoding templates at compile time.
int
encodeAnyToStream(
std::ostream& stream,
bdlar::AnyConstRef const& object);
» more...
Encode the specified non-modifiable object to the specified stream.
template<class TYPE>
int
encodeAnyToStream(
std::ostream& stream,
TYPE const& object);
» more...
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| stream | output stream to receive XML |
| object | type-erased value to encode |