Hello Walter, Would AbstractDs::getTypeClass() give you the information you need?
​Binh-Minh ________________________________________ From: Hdf-forum <[email protected]> on behalf of Walter Landry <[email protected]> Sent: Thursday, September 24, 2015 8:51 PM To: [email protected] Subject: [Hdf-forum] Getting type of a Varlen 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 _______________________________________________ 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
