Closed timosachsenberg closed 1 year ago
We could think about ways if we can detect a stream operator on the c++ side.
By the way, I found this: https://github.com/OpenMS/OpenMS/blob/2bd127070223c54ec146da569cceb8336f6dbb2b/src/pyOpenMS/create_cpp_extension.py#L129
So with a C++ toString() method, this is autogenerated.
Suggested by a user, we could provide automatic str to output attributes and content:![Screen Shot 2022-07-08 at 1 41 08 PM](https://user-images.githubusercontent.com/5803621/177986162-4ff9ac99-a302-4779-80f4-1a85ee40a901.png)