group(hid_t id_, bool is_group) { if (is_group) { _g.setId(id_); } else { H5::H5File f; f.setId(id_); *this = group(f); } }