-// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
/*
* - Name : HDFnObjects
- * - Description : returns the number of HDF objets in a HDF group
+ * - Description : returns the number of HDF objects in an HDF group
* - Parameters :
* - fid (IN) : HDF file ID
- * - path (IN) : acces path to the HDF group in the HDF file
+ * - path (IN) : access path to the HDF group in the HDF file
* - Results :
* - if success : number of objects
- * - if failure : -1
- */
+ * - if failure : -1
+ */
hdf_err Num(hdf_idt id,const char *name, void *data);
hdf_err Num(hdf_idt id,const char *name, void *data)
{
int *count;
-
+
count = (int *) data;
(*count)++;
return 0;
}
-