Commit 799deac3 authored by Reza  ANSARI's avatar Reza ANSARI
Browse files

ajout impression des attributs attaches au groupe racine (/) d'un fichier HDF5...

ajout impression des attributs attaches au groupe racine (/) d'un fichier HDF5 ds HDF5Manager::ScanFile(), Reza
parent eedf3ee2
......@@ -238,6 +238,12 @@ int HDF5Manager::ScanGroup(HDF5InOutFile &h5f, string const & grp, ostream& os,
{
HDF5IdWrapper g1 = h5f.CurrentGroup();
HDF5IdWrapper g2 = h5f.OpenGroup(grp);
if (fgpatt) {
os<<"--- Attributes for group:"<<grp<<endl;
DVList att;
h5f.ReadAttributes(g2, att);
os << att;
}
h5f.SetCurrentGroup(g2);
std::vector<std::string> dslist;
std::vector<std::string> grplist;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment