Is it possible in C++ to dynamically (during run-time) get a list of all members of the class?
No, not without doing some work at compile time first manually. C++ has no reflection. Qt works around this with its moc
system which scans your source files and generates meta data for all Qt (and inherited) classes
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With