That's good! Thanks, Walter! ​Binh-Minh
________________________________________ From: Hdf-forum <[email protected]> on behalf of Walter Landry <[email protected]> Sent: Friday, September 25, 2015 9:45 AM To: [email protected] Subject: Re: [Hdf-forum] Getting type of a Varlen Binh-Minh Ribler <[email protected]> wrote: > Hello Walter, > > Would AbstractDs::getTypeClass() give you the information you need? Thank you. That works for the attribute and gave me the necessary hint for the VarLenType. To get the type that the VarLenType is based on, I can run DataType::getSuper().getClass(). Then to actually construct the type (for example, if it is a CompType), then I can use DataType::getSuper().getClass().getId() in the CompType constructor. Cheers, 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
