[svn-r2434] H5.intro.html

Datatypes.html
	Fixed confusing references to "simple datatypes."
	Minor edits.
This commit is contained in:
Frank Baker 2000-07-17 13:21:39 -05:00
parent 354ca36dc7
commit ca21737873
2 changed files with 10 additions and 4 deletions

View File

@ -2431,13 +2431,13 @@ in the HDF5 distribution.
<h2>10. Sharing Datatypes among Datasets</h2>
<p>If a file has lots of datasets which have a common datatype
<p>If a file has lots of datasets which have a common datatype,
then the file could be made smaller by having all the datasets
share a single datatype. Instead of storing a copy of the
datatype in each dataset object header, a single datatype is stored
and the object headers point to it. The space savings is
probably only significant for datasets with a compound datatype
since the simple datatypes can be described with just a few
probably only significant for datasets with a compound datatype,
since the atomic datatypes can be described with just a few
bytes anyway.
<p>To create a bunch of datasets that share a single datatype

View File

@ -390,7 +390,13 @@ Atomic datatypes can also be system-specific, or <I><CODE>NATIVE</CODE></I>, and
<FONT FACE="Times"><P>See <A HREF="Datatypes.html"><I>Datatypes</I></A> in the<I> HDF User&#146s Guide</I> for further information.</font>
<FONT FACE="Times"><P>A <I>compound datatype</I> is one in which a collection of simple datatypes are represented as a single unit, similar to a <I>struct</I> in C. The parts of a compound datatype are called <I>members.</I> The members of a compound datatype may be of any datatype, including another compound datatype. It is possible to read members from a compound type without reading the whole type.
<FONT FACE="Times"><P>A <I>compound datatype</I> is one in which a
collection of several datatypes are represented as a single unit,
a compound datatype, similar to a <I>struct</I> in C.
The parts of a compound datatype are called <I>members.</I>
The members of a compound datatype may be of any datatype,
including another compound datatype. It is possible to read members
from a compound type without reading the whole type.
<p>
<ta/FONT><I><P>Named datatypes.</I> Normally each dataset has its own datatype, but sometimes we may want to share a datatype among several datasets. This can be done using a <I>named </I>datatype. A named datatype is stored in the file independently of any dataset, and referenced by all datasets that have that datatype. Named datatypes may have an associated attributes list.
See <A HREF="Datatypes.html"><I>Datatypes</I></A></font><FONT FACE="Times"> in the<I> HDF User&#146s Guide</I> for further information.