Open lixin-wei opened 6 months ago
At the moment something like this is not supported.
If you want to serialize or deserialize classes like this, you use one of the following solutions:
https://github.com/getml/reflect-cpp/blob/main/docs/custom_classes.md
https://github.com/getml/reflect-cpp/blob/main/docs/custom_parser.md
But I will think about how something like this could be done.
Hi everyone, I'm working with classes like the following:
in which all fields are private but can be accessed by getter. This type of class is very common, e.g. Protobuf messages.
Is there any way to get the public method list from a class, so that I can access the fields in such classes?
Could any one help me? Thanks in advance!