hdf5.cc (14209:7efe1c187149) hdf5.cc (14214:2282d56a0b8b)
1/*
2 * Copyright (c) 2016-2019 Arm Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 95 unchanged lines hidden (view full) ---

104{
105 auto base = path.top();
106
107 // Try to open an existing stat group corresponding to the
108 // name. Create it if it doesn't exist.
109 H5::Group group;
110 try {
111 group = base.openGroup(name);
1/*
2 * Copyright (c) 2016-2019 Arm Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 95 unchanged lines hidden (view full) ---

104{
105 auto base = path.top();
106
107 // Try to open an existing stat group corresponding to the
108 // name. Create it if it doesn't exist.
109 H5::Group group;
110 try {
111 group = base.openGroup(name);
112 } catch (H5::FileIException e) {
112 } catch (const H5::FileIException& e) {
113 group = base.createGroup(name);
113 group = base.createGroup(name);
114 } catch (H5::GroupIException e) {
114 } catch (const H5::GroupIException& e) {
115 group = base.createGroup(name);
116 }
117
118 path.push(group);
119}
120
121void
122Hdf5::endGroup()

--- 203 unchanged lines hidden ---
115 group = base.createGroup(name);
116 }
117
118 path.push(group);
119}
120
121void
122Hdf5::endGroup()

--- 203 unchanged lines hidden ---