mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
Update javadoc comments to reduce warnings (#41)
This commit is contained in:
parent
e6cda4817b
commit
9bd2102b77
File diff suppressed because it is too large
Load Diff
@ -15,7 +15,28 @@ package hdf.hdf5lib.callbacks;
|
||||
|
||||
import hdf.hdf5lib.structs.H5A_info_t;
|
||||
|
||||
//Information class for link callback(for H5Aiterate)
|
||||
/**
|
||||
* Information class for link callback for H5Aiterate.
|
||||
*
|
||||
*/
|
||||
public interface H5A_iterate_cb extends Callbacks {
|
||||
int callback(long group, String name, H5A_info_t info, H5A_iterate_t op_data);
|
||||
/**
|
||||
* application callback for each attribute
|
||||
*
|
||||
* @param loc_id the ID for the group or dataset being iterated over
|
||||
* @param name the name of the current attribute about the object
|
||||
* @param info the attribute's "info" struct
|
||||
* @param op_data the operator data passed in to H5Aiterate
|
||||
*
|
||||
* @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, H5A_info_t info, H5A_iterate_t op_data);
|
||||
}
|
||||
|
@ -13,6 +13,10 @@
|
||||
|
||||
package hdf.hdf5lib.callbacks;
|
||||
|
||||
/**
|
||||
* Data class for link callback for H5Aiterate.
|
||||
*
|
||||
*/
|
||||
public interface H5A_iterate_t {
|
||||
/** public ArrayList iterdata = new ArrayList();
|
||||
* Any derived interfaces must define the single public variable as above.
|
||||
|
@ -13,7 +13,27 @@
|
||||
|
||||
package hdf.hdf5lib.callbacks;
|
||||
|
||||
//Information class for link callback(for H5Pset/get_append_flush)
|
||||
/**
|
||||
* Information class for link callback for H5Pset/get_append_flush.
|
||||
*
|
||||
*/
|
||||
public interface H5D_append_cb extends Callbacks {
|
||||
/**
|
||||
* application callback for each dataset access property list
|
||||
*
|
||||
* @param dataset_id the ID for the dataset being iterated over
|
||||
* @param cur_dims the dimension sizes for determining boundary
|
||||
* @param op_data the operator data passed in to H5Pset/get_append_flush
|
||||
*
|
||||
* @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 dataset_id, long[] cur_dims, H5D_append_t op_data);
|
||||
}
|
||||
|
@ -13,6 +13,10 @@
|
||||
|
||||
package hdf.hdf5lib.callbacks;
|
||||
|
||||
/**
|
||||
* Data class for link callback for H5Dappend.
|
||||
*
|
||||
*/
|
||||
public interface H5D_append_t {
|
||||
/** public ArrayList iterdata = new ArrayList();
|
||||
* Any derived interfaces must define the single public variable as above.
|
||||
|
@ -13,7 +13,29 @@
|
||||
|
||||
package hdf.hdf5lib.callbacks;
|
||||
|
||||
//Information class for link callback(for H5Diterate)
|
||||
/**
|
||||
* Information class for link callback for H5Diterate.
|
||||
*
|
||||
*/
|
||||
public interface H5D_iterate_cb extends Callbacks {
|
||||
/**
|
||||
* application callback for each dataset element
|
||||
*
|
||||
* @param elem the pointer to the element in memory containing the current point
|
||||
* @param elem_type the datatype ID for the elements stored in elem
|
||||
* @param ndim the number of dimensions for POINT array
|
||||
* @param point the array containing the location of the element within the original dataspace
|
||||
* @param op_data the operator data passed in to H5Diterate
|
||||
*
|
||||
* @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(byte[] elem, long elem_type, int ndim, long[] point, H5D_iterate_t op_data);
|
||||
}
|
||||
|
@ -13,6 +13,10 @@
|
||||
|
||||
package hdf.hdf5lib.callbacks;
|
||||
|
||||
/**
|
||||
* Data class for link callback for H5Diterate.
|
||||
*
|
||||
*/
|
||||
public interface H5D_iterate_t {
|
||||
/** public ArrayList iterdata = new ArrayList();
|
||||
* Any derived interfaces must define the single public variable as above.
|
||||
|
@ -15,7 +15,27 @@ package hdf.hdf5lib.callbacks;
|
||||
|
||||
import hdf.hdf5lib.structs.H5E_error2_t;
|
||||
|
||||
//Information class for link callback(for H5Ewalk)
|
||||
/**
|
||||
* Information class for link callback for H5Ewalk.
|
||||
*
|
||||
*/
|
||||
public interface H5E_walk_cb extends Callbacks {
|
||||
/**
|
||||
* application callback for each error stack element
|
||||
*
|
||||
* @param nidx the index of the current error stack element
|
||||
* @param info the error stack "info" struct
|
||||
* @param op_data the operator data passed in to H5Ewalk
|
||||
*
|
||||
* @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(int nidx, H5E_error2_t info, H5E_walk_t op_data);
|
||||
}
|
||||
|
@ -13,6 +13,10 @@
|
||||
|
||||
package hdf.hdf5lib.callbacks;
|
||||
|
||||
/**
|
||||
* Data class for link callback for H5Ewalk.
|
||||
*
|
||||
*/
|
||||
public interface H5E_walk_t {
|
||||
/** public ArrayList iterdata = new ArrayList();
|
||||
* Any derived interfaces must define the single public variable as above.
|
||||
|
@ -13,6 +13,10 @@
|
||||
|
||||
package hdf.hdf5lib.callbacks;
|
||||
|
||||
/**
|
||||
* Data class for link callback for H5Lvisit/H5Lvisit_by_name.
|
||||
*
|
||||
*/
|
||||
public interface H5L_iterate_opdata_t {
|
||||
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -13,6 +13,10 @@
|
||||
|
||||
package hdf.hdf5lib.callbacks;
|
||||
|
||||
/**
|
||||
* Data class for link callback for H5Ovisit/H5Ovisit_by_name.
|
||||
*
|
||||
*/
|
||||
public interface H5O_iterate_opdata_t {
|
||||
|
||||
}
|
||||
|
@ -15,7 +15,28 @@ package hdf.hdf5lib.callbacks;
|
||||
|
||||
import hdf.hdf5lib.structs.H5O_info_t;
|
||||
|
||||
// Information class for link callback(for H5Ovisit/H5Ovisit_by_name)
|
||||
/**
|
||||
* Information class for link callback for H5Ovisit/H5Ovisit_by_name.
|
||||
*
|
||||
*/
|
||||
public interface H5O_iterate_t extends Callbacks {
|
||||
int callback(long group, String name, H5O_info_t info, H5O_iterate_opdata_t op_data);
|
||||
/**
|
||||
* application callback for each group
|
||||
*
|
||||
* @param loc_id the ID for the group or dataset being iterated over
|
||||
* @param name the name of the current object
|
||||
* @param info the object's "info" struct
|
||||
* @param op_data the operator data passed in to H5Oiterate
|
||||
*
|
||||
* @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, H5O_info_t info, H5O_iterate_opdata_t op_data);
|
||||
}
|
||||
|
@ -13,7 +13,26 @@
|
||||
|
||||
package hdf.hdf5lib.callbacks;
|
||||
|
||||
//Information class for link callback(for H5Pcreate_class)
|
||||
/**
|
||||
* Information class for link callback for H5Pcreate_class.
|
||||
*
|
||||
*/
|
||||
public interface H5P_cls_close_func_cb extends Callbacks {
|
||||
/**
|
||||
* application callback for each property list
|
||||
*
|
||||
* @param prop_id the ID for the property list class being iterated over
|
||||
* @param close_data the function to call when a property list is closed
|
||||
*
|
||||
* @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 prop_id, H5P_cls_close_func_t close_data);
|
||||
}
|
||||
|
@ -13,6 +13,10 @@
|
||||
|
||||
package hdf.hdf5lib.callbacks;
|
||||
|
||||
/**
|
||||
* Data class for link callback for H5Pcreate_class.
|
||||
*
|
||||
*/
|
||||
public interface H5P_cls_close_func_t {
|
||||
/** public ArrayList iterdata = new ArrayList();
|
||||
* Any derived interfaces must define the single public variable as above.
|
||||
|
@ -13,7 +13,27 @@
|
||||
|
||||
package hdf.hdf5lib.callbacks;
|
||||
|
||||
//Information class for link callback(for H5Pcreate_class)
|
||||
/**
|
||||
* Information class for link callback for H5Pcreate_class
|
||||
*
|
||||
*/
|
||||
public interface H5P_cls_copy_func_cb extends Callbacks {
|
||||
/**
|
||||
* application callback for each property list
|
||||
*
|
||||
* @param new_prop_id the ID for the property list copy
|
||||
* @param old_prop_id the ID for the property list class being copied
|
||||
* @param copy_data the function to call when each property list in this class is copied
|
||||
*
|
||||
* @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 new_prop_id, long old_prop_id, H5P_cls_copy_func_t copy_data);
|
||||
}
|
||||
|
@ -13,6 +13,10 @@
|
||||
|
||||
package hdf.hdf5lib.callbacks;
|
||||
|
||||
/**
|
||||
* Data class for link callback for H5Pcreate_class.
|
||||
*
|
||||
*/
|
||||
public interface H5P_cls_copy_func_t {
|
||||
/** public ArrayList iterdata = new ArrayList();
|
||||
* Any derived interfaces must define the single public variable as above.
|
||||
|
@ -13,7 +13,26 @@
|
||||
|
||||
package hdf.hdf5lib.callbacks;
|
||||
|
||||
//Information class for link callback(for H5Pcreate_class)
|
||||
/**
|
||||
* Information class for link callback for H5Pcreate_class.
|
||||
*
|
||||
*/
|
||||
public interface H5P_cls_create_func_cb extends Callbacks {
|
||||
/**
|
||||
* application callback for each property list
|
||||
*
|
||||
* @param prop_id the ID for the property list class being iterated over
|
||||
* @param create_data the function to call when each property list in this class is created
|
||||
*
|
||||
* @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 prop_id, H5P_cls_create_func_t create_data);
|
||||
}
|
||||
|
@ -13,6 +13,10 @@
|
||||
|
||||
package hdf.hdf5lib.callbacks;
|
||||
|
||||
/**
|
||||
* Data class for link callback for H5Pcreate_class.
|
||||
*
|
||||
*/
|
||||
public interface H5P_cls_create_func_t {
|
||||
/** public ArrayList iterdata = new ArrayList();
|
||||
* Any derived interfaces must define the single public variable as above.
|
||||
|
@ -13,7 +13,27 @@
|
||||
|
||||
package hdf.hdf5lib.callbacks;
|
||||
|
||||
//Information class for link callback(for H5Piterate)
|
||||
/**
|
||||
* Information class for link callback for H5Piterate.
|
||||
*
|
||||
*/
|
||||
public interface H5P_iterate_cb extends Callbacks {
|
||||
/**
|
||||
* application callback for each property list
|
||||
*
|
||||
* @param plist the ID for the property list being iterated over
|
||||
* @param name the name of the current property list
|
||||
* @param op_data the operator data passed in to H5Piterate
|
||||
*
|
||||
* @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 plist, String name, H5P_iterate_t op_data);
|
||||
}
|
||||
|
@ -13,6 +13,10 @@
|
||||
|
||||
package hdf.hdf5lib.callbacks;
|
||||
|
||||
/**
|
||||
* Data class for link callback for H5Piterate.
|
||||
*
|
||||
*/
|
||||
public interface H5P_iterate_t {
|
||||
/** public ArrayList iterdata = new ArrayList();
|
||||
* Any derived interfaces must define the single public variable as above.
|
||||
|
@ -13,7 +13,27 @@
|
||||
|
||||
package hdf.hdf5lib.callbacks;
|
||||
|
||||
//Information class for link callback(for H5Pregister2)
|
||||
/**
|
||||
* Information class for link callback for H5Pregister2.
|
||||
*
|
||||
*/
|
||||
public interface H5P_prp_close_func_cb extends Callbacks {
|
||||
/**
|
||||
* application callback for each property list
|
||||
*
|
||||
* @param name the name of the property being closed
|
||||
* @param size the size of the property value
|
||||
* @param value the value of the property being closed
|
||||
*
|
||||
* @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(String name, long size, byte[] value);
|
||||
}
|
||||
|
@ -13,7 +13,27 @@
|
||||
|
||||
package hdf.hdf5lib.callbacks;
|
||||
|
||||
//Information class for link callback(for H5Pregister2)
|
||||
/**
|
||||
* Information class for link callback for H5Pregister2.
|
||||
*
|
||||
*/
|
||||
public interface H5P_prp_compare_func_cb extends Callbacks {
|
||||
/**
|
||||
* application callback for each property list
|
||||
*
|
||||
* @param value1 the value of the first property being compared
|
||||
* @param value2 the value of the second property being compared
|
||||
* @param size the size of the property value
|
||||
*
|
||||
* @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(byte[] value1, byte[] value2, long size);
|
||||
}
|
||||
|
@ -13,7 +13,27 @@
|
||||
|
||||
package hdf.hdf5lib.callbacks;
|
||||
|
||||
//Information class for link callback(for H5Pregister2)
|
||||
/**
|
||||
* Information class for link callback for H5Pregister2.
|
||||
*
|
||||
*/
|
||||
public interface H5P_prp_copy_func_cb extends Callbacks {
|
||||
/**
|
||||
* application callback for each property list
|
||||
*
|
||||
* @param name the name of the property being copied
|
||||
* @param size the size of the property value
|
||||
* @param value the value of the property being copied
|
||||
*
|
||||
* @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(String name, long size, byte[] value);
|
||||
}
|
||||
|
@ -13,7 +13,27 @@
|
||||
|
||||
package hdf.hdf5lib.callbacks;
|
||||
|
||||
//Information class for link callback(for H5Pregister2)
|
||||
/**
|
||||
* Information class for link callback for H5Pregister2.
|
||||
*
|
||||
*/
|
||||
public interface H5P_prp_create_func_cb extends Callbacks {
|
||||
/**
|
||||
* application callback for each property list
|
||||
*
|
||||
* @param name the name of the property list being created
|
||||
* @param size the size of the property value
|
||||
* @param value the initial value for the property being created
|
||||
*
|
||||
* @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(String name, long size, byte[] value);
|
||||
}
|
||||
|
@ -13,7 +13,28 @@
|
||||
|
||||
package hdf.hdf5lib.callbacks;
|
||||
|
||||
//Information class for link callback(for H5Pregister2)
|
||||
/**
|
||||
* Information class for link callback for H5Pregister2.
|
||||
*
|
||||
*/
|
||||
public interface H5P_prp_delete_func_cb extends Callbacks {
|
||||
/**
|
||||
* application callback for each property list
|
||||
*
|
||||
* @param prop_id the ID of the property list the property is deleted from
|
||||
* @param name the name of the property being deleted
|
||||
* @param size the size of the property value
|
||||
* @param value the value of the property being deleted
|
||||
*
|
||||
* @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 prop_id, String name, long size, byte[] value);
|
||||
}
|
||||
|
@ -13,7 +13,28 @@
|
||||
|
||||
package hdf.hdf5lib.callbacks;
|
||||
|
||||
//Information class for link callback(for H5Pregister2)
|
||||
/**
|
||||
* Information class for link callback for H5Pregister2.
|
||||
*
|
||||
*/
|
||||
public interface H5P_prp_get_func_cb extends Callbacks {
|
||||
/**
|
||||
* application callback for each property list
|
||||
*
|
||||
* @param prop_id the ID for the property list being queried
|
||||
* @param name the name of the property being queried
|
||||
* @param size the size of the property value
|
||||
* @param value the value being retrieved for the property
|
||||
*
|
||||
* @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 prop_id, String name, long size, byte[] value);
|
||||
}
|
||||
|
@ -13,7 +13,28 @@
|
||||
|
||||
package hdf.hdf5lib.callbacks;
|
||||
|
||||
//Information class for link callback(for H5Pregister2)
|
||||
/**
|
||||
* Information class for link callback for H5Pregister2.
|
||||
*
|
||||
*/
|
||||
public interface H5P_prp_set_func_cb extends Callbacks {
|
||||
/**
|
||||
* application callback for each property list
|
||||
*
|
||||
* @param prop_id the ID for the property list being modified
|
||||
* @param name the name of the property being modified
|
||||
* @param size the size of the property value
|
||||
* @param value the value being set for the property
|
||||
*
|
||||
* @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 prop_id, String name, long size, byte[] value);
|
||||
}
|
||||
|
@ -31,6 +31,9 @@ package hdf.hdf5lib.exceptions;
|
||||
*
|
||||
*/
|
||||
public class HDF5Exception extends RuntimeException {
|
||||
/**
|
||||
* the specified detail message of this exception
|
||||
*/
|
||||
protected String detailMessage;
|
||||
|
||||
/**
|
||||
|
@ -13,6 +13,12 @@
|
||||
|
||||
package hdf.hdf5lib.exceptions;
|
||||
|
||||
/**
|
||||
* The class HDF5LibraryException returns errors raised by the HDF5 library.
|
||||
* <p>
|
||||
* This sub-class represents HDF-5 major error code <b>H5E_REFERENCE</b>
|
||||
*/
|
||||
|
||||
public class HDF5ReferenceException extends HDF5LibraryException {
|
||||
/**
|
||||
* Constructs an <code>HDF5ReferenceException</code> with no specified
|
||||
|
@ -15,7 +15,10 @@ package hdf.hdf5lib.structs;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
//Information struct for H5Pget_mdc_config/H5Pset_mdc_config
|
||||
/**
|
||||
* Information struct for H5Pget_mdc_config/H5Pset_mdc_config
|
||||
*
|
||||
*/
|
||||
public class H5AC_cache_config_t implements Serializable{
|
||||
private static final long serialVersionUID = -6748085696476149972L;
|
||||
// general configuration fields:
|
||||
|
@ -15,7 +15,10 @@ package hdf.hdf5lib.structs;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
//Information struct for Attribute (For H5Aget_info/H5Aget_info_by_idx/H5Aget_info_by_name)
|
||||
/**
|
||||
* Information struct for Attribute (For H5Aget_info/H5Aget_info_by_idx/H5Aget_info_by_name)
|
||||
*
|
||||
*/
|
||||
public class H5A_info_t implements Serializable{
|
||||
private static final long serialVersionUID = 2791443594041667613L;
|
||||
public boolean corder_valid; // Indicate if creation order is valid
|
||||
|
@ -15,7 +15,10 @@ package hdf.hdf5lib.structs;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
//Information struct for Attribute (For H5Ewalk)
|
||||
/**
|
||||
* Information struct for Attribute (For H5Ewalk)
|
||||
*
|
||||
*/
|
||||
public class H5E_error2_t implements Serializable{
|
||||
private static final long serialVersionUID = 279144359041667613L;
|
||||
|
||||
|
@ -16,7 +16,7 @@ package hdf.hdf5lib.structs;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/*
|
||||
/**
|
||||
* Java representation of the HDFS VFD file access property list (fapl)
|
||||
* structure.
|
||||
*
|
||||
|
@ -16,7 +16,7 @@ package hdf.hdf5lib.structs;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/*
|
||||
/**
|
||||
* Java representation of the ROS3 VFD file access property list (fapl)
|
||||
* structure.
|
||||
*
|
||||
|
@ -15,7 +15,10 @@ package hdf.hdf5lib.structs;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
//Information struct for object (for H5Fget_info)
|
||||
/**
|
||||
* Information struct for object (for H5Fget_info)
|
||||
*
|
||||
*/
|
||||
public class H5F_info2_t implements Serializable{
|
||||
private static final long serialVersionUID = 4691681162544054518L;
|
||||
public int super_version; // Superblock version #
|
||||
|
@ -15,7 +15,10 @@ package hdf.hdf5lib.structs;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
//Information struct for group (for H5Gget_info/H5Gget_info_by_name/H5Gget_info_by_idx)
|
||||
/**
|
||||
* Information struct for group (for H5Gget_info/H5Gget_info_by_name/H5Gget_info_by_idx)
|
||||
*
|
||||
*/
|
||||
public class H5G_info_t implements Serializable{
|
||||
private static final long serialVersionUID = -3746463015312132912L;
|
||||
public int storage_type; // Type of storage for links in group
|
||||
|
@ -17,7 +17,10 @@ import java.io.Serializable;
|
||||
|
||||
import hdf.hdf5lib.HDF5Constants;
|
||||
|
||||
// Information struct for link (for H5Lget_info/H5Lget_info_by_idx)
|
||||
/**
|
||||
* Information struct for link (for H5Lget_info/H5Lget_info_by_idx)
|
||||
*
|
||||
*/
|
||||
public class H5L_info_t implements Serializable {
|
||||
private static final long serialVersionUID = -4754320605310155033L;
|
||||
public int type;
|
||||
|
@ -15,7 +15,10 @@ package hdf.hdf5lib.structs;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
// Information struct for object header metadata (for H5Oget_info/H5Oget_info_by_name/H5Oget_info_by_idx)
|
||||
/**
|
||||
* Information struct for object header metadata (for H5Oget_info/H5Oget_info_by_name/H5Oget_info_by_idx)
|
||||
*
|
||||
*/
|
||||
public class H5O_hdr_info_t implements Serializable {
|
||||
private static final long serialVersionUID = 7883826382952577189L;
|
||||
public int version; /* Version number of header format in file */
|
||||
@ -56,25 +59,25 @@ public class H5O_hdr_info_t implements Serializable {
|
||||
H5O_hdr_info_t info = (H5O_hdr_info_t) o;
|
||||
|
||||
if (this.version != info.version)
|
||||
return false;
|
||||
return false;
|
||||
if (this.nmesgs != info.nmesgs)
|
||||
return false;
|
||||
return false;
|
||||
if (this.nchunks != info.nchunks)
|
||||
return false;
|
||||
return false;
|
||||
if (this.flags != info.flags)
|
||||
return false;
|
||||
return false;
|
||||
if (this.space_total != info.space_total)
|
||||
return false;
|
||||
return false;
|
||||
if (this.space_meta != info.space_meta)
|
||||
return false;
|
||||
return false;
|
||||
if (this.space_mesg != info.space_mesg)
|
||||
return false;
|
||||
return false;
|
||||
if (this.space_free != info.space_free)
|
||||
return false;
|
||||
return false;
|
||||
if (this.mesg_present != info.mesg_present)
|
||||
return false;
|
||||
return false;
|
||||
if (this.mesg_shared != info.mesg_shared)
|
||||
return false;
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -15,7 +15,10 @@ package hdf.hdf5lib.structs;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
// Information struct for object (for H5Oget_info/H5Oget_info_by_name/H5Oget_info_by_idx)
|
||||
/**
|
||||
* Information struct for object (for H5Oget_info/H5Oget_info_by_name/H5Oget_info_by_idx)
|
||||
*
|
||||
*/
|
||||
public class H5O_info_t implements Serializable {
|
||||
private static final long serialVersionUID = 4691681163544054518L;
|
||||
public long fileno; /* File number that object is located in */
|
||||
|
@ -15,7 +15,10 @@ package hdf.hdf5lib.structs;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
// Information struct for native HDF5 object info, such as object header metadata (for H5Oget_info/H5Oget_info_by_name/H5Oget_info_by_idx).
|
||||
/**
|
||||
* Information struct for native HDF5 object info, such as object header metadata (for H5Oget_info/H5Oget_info_by_name/H5Oget_info_by_idx).
|
||||
*
|
||||
*/
|
||||
public class H5O_native_info_t implements Serializable {
|
||||
private static final long serialVersionUID = 7883826382952577189L;
|
||||
|
||||
@ -45,7 +48,7 @@ public class H5O_native_info_t implements Serializable {
|
||||
if (!this.hdr_info.equals(info.hdr_info)
|
||||
|| !this.obj_info.equals(info.obj_info)
|
||||
|| !this.attr_info.equals(info.attr_info))
|
||||
return false;
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -17,7 +17,10 @@ import java.util.Arrays;
|
||||
|
||||
import hdf.hdf5lib.HDF5Constants;
|
||||
|
||||
// Object token, which is a unique and permanent identifier, for an HDF5 object within a container.
|
||||
/**
|
||||
* Object token, which is a unique and permanent identifier, for an HDF5 object within a container.
|
||||
*
|
||||
*/
|
||||
public class H5O_token_t implements Serializable {
|
||||
private static final long serialVersionUID = -4754320605310155032L;
|
||||
public byte[] data;
|
||||
|
@ -15,7 +15,10 @@ package hdf.hdf5lib.structs;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
//Information struct for group (for H5Gget_info/H5Gget_info_by_name/H5Gget_info_by_idx)
|
||||
/**
|
||||
* Information struct for group (for H5Gget_info/H5Gget_info_by_name/H5Gget_info_by_idx)
|
||||
*
|
||||
*/
|
||||
public class H5_ih_info_t implements Serializable {
|
||||
private static final long serialVersionUID = -142238015615462707L;
|
||||
public long index_size; /* btree and/or list */
|
||||
@ -38,9 +41,9 @@ public class H5_ih_info_t implements Serializable {
|
||||
H5_ih_info_t info = (H5_ih_info_t) o;
|
||||
|
||||
if (this.index_size != info.index_size)
|
||||
return false;
|
||||
return false;
|
||||
if (this.heap_size != info.heap_size)
|
||||
return false;
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -593,7 +593,7 @@ done:
|
||||
* Function: H5Pset_fapl_hdfs
|
||||
*
|
||||
* Purpose: Modify the file access property list to use the H5FD_HDFS
|
||||
* driver defined in this source file. All driver specfic
|
||||
* driver defined in this source file. All driver specific
|
||||
* properties are passed in as a pointer to a suitably
|
||||
* initialized instance of H5FD_hdfs_fapl_t
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user