I guess another possibility would be to write two vtables: one for IStream and String, and another for IDOMDocumnt, and assign the vtable during put_output.
(I'm half joking, it would run properly but swapping out vtables is not something I've ever heard of)
thanks, Jefferson
On 2/26/2021 10:49 PM, Jefferson Carpenter wrote:
nsivov,
Regarding implementation in mxwriter, do you think it would be all right to add switch statements and use an enum for output type like I did here, or do you think another way would be more suitable?
Thanks, Jefferson