Пример #1
0
 public static bool GroupExists(long groupId, string groupName) => Hdf5Utils.ItemExists(groupId, groupName, Hdf5ElementType.Group);
Пример #2
0
 public static long CreateOrOpenGroup(long groupId, string groupName)
 {
     return((Hdf5Utils.ItemExists(groupId, groupName, Hdf5ElementType.Group))
         ? H5G.open(groupId, Hdf5Utils.NormalizedName(groupName))
         : H5G.create(groupId, Hdf5Utils.NormalizedName(groupName)));
 }