/*
* - 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) : 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;
}
-