| 1 | <refentry id="methodparam.element" revision='4.0'> |
| 2 | <?dbhtml filename="methodparam.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>methodparam</secondary></indexterm> |
| 11 | <refentrytitle>methodparam</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>methodparam</refname> |
| 16 | <refpurpose>&methodparam.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &methodparam.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | In the syntax summary of a <sgmltag>ConstructorSynopsis</sgmltag>, |
| 24 | <sgmltag>DestructorSynopsis</sgmltag>, or |
| 25 | <sgmltag>MethodSynopsis</sgmltag>, |
| 26 | <sgmltag>MethodParam</sgmltag> provides the description of a parameter to the |
| 27 | method. Typically, this includes the data type of the parameter |
| 28 | and its name, but may also include an initial value and other modifiers. |
| 29 | </para> |
| 30 | |
| 31 | <refsect2><title>Processing expectations</title> |
| 32 | <para> |
| 33 | &format.inline; For a complete description of the processing expectations, |
| 34 | see <sgmltag>ClassSynopsis</sgmltag>. |
| 35 | </para> |
| 36 | </refsect2> |
| 37 | |
| 38 | |
| 39 | |
| 40 | &methodparam.parents.gen; |
| 41 | &methodparam.children.gen; |
| 42 | </refsect1> |
| 43 | <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title> |
| 44 | <variablelist> |
| 45 | <varlistentry><term>choice</term> |
| 46 | <listitem> |
| 47 | <para revision="4.0"> |
| 48 | <sgmltag class="attribute">Choice</sgmltag> indicates whether the |
| 49 | <sgmltag>MethodParam</sgmltag> |
| 50 | is required (<literal>Req</literal> or <literal>Plain</literal>) or |
| 51 | optional (<literal>Opt</literal>). Arguments identified as |
| 52 | <literal>Plain</literal> are required, but are shown without additional |
| 53 | decoration.</para> |
| 54 | </listitem> |
| 55 | </varlistentry> |
| 56 | <varlistentry><term>rep</term> |
| 57 | <listitem> |
| 58 | <para revision="4.0"> |
| 59 | A <sgmltag class="attribute">Rep</sgmltag> value of |
| 60 | <literal>Repeat</literal> indicates that the |
| 61 | <sgmltag>MethodParam</sgmltag> is reapeatable. |
| 62 | </para> |
| 63 | </listitem> |
| 64 | </varlistentry> |
| 65 | </variablelist> |
| 66 | </refsect1> |
| 67 | </refentry> |
| 68 |