summaryrefslogtreecommitdiffstats
path: root/hl/src/H5DS.h
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2005-02-01 22:10:16 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2005-02-01 22:10:16 (GMT)
commitc6f4cab48c7cd8e52fa21a997323a6079bf3623f (patch)
tree69517bc2a467a7a84e107562ce9059f345e78008 /hl/src/H5DS.h
parente3dacb31be51f135bb2a5ccd59c71eaa38036928 (diff)
downloadhdf5-c6f4cab48c7cd8e52fa21a997323a6079bf3623f.zip
hdf5-c6f4cab48c7cd8e52fa21a997323a6079bf3623f.tar.gz
hdf5-c6f4cab48c7cd8e52fa21a997323a6079bf3623f.tar.bz2
[svn-r9913] Purpose:
DS new function Description: added the H5DSiterate_scales function with 2 operator functions and its tests Solution: Platforms tested: linux solaris aix windows Misc. update:
Diffstat (limited to 'hl/src/H5DS.h')
-rw-r--r--hl/src/H5DS.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/hl/src/H5DS.h b/hl/src/H5DS.h
index 0b4842f..d75e707 100644
--- a/hl/src/H5DS.h
+++ b/hl/src/H5DS.h
@@ -26,6 +26,8 @@
#define REFERENCE_LIST "REFERENCE_LIST"
#define DIMENSION_LABELS "DIMENSION_LABELS"
+typedef herr_t (*H5DS_iterate_t)(hid_t dset, unsigned dim, hid_t scale, void *visitor_data);
+
/* attribute type of a DS dataset */
typedef struct ds_list_t {
@@ -38,7 +40,7 @@ typedef struct ds_list_t {
extern "C" {
#endif
- herr_t H5DSset_scale(hid_t did,
+herr_t H5DSset_scale(hid_t did,
char *dimname);
herr_t H5DSattach_scale(hid_t did,
@@ -65,6 +67,17 @@ herr_t H5DSis_scale(hid_t did);
herr_t H5DShas_scale(hid_t did);
+herr_t H5DSget_nscales(hid_t did,
+ unsigned int dim,
+ int *nscales);
+
+
+herr_t H5DSiterate_scales(hid_t did,
+ unsigned int dim,
+ int *idx,
+ H5DS_iterate_t visitor,
+ void *visitor_data);
+
#ifdef __cplusplus
}