Hello all,
How can I filter unions based on the data embedded?
I mean there is an enum integrated in the union telling me which data is stored. This enum I can access in C++.
But how do I create for example a content filtered topic based on this internal enum?
Best regards,
Andreas
Hi Andreas,
Are you talking about something like this?
If this is your case, I was able to create a CFT based on the example provided in the community. Just try this:
Note that _d refers to the discriminator, which in this case is the enum value (that can be filtered as an int).
Thanks,
Juanjo Martin
Great, that was easy. Thank you!