[svn-r1539]
Datatypes.html
VLdatatypes.html (temporary doc file)
RM_H5T.html
RM_H5D.html
Adding variable-length datatype information to the user docs.
VLdatatypes.html is a temporary file; it will be removed once
all of the information is incorporated into Datatypes.html
and the RM.
This commit is contained in:
@@ -57,15 +57,17 @@ and set and retrieve their constant or persistent properties.
|
||||
<li><a href="#Dataset-Create">H5Dcreate</a>
|
||||
<li><a href="#Dataset-Open">H5Dopen</a>
|
||||
<li><a href="#Dataset-GetSpace">H5Dget_space</a>
|
||||
</ul>
|
||||
</td><td> </td><td valign=top>
|
||||
<ul>
|
||||
<li><a href="#Dataset-GetType">H5Dget_type</a>
|
||||
<li><a href="#Dataset-GetCreatePlist">H5Dget_create_plist</a>
|
||||
<li><a href="#Dataset-Read">H5Dread</a>
|
||||
</ul>
|
||||
</td><td> </td><td valign=top>
|
||||
<ul>
|
||||
<li><a href="#Dataset-GetCreatePlist">H5Dget_create_plist</a>
|
||||
<li><a href="#Dataset-GetVLBuff">H5Dget_vlen_buff_size</a>
|
||||
<li><a href="#Dataset-VLReclaim">H5Dvlen_reclaim</a>
|
||||
</ul>
|
||||
</td><td> </td><td valign=top>
|
||||
<ul>
|
||||
<li><a href="#Dataset-Read">H5Dread</a>
|
||||
<li><a href="#Dataset-Write">H5Dwrite</a>
|
||||
<li><a href="#Dataset-Extend">H5Dextend</a>
|
||||
<li><a href="#Dataset-Close">H5Dclose</a>
|
||||
@@ -228,6 +230,89 @@ and set and retrieve their constant or persistent properties.
|
||||
</dl>
|
||||
|
||||
|
||||
<hr>
|
||||
<dl>
|
||||
<dt><strong>Name:</strong> <a name="Dataset-GetVLBuff">H5Dget_vlen_buff_size</a>
|
||||
<i><b>(Not yet implemented.)</b></i>
|
||||
<dt><strong>Signature:</strong>
|
||||
<dd><em>herr_t </em><code>H5Dget_vlen_buff_size</code>(<em>hid_t </em><code>dataset_id</code>,
|
||||
<em>hid_t</em> <code>type_id</code>,
|
||||
<em>hid_t</em> <code>space_id</code>,
|
||||
<em>hsize_t</em> *<code>size</code>
|
||||
)
|
||||
<dt><strong>Purpose:</strong>
|
||||
<dd>Determines the number of bytes required to store VL data.
|
||||
<dt><strong>Description:</strong>
|
||||
<dd><code>H5Dget_vlen_buff_size</code> determines the number of bytes
|
||||
required to store the VL data from the dataset, using the
|
||||
<code>space_id</code> for the selection in the dataset on
|
||||
disk and the <code>type_id</code> for the memory representation
|
||||
of the VL data in memory.
|
||||
<p>
|
||||
<code>*size</code> is returned with the number of bytes are
|
||||
required to store the VL data in memory.
|
||||
<dt><strong>Parameters:</strong>
|
||||
<dl>
|
||||
<dt><em>hid_t</em> <code>dataset_id</code>
|
||||
<dd>Identifier of the dataset to query.
|
||||
<dt><em>hid_t</em> <code>type_id</code>
|
||||
<dd>Identifier of the datatype.
|
||||
<dt><em>hid_t</em> <code>space_id</code>
|
||||
<dd>Identifier of the dataspace.
|
||||
<dt><em>hsize_t</em> *<code>size</code>
|
||||
<dd>The size in bytes of the buffer required to store the VL data.
|
||||
</dl>
|
||||
<dt><strong>Returns:</strong>
|
||||
<dd>Returns non-negative value if successful;
|
||||
otherwise returns a negative value.
|
||||
</dl>
|
||||
|
||||
|
||||
<hr>
|
||||
<dl>
|
||||
<dt><strong>Name:</strong> <a name="Dataset-VLReclaim">H5Dvlen_reclaim</a>
|
||||
<dt><strong>Signature:</strong>
|
||||
<dd><em>herr_t </em><code>H5Dvlen_reclaim</code>(<em>hid_t </em><code>type_id</code>
|
||||
<em>hid_t</em> <code>space_id</code>,
|
||||
<em>hid_t</em> <code>plist_id</code>,
|
||||
<em>void</em> *<code>buf</code>
|
||||
)
|
||||
<dt><strong>Purpose:</strong>
|
||||
<dd>Reclaims VL datatype memory buffers.
|
||||
<dt><strong>Description:</strong>
|
||||
<dd><code>H5Dvlen_reclaim</code> reclaims memory buffers created to
|
||||
store VL datatypes.
|
||||
<p>
|
||||
The <code>type_id</code> must be the datatype stored in the buffer.
|
||||
The <code>space_id</code> describes the selection for the memory buffer
|
||||
to free the VL datatypes within.
|
||||
The <code>plist_id</code> is the dataset transfer property list which
|
||||
was used for the I/O transfer to create the buffer.
|
||||
And <code>buf</code> is the pointer to the buffer to be reclaimed.
|
||||
<p>
|
||||
The VL structures (<code>hvl_t</code>) in the user's buffer are
|
||||
modified to zero out the VL information after the memory has been reclaimed.
|
||||
<p>
|
||||
If nested VL datatypes were used to create the buffer,
|
||||
this routine frees them <em>from the bottom up</em>, releasing all
|
||||
the memory without creating memory leaks.
|
||||
<dt><strong>Parameters:</strong>
|
||||
<dl>
|
||||
<dt><em>hid_t</em> <code>type_id</code>
|
||||
<dd>Identifier of the datatype.
|
||||
<dt><em>hid_t</em> <code>space_id</code>
|
||||
<dd>Identifier of the dataspace.
|
||||
<dt><em>hid_t</em> <code>plist_id</code>
|
||||
<dd>Identifier of the property list used to create the buffer.
|
||||
<dt><em>void</em> *<code>buf</code>
|
||||
<dd>Pointer to the buffer to be reclaimed.
|
||||
</dl>
|
||||
<dt><strong>Returns:</strong>
|
||||
<dd>Returns non-negative value if successful;
|
||||
otherwise returns a negative value.
|
||||
</dl>
|
||||
|
||||
|
||||
<hr>
|
||||
<dl>
|
||||
<dt><strong>Name:</strong> <a name="Dataset-Read">H5Dread</a>
|
||||
|
||||
Reference in New Issue
Block a user