| 1 | <refentry id="type.element"> |
| 2 | <?dbhtml filename="type.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>type</secondary></indexterm> |
| 11 | <refentrytitle>type</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>type</refname> |
| 16 | <refpurpose>&type.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &type.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | In general usage, <sgmltag>Type</sgmltag> identifies one member of a |
| 24 | class of values. |
| 25 | </para> |
| 26 | |
| 27 | <para> |
| 28 | In documenting computer programs, it identifies specifically a |
| 29 | <quote>type,</quote> as might be declared with <literal>typedef</literal> |
| 30 | in the C programming language. |
| 31 | </para> |
| 32 | |
| 33 | <refsect2><title>Processing expectations</title> |
| 34 | <para> |
| 35 | &format.inline; |
| 36 | </para> |
| 37 | </refsect2> |
| 38 | |
| 39 | &type.parents.gen; |
| 40 | &type.children.gen; |
| 41 | </refsect1> |
| 42 | <refsect1 condition='ref.elem.seealso'><title>See Also</title> |
| 43 | &type.seealso.gen; |
| 44 | </refsect1> |
| 45 | <refsect1><title>Examples</title> |
| 46 | |
| 47 | <informalexample role="example-source"> |
| 48 | <programlisting>&type.example.1.txt;</programlisting> |
| 49 | </informalexample> |
| 50 | |
| 51 | <anchor id="ex.os.type.1" role="HACK-ex.out.start"/> |
| 52 | &type.example.1.gen; |
| 53 | <anchor id="ex.oe.type.1" role="HACK-ex.out.end"/> |
| 54 | |
| 55 | &type.example.seealso.gen; |
| 56 | </refsect1> |
| 57 | </refentry> |
| 58 |