summaryrefslogtreecommitdiffstats
path: root/java/src/hdf/hdf5lib/callbacks/H5L_iterate_t.java
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2020-10-16 16:10:35 (GMT)
committerGitHub <noreply@github.com>2020-10-16 16:10:35 (GMT)
commit9bd2102b7747b255b570d428399151296baa17d1 (patch)
treeec69c69944fba94f3586c804b36091fa88d76b0c /java/src/hdf/hdf5lib/callbacks/H5L_iterate_t.java
parente6cda4817b303e2f984a31a8c20dd12f326772c5 (diff)
downloadhdf5-9bd2102b7747b255b570d428399151296baa17d1.zip
hdf5-9bd2102b7747b255b570d428399151296baa17d1.tar.gz
hdf5-9bd2102b7747b255b570d428399151296baa17d1.tar.bz2
Update javadoc comments to reduce warnings (#41)
Diffstat (limited to 'java/src/hdf/hdf5lib/callbacks/H5L_iterate_t.java')
-rw-r--r--java/src/hdf/hdf5lib/callbacks/H5L_iterate_t.java25
1 files changed, 23 insertions, 2 deletions
diff --git a/java/src/hdf/hdf5lib/callbacks/H5L_iterate_t.java b/java/src/hdf/hdf5lib/callbacks/H5L_iterate_t.java
index f92fbc4..d08001a 100644
--- a/java/src/hdf/hdf5lib/callbacks/H5L_iterate_t.java
+++ b/java/src/hdf/hdf5lib/callbacks/H5L_iterate_t.java
@@ -15,7 +15,28 @@ package hdf.hdf5lib.callbacks;
import hdf.hdf5lib.structs.H5L_info_t;
-// Information class for link callback (for H5Lvisit/H5Lvisit_by_name).
+/**
+ * Information class for link callback for H5Lvisit/H5Lvisit_by_name.
+ *
+ */
public interface H5L_iterate_t extends Callbacks {
- int callback(long group, String name, H5L_info_t info, H5L_iterate_opdata_t op_data);
+ /**
+ * application callback for each group
+ *
+ * @param loc_id the ID for the group being iterated over
+ * @param name the name of the current link
+ * @param info the link's "info" struct
+ * @param op_data the operator data passed in to H5Literate
+ *
+ * @return operation status
+ * A. Zero causes the iterator to continue, returning zero when all
+ * attributes have been processed.
+ * B. Positive causes the iterator to immediately return that positive
+ * value, indicating short-circuit success. The iterator can be
+ * restarted at the next attribute.
+ * C. Negative causes the iterator to immediately return that value,
+ * indicating failure. The iterator can be restarted at the next
+ * attribute.
+ */
+ int callback(long loc_id, String name, H5L_info_t info, H5L_iterate_opdata_t op_data);
}