Print `conduit_cpp::node` on custom stream
Hello,
I am implementing some vtkClasses
that store a conduit_cpp::node
internally and I would like to be able to print them in a custom ostream
for the PrintSelf
method. For now, there is only a print()
method, but no way to specify the ostream
. Conduit natively support some to_json*()
methods that return a string and can be used in such context, but these are not exposed in the conduit_cpp::node
API yet.
Best,
Charles