From 5a6bfd1ae36f2ff2236b84d3c714b2786840d595 Mon Sep 17 00:00:00 2001
From: Frank Baker
Date: Mon, 23 Jun 2003 16:06:40 -0500
Subject: [svn-r7087] Purpose: Review feedback. Change "Development
notes" to user notes. New fill_time value (H5D_FILL_TIME_IFSET).
Formatting fix and copy edits.
Description:
(Based primarily on review feedback and developer consultations)
H5Pset_hyper_vector_size -- Clarification on timing.
H5Pmodify_filter -- dapl .vs. dcpl clarification.
H5Pset_filter_by_id -- dapl .vs. dcpl clarification.
H5Pset_szip -- Copy edits.
5Pset_fill_time -- Added new fill_time value, H5D_FILL_TIME_IFSET.
H5Pset_fill_value, H5Pfill_value_defined,
H5Pset_fill_time, H5Pset_alloc_time
-- Added H5Dcreate x-ref to "Notes."
H5Pcreate_class, H5Pregister, H5Pinsert
-- Convert some "development notes" to user notes; delete others.
-- Formatting rework in H5Pregister "Parameters."
Platforms tested:
IE 5, Safari
---
doc/html/RM_H5P.html | 196 +++++++++++++++++++++++----------------------------
1 file changed, 90 insertions(+), 106 deletions(-)
diff --git a/doc/html/RM_H5P.html b/doc/html/RM_H5P.html
index 69c63df..16172bb 100644
--- a/doc/html/RM_H5P.html
+++ b/doc/html/RM_H5P.html
@@ -859,14 +859,6 @@ facilitate moving easily between them.
-->
-
- Edit or Delete -- Comments, Bugs, Assumptions:
- I would like to say "the property list is not closed" when a _close_
- routine fails, but I don't think that's possible due to other properties in
- the list being successfully closed & removed from the property list. I
- suppose that it would be possible to just remove the properties which have
- successful _close_ callbacks, but I'm not happy with the ramifications of
- a mangled, un-closable property list hanging around... Any comments?
@@ -1017,8 +1009,19 @@ facilitate moving easily between them.
set
routine returns an error value.
The set
routine will not be called for the initial
value, only the create
routine will be called.
-
+
+ Note:
+ The set
callback function may be useful
+ to range check the value being set for the property
+ or may perform some tranformation or translation of the
+ value set. The get
callback would then
+ reverse the transformation or translation.
+ A single get
or set
callback
+ could handle multiple properties by
+ performing different actions based on the
+ property name or other properties in the property list.
+
The get
routine is called when a value is retrieved
from a property value.
The H5P_prp_get_func_t
callback function is defined
@@ -1143,47 +1146,38 @@ facilitate moving easily between them.
If the close
routine returns a negative value,
the property list close routine returns an error value but
the property list is still closed.
-
Parameters:
-
-
- hid_t class |
- IN: Property list class to register permanent property
- within |
-
- const char * name |
- IN: Name of property to register |
-
- size_t size |
- IN: Size of property in bytes |
-
- void * default |
- IN: Default value for property in newly created property
- lists |
-
- H5P_prp_create_func_t create |
- IN: Callback routine called when a property list is being
- created and the property value will be initialized |
-
- H5P_prp_set_func_t set |
- IN: Callback routine called before a new value is copied
- into the property's value |
-
- H5P_prp_get_func_t get |
- IN: Callback routine called when a property value is
- retrieved from the property |
-
- H5P_prp_delete_func_t delete |
- IN: Callback routine called when a property is deleted from
- a property list |
-
- H5P_prp_copy_func_t copy |
- IN: Callback routine called when a property is copied from
- a property list |
-
- H5P_prp_close_func_t close |
- IN: Callback routine called when a property list is being
- closed and the property value will be disposed of |
-
+
+Parameters:
+
+ hid_t
class
+ - IN: Property list class to register permanent property
+ within
+
const char *
name
+ - IN: Name of property to register
+
size_t
size
+ - IN: Size of property in bytes
+
void *
default
+ - IN: Default value for property in newly created property
+ lists
+
H5P_prp_create_func_t
create
+ - IN: Callback routine called when a property list is being
+ created and the property value will be initialized
+
H5P_prp_set_func_t
set
+ - IN: Callback routine called before a new value is copied
+ into the property's value
+
H5P_prp_get_func_t
get
+ - IN: Callback routine called when a property value is
+ retrieved from the property
+
H5P_prp_delete_func_t
delete
+ - IN: Callback routine called when a property is deleted from
+ a property list
+
H5P_prp_copy_func_t
copy
+ - IN: Callback routine called when a property is copied from
+ a property list
+
H5P_prp_close_func_t
close
+ - IN: Callback routine called when a property list is being
+ closed and the property value will be disposed of
+
Returns:
Success: a non-negative value
@@ -1196,21 +1190,6 @@ facilitate moving easily between them.
-->
-
- Edit or Remove -- Comments, Bugs, Assumptions:
- The set
callback function may be useful to range check the value being
- set for the property or may perform some tranformation/translation of the
- value set. The get
callback would then [probably] reverse the
- transformation, etc. A single get
or set
callback could
- handle multiple properties by performing different actions based on the
- property name or other properties in the property list.
-
- I would like to say "the property list is not closed" when a close
- routine fails, but I don't think that's possible due to other properties in
- the list being successfully closed and removed from the property list. I
- suppose that it would be possible to just remove the properties which have
- successful close
callbacks, but I'm not happy with the ramifications
- of a mangled, un-closable property list hanging around... Any comments?
@@ -1290,8 +1269,19 @@ facilitate moving easily between them.
property value is not copied into the property and the set routine
returns an error value.
The set
routine will be called for the initial value.
-
+
+ Note:
+ The set
callback function may be useful
+ to range check the value being set for the property
+ or may perform some tranformation or translation of the
+ value set. The get
callback would then
+ reverse the transformation or translation.
+ A single get
or set
callback
+ could handle multiple properties by
+ performing different actions based on the
+ property name or other properties in the property list.
+
The get
routine is called when a value is retrieved
from a property value.
The H5P_prp_get_func_t
callback functioin is defined
@@ -1414,6 +1404,12 @@ facilitate moving easily between them.
property list close routine returns an error value but the property list
is still closed.
+
+ Note:
+ There is no create
callback routine for temporary property
+ list objects; the initial value is assumed to have any necessary setup
+ already performed on it.
+
Parameters:
@@ -1462,29 +1458,6 @@ facilitate moving easily between them.
-->
-
- - Edit or Remove -- Comments, Bugs, Assumptions:
-
- The
set
callback function may be useful to range check
- the value being set for the property or may perform some
- tranformation/translation of the value set. The get
callback
- would then [probably] reverse the transformation, etc. A single
- get
or set
callback could handle
- multiple properties by performing different actions based on the
- property name or other properties in the property list.
-
-
- There is no create
callback routine for temporary property
- list objects, the initial value is assumed to have any necessary setup
- already performed on it.
-
-
- I would like to say "the property list is not closed" when a close
- routine fails, but I don't think that's possible due to other properties in
- the list being successfully closed and removed from the property list. I
- suppose that it would be possible to just remove the properties which have
- successful close
callbacks, but I'm not happy with the
- ramifications of a mangled, un-closable property list hanging around...
- Any comments?
@@ -3083,6 +3056,8 @@ facilitate moving easily between them.
write operations and can be important in tuning application
performance.
+ See H5Dcreate for
+ further cross-references.
- Parameters:
- hid_t
plist_id
@@ -3203,6 +3178,8 @@ facilitate moving easily between them.
concert with the dataset fill value properties functions
H5Pget_fill_value
and H5Pget_fill_time
.
+ See H5Dcreate for
+ further cross-references.
- Parameters:
- hid_t
plist_id
@@ -3239,12 +3216,18 @@ facilitate moving easily between them.
Timing is specified in fill_time
with one of the following values:
- |
- H5D_FILL_TIME_ALLOC
+ |
|
+ H5D_FILL_TIME_IFSET
|
- Write fill values to the dataset when storage space is allocated.
+ Write fill values to the dataset when storage space is allocated
+ only if there is a user-defined fill value, i.e., one set with
+ H5Pset_fill_value.
(Default)
- |
+ |
|
+ H5D_FILL_TIME_ALLOC
+ |
+ Write fill values to the dataset when storage space is allocated.
+ |
|
H5D_FILL_TIME_NEVER
|
Never write fill values to the dataset.
@@ -3255,6 +3238,8 @@ facilitate moving easily between them.
dataset storage allocation time properties, set with the functions
H5Pset_fill_value and H5Pset_alloc_time .
+ See H5Dcreate for
+ further cross-references.
- Parameters:
- hid_t
plist_id
@@ -3381,6 +3366,9 @@ facilitate moving easily between them.
set with the functions
H5Pset_fill_value and H5Pset_fill_time .
+
+ See H5Dcreate for
+ further cross-references.
- Parameters:
- hid_t
plist_id
@@ -3767,10 +3755,8 @@ facilitate moving easily between them.
H5Pget_filter_by_id returns information about the
filter specified in filter , a filter identifier.
- If plist_id identifies a dataset creation property list,
- filter will be in a permanent filter pipeline.
- If plist_id identifies a data transfer property list,
- filter will be in a transient filter pipeline.
+ plist_id must identify a dataset creation property list
+ and filter will be in a permanent filter pipeline.
The filter and flags parameters are used
in the same manner as described in the discussion of
@@ -3842,10 +3828,8 @@ facilitate moving easily between them.
- Description:
H5Pmodify_filter modifies the specified
filter in the filter pipeline.
- If plist is a dataset creation property list,
- the modified filter is in a permanent filter pipeline;
- if plist is a dataset transfer property list,
- the modified filter is in a transient filter pipeline.
+ plist must be a dataset creation property list
+ and the modified filter will be in a permanent filter pipeline.
The filter , flags
cd_nelmts[] , and cd_values parameters
@@ -3973,9 +3957,9 @@ facilitate moving easily between them.
- Purpose:
- Sets up use of the szip compression filter.
- Description:
-
H5Pset_szip sets the dataset compression method
+ H5Pset_szip sets a filter for the dataset
to szip compression, H5Z_FILTER_SZIP ,
- a compression designed for use with scientific data.
+ a compression method designed for use with scientific data.
Szip options are passed in an options mask, options_mask ,
as follows.
@@ -4072,7 +4056,7 @@ facilitate moving easily between them.
16 , and 32 .
The more pixel values vary, the smaller this number should be.
For optimal performance, the number of pixels per scan line
- (i.e., the size of the fastest-changing dimension in the dataspace)
+ (i.e., the size of the fastest-changing dimension in the chunk)
should be an even multiple of the number of pixels per block.
- Notes:
@@ -4794,7 +4778,7 @@ facilitate moving easily between them.
actual data.
The I/O vectors are hyperslab offset and length pairs
- and are set at the time of the definition of the hyperslab.
+ and are generated during hyperslab I/O.
The number of I/O vectors is passed in vector_size
to be set in the dataset transfer property list dxpl_id .
@@ -7623,7 +7607,7 @@ And in this document, the
Describes HDF5 Release 1.5, Unreleased Development Branch
-Last modified: 6 June 2003
+Last modified: 23 June 2003
|