I am having a problem to read a union from DynamicData. The problem is to read the value of the discriminator so that the member
with the valid data can be identified. I can read all the values of the member fields and of course all but one have invalid data. How does one through
the TypeCode and DynamicData API get the value of the discriminator. The closest I can get to the discriminator is to get only the TypeCode with
discriminator_type(). Can someone point me to the relevant API functions to accomplish this or have a (Java) example to share ?
Thank you