1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-12-24 22:44:43 +00:00

HDF5: direct access to group for custom operations

This commit is contained in:
2018-04-20 17:13:21 +01:00
parent c11a3ca0a7
commit 94edf9cf8b
2 changed files with 12 additions and 0 deletions

View File

@@ -55,6 +55,11 @@ void Hdf5Writer::writeDefault(const std::string &s, const char *x)
writeDefault(s, sx);
}
Group & Hdf5Writer::getGroup(void)
{
return group_;
}
// Reader implementation ///////////////////////////////////////////////////////
Hdf5Reader::Hdf5Reader(const std::string &fileName)
: fileName_(fileName)
@@ -103,3 +108,8 @@ void Hdf5Reader::readDefault(const std::string &s, std::string &x)
x.resize(strType.getSize());
attribute.read(strType, &(x[0]));
}
Group & Hdf5Reader::getGroup(void)
{
return group_;
}