Hello,

I am reading an attribute as a Varlen using code like

  auto metadata=dataset.openAttribute ("METADATA");
  H5::VarLenType type=metadata.getVarLenType ();
  hvl_t varlen;
  metadata.read(type, &varlen);

How do I find out what type the VarLenType is based on?  I have tried
getSuper(), getTag(), fromClass(), and operator==(), and none of them
seem to work for me.  Are there any examples of how to introspectively
figure out what the type is?

Thank you,
Walter Landry

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to