diff options
author | mueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7> | 1999-12-15 19:25:10 (GMT) |
---|---|---|
committer | mueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7> | 1999-12-15 19:25:10 (GMT) |
commit | 719f0a35063be88eddcc4ed8fe7a940de47ef20c (patch) | |
tree | cc1cd70cf5761ddf72ff114c0b65576c3f4c1d2a /doc/commands.doc | |
parent | bd30c025c4651ddda467f1af09d4c7ccab397bde (diff) | |
download | Doxygen-719f0a35063be88eddcc4ed8fe7a940de47ef20c.zip Doxygen-719f0a35063be88eddcc4ed8fe7a940de47ef20c.tar.gz Doxygen-719f0a35063be88eddcc4ed8fe7a940de47ef20c.tar.bz2 |
initial version
Diffstat (limited to 'doc/commands.doc')
-rw-r--r-- | doc/commands.doc | 1075 |
1 files changed, 1075 insertions, 0 deletions
diff --git a/doc/commands.doc b/doc/commands.doc new file mode 100644 index 0000000..c288be7 --- /dev/null +++ b/doc/commands.doc @@ -0,0 +1,1075 @@ +/****************************************************************************** + * + * $Id$ + * + * Copyright (C) 1997-1999 by Dimitri van Heesch. + * + * Permission to use, copy, modify, and distribute this software and its + * documentation under the terms of the GNU General Public License is hereby + * granted. No representations are made about the suitability of this software + * for any purpose. It is provided "as is" without express or implied warranty. + * See the GNU General Public License for more details. + * + * All output generated with Doxygen is not covered by this license. + * + */ +/*! \page commands + +\section commands Special Commands + +All commands in the documentation start with a backslash (<b>\\</b>) or an +at-sign (<b>\@</b>). +Some commands have one or more arguments. +Each argument has a certain range: +<ul> +<li>If <sharp> braces are used the argument is a single word. +<li>If (round) braces are used the argument extends until the end of the line + on which the command was found. +<li>If {curly} braces are used the argument extends until the next paragraph. + Paragraphs are delimited by a blank line or by a section indicator. +</ul> +If [square] brackets are used the argument is optional. + +Here is an alphabetically sorted list of all commands with references to their +documentation: +\htmlonly +<multicol cols=4> +<ul> +\endhtmlonly +\latexonly +\begin{multicols}{3} +\begin{CompactList} +\endlatexonly +<li> \refitem cmda \a +<li> \refitem cmdaddindex \addindex +<li> \refitem cmdarg \arg +<li> \refitem cmdauthor \author +<li> \refitem cmdb \b +<li> \refitem cmdbrief \brief +<li> \refitem cmdbug \bug +<li> \refitem cmdc \c +<li> \refitem cmdclass \class +<li> \refitem cmdcode \code +<li> \refitem cmddate \date +<li> \refitem cmddef \def +<li> \refitem cmddefgroup \defgroup +<li> \refitem cmddontinclude \dontinclude +<li> \refitem cmde \e +<li> \refitem cmdendcode \endcode +<li> \refitem cmdendhtmlonly \endhtmlonly +<li> \refitem cmdendlatexonly \endlatexonly +<li> \refitem cmdendlink \endlink +<li> \refitem cmdendverbatim \endverbatim +<li> \refitem cmdenum \enum +<li> \refitem cmdexample \example +<li> \refitem cmdexception \exception +<li> \refitem cmdfdollar \f$ +<li> \refitem cmdfbropen \f[ +<li> \refitem cmdfbrclose \f] +<li> \refitem cmdfile \file +<li> \refitem cmdfn \fn +<li> \refitem cmdhtmlonly \htmlonly +<li> \refitem cmdinclude \include +<li> \refitem cmdingroup \ingroup +<li> \refitem cmdinternal \internal +<li> \refitem cmdlatexonly \latexonly +<li> \refitem cmdline \line +<li> \refitem cmdlink \link +<li> \refitem cmdnamespace \namespace +<li> \refitem cmdoverload \overload +<li> \refitem cmdpage \page +<li> \refitem cmdpar \par +<li> \refitem cmdparam \param +<li> \refitem cmdref \ref +<li> \refitem cmdrelates \relates +<li> \refitem cmdreturn \return +<li> \refitem cmdsa \sa +<li> \refitem cmdsection \section +<li> \refitem cmdskip \skip +<li> \refitem cmdskipline \skipline +<li> \refitem cmdstruct \struct +<li> \refitem cmdsubsection \subsection +<li> \refitem cmdtypedef \typedef +<li> \refitem cmdunion \union +<li> \refitem cmduntil \until +<li> \refitem cmdvar \var +<li> \refitem cmdverbatim \verbatim +<li> \refitem cmdverbinclude \verbinclude +<li> \refitem cmdversion \version +<li> \refitem cmdwarning \warning +<li> \refitem cmddollar \$ +<li> \refitem cmdat \@ +<li> \refitem cmdbackslash \\ +<li> \refitem cmdamp \& +<li> \refitem cmdlt \\< +<li> \refitem cmdgt \\> +<li> \refitem cmdhash \# +\htmlonly +</ul> +</multicol> +\endhtmlonly +\latexonly +\end{CompactList} +\end{multicols} +\endlatexonly + +The following subsections provide a list of all commands that are recognized by +Doxygen. Unrecognized commands are treated as normal text. + +<h2>\htmlonly <center> --- \endhtmlonly + Structural indicators + \htmlonly --- </center>\endhtmlonly</h2> + +\subsection cmdclass \class <name> [<header-file>] [<header-name>] + + \addindex \class + Indicates that a comment block contains documentation for a + class with name \<name\>. Optionally a header file and a header name + can be specified. If the header-file is specified, a link to a verbatim copy + of the header will be included in the HTML documentation. + The \<header-name\> argument can be used to overwrite the + name of the link that is used in the class documentation to something other + than \<header-file\>. This can be useful if the include name is not located + on the default include path (like \<X11/X.h\>). + + \par Example: + \verbinclude class.h + \htmlonly + Click <a href="$(DOXYGEN_DOCDIR)/examples/class/html/index.html">here</a> + for the corresponding HTML documentation that is generated by Doxygen. + \endhtmlonly + +<hr> +\subsection cmdcode \code + + \addindex \\code + Starts a block of code. A code block is treated differently + from ordinary text. It is interpreted as C/C++ code. The names of the + classes and members that are documented are automatically replaced by + links to the documentation. + + \sa section \ref cmdendcode, section \ref cmdverbatim + +<hr> +\subsection cmddef \def <name> + + \addindex \def + Indicates that a comment block contains documentation for a + \c #define macro. + + \par Example: + \verbinclude define.h + \htmlonly + Click <a href="$(DOXYGEN_DOCDIR)/examples/define/html/index.html">here</a> + for the corresponding HTML documentation that is generated by Doxygen. + \endhtmlonly + +<hr> +\subsection cmddefgroup \defgroup <name> (group title) + + \addindex \defgroup + Indicates that a comment block contains documentation for a + group of classes, files or namespaces. This can be used to + categorize classes, files or namespaces, and document those + categories. + \sa section \ref cmdingroup + +<hr> +\subsection cmdendcode \endcode + + \addindex \endcode + Ends a block of code. + \sa section \ref cmdcode + +<hr> +\subsection cmdenum \enum <name> + + \addindex \enum + Indicates that a comment block contains documentation for an + enumeration, with name \<name\>. If the enum is a member of a class and + the documentation block is located outside the class definition, + the scope of the class should be specified as well. + If a comment block is located directly in front of an enum declaration, + the \\enum comment may be omitted. + + \par Notice: + The type of an anonymous enum cannot be documented, but the values + of an anonymous enum can. + + \par Example: + \verbinclude enum.h + \htmlonly + Click <a href="$(DOXYGEN_DOCDIR)/examples/enum/html/index.html">here</a> + for the corresponding HTML documentation that is generated by Doxygen. + \endhtmlonly + +<hr> +\subsection cmdexample \example <file-name> + + \addindex \example + Indicates that a comment block contains documentation for a source code + example. The name of the source file is \<file-name\>. The text of + this file will be included in the documentation, just after the + documentation contained in the comment block. All examples are placed + in a list. The source code is scanned for documented members and classes. + If any are found, the names are cross-referenced with the documentation. + + If more that one source file is needed for the example, + the \\include command can be used. + + \par Example: + \verbinclude example.cpp + Where the example file \c example_test.cpp looks as follows: + \verbinclude example_test.cpp + \htmlonly + Click <a href="$(DOXYGEN_DOCDIR)/examples/example/html/index.html">here</a> + for the corresponding HTML documentation that is generated by Doxygen. + \endhtmlonly + + \sa section \ref cmdinclude. + +<hr> +\subsection cmdfile \file [<name>] + + \addindex \file + Indicates that a comment block contains documentation for a source or + header file with name \<name\>. The file name may include (part of) the + path if the file-name alone is not unique. If the file name is omitted + (i.e. the line after \\file is left blank) then the documentation block that + contains the \\file command will belong to the file it is located in. + + \par Important: + The documentation of global functions, variables, typedefs, and enums will + only be included in the output if the file they are in is documented as well. + + \par Example: + \verbinclude file.h + \htmlonly + Click <a href="$(DOXYGEN_DOCDIR)/examples/file/html/index.html">here</a> + for the corresponding HTML documentation that is generated by Doxygen. + \endhtmlonly + +<hr> +\subsection cmdfn \fn (function declaration) + + \addindex \fn + Indicates that a comment block contains documentation for a function + (either global or as a member of a class). This command is needed if a + comment block is \e not located before the function declaration + or definition. A full function declaration should be specified after the + \fn command. The argument ends at the end of the line. + + \par Example: + \verbinclude func.h + \htmlonly + Click <a href="$(DOXYGEN_DOCDIR)/examples/func/html/class_test.html">here</a> + for the corresponding HTML documentation that is generated by Doxygen. + \endhtmlonly + + \sa section \ref cmdvar and \ref cmdtypedef + +<hr> +\subsection cmdingroup \ingroup <groupname> + + \addindex \ingroup + If the \\ingroup command is placed in a comment block of a + class, file or namespace, then it will be added to the group. + + \sa section \ref cmddefgroup + +<hr> +\subsection cmdinternal \internal + + \addindex \internal + This command writes the message `For internal use only' to the output. + All text after a \c \internal command is ignored. + +<hr> +\subsection cmdnamespace \namespace <name> + + \addindex \namespace + Indicates that a comment block contains documentation for a + namespace with name \<name\>. + +<hr> +\subsection cmdoverload \overload [(function declaration)] + + \addindex \overload + This command can be used to generate the following + standard text for an overloaded member function: + + `This is an overloaded member function, provided for convenience. + It differs from the above function only in what argument(s) it accepts.' + + If the documentation for the overloaded member function is not located + in front of the function declaration or definition, the optional + argument should be used to specify the correct function. + + Any other documentation that is inside the documentation block will + by appended after the generated message. + + \par Notice 1: + You are responsible that there is indeed an + earlier documented member that is overloaded by this one. + \par Notice 2: + The \\overload command does not work inside a one-line comment. + \par Example: + \verbinclude examples/overload.cpp + \htmlonly + Click <a href="$(DOXYGEN_DOCDIR)/examples/overload/html/class_test.html">here</a> + for the corresponding HTML documentation that is generated by Doxygen. + \endhtmlonly + +<hr> +\subsection cmdpage \page <name> (title) + + \addindex \page + Indicates that a comment block contains a piece of documentation that is + not directly related to one specific class, file or member. + The HTML generator creates a page containing the documentation. The + \htmlonly LaTeX\endhtmlonly\latexonly\LaTeX\ \endlatexonly generator + starts a new section in the chapter `Page documentation'. + + \par Example: + \verbinclude page.doc + \htmlonly + Click <a href="$(DOXYGEN_DOCDIR)/examples/page/html/pages.html">here</a> + for the corresponding HTML documentation that is generated by Doxygen. + \endhtmlonly + + \sa section \ref cmdsection, section \ref cmdsubsection, and + section \ref cmdref + +<hr> +\subsection cmdrelates \relates <name> + + \addindex \relates + This command can be used in the documentation of a non-member function + \<name\>. It puts the function inside the `related function' section + of the class documentation. This command is useful for documenting + non-friend functions that are nevertheless strongly coupled to a certain + class. It prevents the need of having to document a file, but + only works for functions. + + \par Example: + \verbinclude relates.cpp + \htmlonly + Click <a href="$(DOXYGEN_DOCDIR)/examples/relates/html/class_string.html">here</a> + for the corresponding HTML documentation that is generated by Doxygen. + \endhtmlonly + +<hr> +\subsection cmdstruct \struct <name> [<header-file>] [<header-name>] + + \addindex \struct + Indicates that a comment block contains documentation for a + struct with name \<name\>. The arguments are equal to the \\class + command. + + \sa section \ref cmdclass. + +<hr> +\subsection cmdtypedef \typedef (typedef declaration) + + \addindex \typedef + Indicates that a comment block contains documentation for a typedef, + typedef (either global or as a member of a class). + This command is equivalent to \\var and \\fn. + + \sa section \ref cmdfn and \ref cmdvar + +<hr> +\subsection cmdunion \union <name> [<header-file>] [<header-name>] + + \addindex \union + Indicates that a comment block contains documentation for a + union with name \<name\>. The arguments are equal to the \\class + command. + + \sa section \ref cmdclass. + +<hr> +\subsection cmdvar \var (variable declaration) + + \addindex \var + Indicates that a comment block contains documentation for a variable, + enum value (either global or as a member of a class). + This command is equivalent to \\typedef and \\fn. + + \sa section \ref cmdfn and \cmdtypedef + +<hr> + +<h2>\htmlonly <center> --- \endhtmlonly + Section indicators + \htmlonly --- </center>\endhtmlonly</h2> + +\subsection cmdauthor \author { list of authors } + + \addindex \author + Starts a paragraph where one or more author names may be entered. + The paragraph will be indented. + The text of the paragraph has no special internal structure. All visual + enhancement commands may be used inside the paragraph. + Multiple adjacent \\author commands will be joined into a single paragraph + and separated by commas. Alternatively, one \\author command may mention + several authors. The \\author command ends when a blank line or some other + sectioning command is encountered. + + \par Example: + \verbinclude author.cpp + \htmlonly + Click <a href="$(DOXYGEN_DOCDIR)/examples/author/html/class_windowsnt.html">here</a> + for the corresponding HTML documentation that is generated by Doxygen. + \endhtmlonly + + \sa Section \ref cmdjdauthor. + +<hr> +\subsection cmdbrief \brief {brief description} + + \addindex \brief + Starts a paragraph that serves as a brief description. For classes and files + the brief description will be used in lists and at the start of the + documentation page. For class and file members, the brief description + will be placed at the declaration of the member and prepended to the + detailed description. A brief description may span several lines (although + it is advised to keep it brief!). A brief description ends when a + blank line or another sectioning command is encountered. If multiple + \\brief commands are present they will be joined. See section + \ref cmdauthor for an example. + + \sa Section \ref cmdjdshort + +<hr> +\subsection cmdbug \bug { bug description } + + \addindex \bug + Starts a paragraph where one or more bugs may be reported. + The paragraph will be indented. + The text of the paragraph has no special internal structure. All visual + enhancement commands may be used inside the paragraph. + Multiple adjacent \\bug commands will be joined into a single paragraph. + Each bug description will start on a new line. + Alternatively, one \\bug command may mention + several bugs. The \\bug command ends when a blank line or some other + sectioning command is encountered. See section \ref cmdauthor for an + example. + +<hr> +\subsection cmddate \date { date description } + + \addindex \date + Starts a paragraph where one or more dates may be entered. + The paragraph will be indented. + The text of the paragraph has no special internal structure. All visual + enhancement commands may be used inside the paragraph. + Multiple adjacent \\date commands will be joined into a single paragraph. + Each date description will start on a new line. + Alternatively, one \\date command may mention + several dates. The \\date command ends when a blank line or some other + sectioning command is encountered. See section \ref cmdauthor for an + example. + + \sa Section \ref cmdjddate. + +<hr> +\subsection cmdpar \par (paragraph title) { paragraph } + + \addindex \par + Starts a paragraph with a user defined heading. The heading is + specified using the paragraph title argument and extends until the end of the + line. The paragraph will be indented. + The text of the paragraph has no special internal structure. All visual + enhancement commands may be used inside the paragraph. + The \\par command ends when a blank line or some other + sectioning command is encountered. + + \par Example: + \verbinclude par.cpp + \htmlonly + Click <a href="$(DOXYGEN_DOCDIR)/examples/par/html/class_test.html">here</a> + for the corresponding HTML documentation that is generated by Doxygen. + \endhtmlonly + +<hr> +\subsection cmdparam \param <parameter-name> { parameter description } + + \addindex \param + Starts a parameter description for a function parameter with name + \<parameter-name\>. Followed by a description of the parameter. + The existence of the parameter is not checked. + The text of the paragraph has no special internal structure. All visual + enhancement commands may be used inside the paragraph. + Multiple adjacent \\param commands will be joined into a single paragraph. + Each parameter description will start on a new line. + The \\param description ends when a blank line or some other + sectioning command is encountered. See section \ref cmdfn for an + example. + + \sa Section \ref cmdjdparam. + +<hr> +\subsection cmdexception \exception <exception-object> { exception description } + + \addindex \exception + Starts an exception description for an exception object with name + \<exception-object\>. Followed by a description of the exception. + The existence of the exception object is not checked. + The text of the paragraph has no special internal structure. All visual + enhancement commands may be used inside the paragraph. + Multiple adjacent \\exception commands will be joined into a single paragraph. + Each parameter description will start on a new line. + The \\exception description ends when a blank line or some other + sectioning command is encountered. See section \ref cmdfn for an + example. + + \sa Section \ref cmdjdexception. + +<hr> +\subsection cmdreturn \return { description of the return value } + + \addindex \return + Starts a return value description for a function. + The text of the paragraph has no special internal structure. All visual + enhancement commands may be used inside the paragraph. + Multiple adjacent \\return commands will be joined into a single paragraph. + The \\return description ends when a blank line or some other + sectioning command is encountered. See section \ref cmdfn for an + example. + + \sa Section \ref cmdjdreturn. + +<hr> +\subsection cmdsa \sa { references } + + \addindex \sa + Starts a paragraph where one or more cross-references to classes, + functions, methods, variables, files or URL may be specified. + The separators \c :: and \c # may be used to separate a class from the + name of its members. One of several overloaded methods or constructors + may be selected by including a parenthesized list of argument types after + the method. + + \sa section \ref autolink for information on how to create links to objects + and section \ref cmdjdsee for the JavaDoc version of this command. + +<hr> +\subsection cmdversion \version { version number } + + \addindex \version + Starts a paragraph where one or more version strings may be entered. + The paragraph will be indented. + The text of the paragraph has no special internal structure. All visual + enhancement commands may be used inside the paragraph. + Multiple adjacent \\version commands will be joined into a single paragraph. + Each version description will start on a new line. + Alternatively, one \\version command may mention + several dates. The \\version command ends when a blank line or some other + sectioning command is encountered. See section \ref cmdauthor for an + example. + + \sa Section \ref cmdjdversion. + +<hr> +\subsection cmdwarning \warning { warning message } + + \addindex \warning + Starts a paragraph where one or more warning messages may be entered. + The paragraph will be indented. + The text of the paragraph has no special internal structure. All visual + enhancement commands may be used inside the paragraph. + Multiple adjacent \\warning commands will be joined into a single paragraph. + Each warning description will start on a new line. + Alternatively, one \\warning command may mention + several warnings. The \\warning command ends when a blank line or some other + sectioning command is encountered. See section \ref cmdauthor for an + example. + +<h2>\htmlonly <center> --- \endhtmlonly + Commands to create links + \htmlonly --- </center>\endhtmlonly</h2> + +\subsection cmdaddindex \addindex <word> + + \addindex \addindex + This command adds \<word\> to the \htmlonly LaTeX\endhtmlonly + \latexonly\LaTeX\ \endlatexonly index. + +\subsection cmdendlink \endlink + + \addindex \endlink + This command ends a link that is started with the \\link command. + + \sa section \ref cmdlink. + +<hr> +\subsection cmdlink \link <link-object> + + \addindex \link + The links that are automatically generated by Doxygen always have the + name of the object they point to as link-text. + + The \\link command can be used to create a link to an object (a file, + class, or member) with a user specified link-text. + The link command should end with an \\endlink command. All text between + the \\link and \\endlink commands serves as text for a link to + the \<link-object\> specified as the first argument of \\link. + + See section \ref autolink for more information on automatically + generated links and valid link-objects. + + \b Notice: + Keep in mind that links are only meaningful in HTML text; + in \htmlonly LaTeX\endhtmlonly\latexonly\LaTeX\ \endlatexonly + text, the link text is just written to the output. + +<hr> +\subsection cmdref \ref <section-name> + + \addindex \ref + Creates a reference to a named section, subsection, or page. + For HTML documentation the reference command will generate a link to + the section, the title of the section will be used as the link text. + For \htmlonly LaTeX\endhtmlonly\latexonly\LaTeX\ \endlatexonly documentation the reference command will generate a section + number. + + See section \ref cmdpage for an example of the \\ref command. + +<hr> +\subsection cmdsection \section <section-name> (section title) + + \addindex \section + Creates a section with name \<section-name\>. The title of the + section should be specified as the second argument of the \\section + command. + + See section \ref cmdpage for an example of the \\cmdsection command. +<hr> +\subsection cmdsubsection \subsection <subsection-name> (subsection title) + + \addindex \subsection + Creates a subsection with name \<subsection-name\>. The title of the + subsection should be specified as the second argument of the \\subsection + command. + + See section \ref cmdpage for an example of the \\cmdsubsection command. +<hr> + +<h2>\htmlonly <center> --- \endhtmlonly + Commands for displaying examples + \htmlonly --- </center>\endhtmlonly</h2> + +\subsection cmddontinclude \dontinclude <file-name> + + \addindex \dontinclude + This command can be used to parse a source file without actually + including it. Any class and member declarations inside the code + are `remembered' during the parsing of the comment block that contained + the \\dontinclude command. + + For line by line description of source files, one or more lines + of the example can be displayed using the \\line, \\skip, \\skipline, and + \\until commands. An internal pointer is used for these commands. The + \\dontinclude command sets the pointer to the first line of the example. + + \par Example: + \verbinclude include.cpp + Where the example file \c example_test.cpp looks as follows: + \verbinclude example_test.cpp + \htmlonly + Click <a href="$(DOXYGEN_DOCDIR)/examples/include/html/example.html">here</a> + for the corresponding HTML documentation that is generated by Doxygen. + \endhtmlonly + + \sa sections \ref cmdline, \ref cmdskip, \ref cmdskipline, and \ref cmduntil. + +<hr> +\subsection cmdinclude \include <file-name> + + \addindex \include + This command can be used to include a source file as a block of code. + The command takes the name of an include file as an argument. + Include files or directories can be specified using the + \c INCLUDE_PATH tag of Doxygen's configuration file. + + Using the \\include command is equivalent to inserting the file into + the documentation block and surrounding it + with \\code and \\endcode commands. + + The main purpose of the \\include command is to avoid code + duplication in case of example blocks that consist of multiple + source and header files. + + For line by line description of source files, one or more lines + of the example can be displayed using the \\line, \\skip, \\skipline, and + \\until commands. An internal pointer is used for these command. The + \\include command sets the pointer to the first line of the example. + + \sa section \ref cmdexample and \ref cmddontinclude. + +<hr> +\subsection cmdline \line ( pattern ) + + \addindex \line + This command searches line by line through the example that was last + included using \\include or \\dontinclude until it finds a non-blank + line. If that line contains the specified pattern, it is written + to the output. + + The internal pointer that is used to keep track of the current line in + the example, is set to the start of the line following the non-blank + line that was found (or to the end of the example if no such line could + be found). + + See section \ref cmddontinclude for an example. + +<hr> +\subsection cmdskip \skip ( pattern ) + + \addindex \skip + This command searches line by line through the example that was last + included using \\include or \\dontinclude until it finds a line that contains + the specified pattern. + + The internal pointer that is used to keep track of the current line in + the example, is set to the start of the line that contains the specified + pattern (or to the end of the example if the pattern could not be found). + + See section \ref cmddontinclude for an example. + +<hr> +\subsection cmdskipline \skipline ( pattern ) + + \addindex \skipline + This command searches line by line through the example that was last + included using \\include or \\dontinclude until it finds a line that contains + the specified pattern. It then writes the line to the output. + + The internal pointer that is used to keep track of the current line in + the example, is set to the start of the line following the line that is + written (or to the end of the example if the pattern could not be found). + + \par Notice: + The command: + \verbatim\skipline pattern\endverbatim + is equivalent to: +\verbatim +\skip pattern +\line pattern\endverbatim + + See section \ref cmddontinclude for an example. + +<hr> +\subsection cmduntil \until ( pattern ) + + \addindex \until + This command writes all lines of the example that was last + included using \\include or \\dontinclude to the output, until it finds + a line containing the specified pattern. The line containing the pattern + will be written as well. + + The internal pointer that is used to keep track of the current line in + the example, is set to the start of the line following last written + line (or to the end of the example if the pattern could not be found). + + See section \ref cmddontinclude for an example. + +<hr> +\subsection cmdverbinclude \verbinclude <file-name> + + \addindex \verbinclude + This command includes the file \<file-name\> verbatim in the documentation. + The command is equivalent to pasting the file in the documentation and + placing \\verbatim and \\endverbatim commands around it. + +<hr> +<h2>\htmlonly <center> --- \endhtmlonly + Commands for visual enhancements + \htmlonly --- </center>\endhtmlonly</h2> + +\subsection cmda \a <word> + + \addindex \a + Displays the argument \<word\> using a special font. + Use this command to refer to member arguments in the running text. + + \par Example: + \verbatim + ... the \a x and \y coordinates are used to ... + \endverbatim + This will result in the following text:<br><br> + ... the \a x and \a y coordinates are used to ... + +<hr> +\subsection cmdarg \arg { item-description } + + \addindex \arg + This command has one argument that continues until the first + blank line or until another \\arg is encountered. + The command can be used to generate a simple, not nested list of + arguments. + Each argument should start with a \\arg command. + + \par Example: + Typing: + \verbatim + \arg \c AlignLeft left alignment. + \arg \c AlignCenter center alignment. + \arg \c AlignRight right alignment + + No other types of alignment are supported. + \endverbatim + will result in the following text:<br><br> + <ul> + <li> \c AlignLeft left alignment. + <li> \c AlignCenter center alignment. + <li> \c AlignRight right alignment + </ul><br> + No other types of alignment are supported. + + \par Notice: + For nested lists, HTML commands should be used. + +<hr> +\subsection cmdb \b <word> + + \addindex \b + Displays the argument \<word\> using a bold font. + Equivalent to \<b\>word\</b\>. + +<hr> +\subsection cmdc \c <word> + + \addindex \c + Displays the argument \<word\> using a typewriter font. + Use this to refer to a word of code. + Equivalent to \<tt\>word\</tt\>. + + \par Example: + Typing: + \verbatim + ... This function returns \c void and not \c int ... + \endverbatim + will result in the following text:<br><br> + ... This function returns \c void and not \c int ... + +<hr> +\subsection cmde \e <word> + + \addindex \e + Displays the argument \<word\> in italics. + Use this command to emphasize words. + + \par Example: + Typing: + \verbatim + ... this is a \e really good example ... + \endverbatim + will result in the following text:<br><br> + ... this is a \e really good example ... + +<hr> +\subsection cmdendhtmlonly \endhtmlonly + + \addindex \endhtmlonly + Ends a block of text that was started with a \\htmlonly command. + + \sa section \ref cmdhtmlonly. + +<hr> +\subsection cmdendlatexonly \endlatexonly + + \addindex \endlatexonly + Ends a block of text that was started with a \\latexonly command. + + \sa section \ref cmdlatexonly. + +<hr> +\subsection cmdendverbatim \endverbatim + + \addindex \endverbatim + Ends a block of text that was started with a \\verbatim command. + + \sa section \ref cmdverbatim. + +<hr> +\subsection cmdfdollar \f$ + + \addindex \\f$ + + Marks the start and end of an in-text formula. + \sa section \ref formulas for an example. + +<hr> +\subsection cmdfbropen \f[ + + \addindex \\f[ + + Marks the start of a long formula that is displayed + centered on a separate line. + \sa section \ref cmdfbrclose and section \ref formulas. + +<hr> +\subsection cmdfbrclose \f] + + \addindex \\f] + + Marks the end of a long formula that is displayed + centered on a separate line. + \sa section \ref cmdfbropen and section \ref formulas. + +<hr> +\subsection cmdhtmlonly \htmlonly + + \addindex \htmlonly + Starts a block of text that will be verbatim included in the + generated HTML documentation only. The block ends with a + endhtmlonly command. + + This command can be used to include HTML code that is too complex + for Doxygen (i.e. images, applets, java-scripts, and HTML tags that + require attributes). You can use the \\latexonly and \\endlatexonly + pair to provide a proper \htmlonly LaTeX\endhtmlonly\latexonly\LaTeX\ \endlatexonly alternative. + + \b Notice: + environment variables (like \$(HOME) ) are resolved inside a + HTML-only block. + + \sa section \ref cmdhtmlonly and section \ref cmdlatexonly. + +<hr> +\subsection cmdlatexonly \latexonly + + \addindex \latexonly + Starts a block of text that will be verbatim included in the + generated \htmlonly LaTeX\endhtmlonly\latexonly\LaTeX\ \endlatexonly documentation only. The block ends with a + endlatexonly command. + + This command can be used to include \htmlonly LaTeX\endhtmlonly\latexonly\LaTeX\ \endlatexonly code that is too complex + for Doxygen (i.e. images, formulas, special characters). You can use the + \\htmlonly and \\endhtmlonly pair to provide a proper HTML alternative. + + \b Notice: + environment variables (like \$(HOME) ) are resolved inside a + \htmlonly LaTeX\endhtmlonly\latexonly\LaTeX\endlatexonly-only block. + + \sa section \ref cmdlatexonly and section \ref cmdhtmlonly. + +<hr> +\subsection cmdverbatim \verbatim + + \addindex \verbatim + Starts a block of text that will be verbatim included in both the + HTML and the \htmlonly LaTeX\endhtmlonly\latexonly\LaTeX\ \endlatexonly documentation. The block should end with a + \\endverbatim block. All commands are disabled in a verbatim block. + + \warning Make sure you include a \\endverbatim command for each + \\verbatim command or the parser will get confused! + +<hr> +\subsection cmdbackslash \\ + + \addindex \\ + This command writes a backslash character (\\) to the HTML and \htmlonly LaTeX\endhtmlonly\latexonly\LaTeX\ \endlatexonly output. + The backslash has to be escaped in some cases because Doxygen uses it to + detect commands. + +<hr> +\subsection cmdat \@ + + \addindex \@ + This command writes an at-sign (@) to the HTML and \htmlonly LaTeX\endhtmlonly\latexonly\LaTeX\ \endlatexonly output. + The at-sign has to be escaped in some cases because Doxygen uses it to + detect JavaDoc commands. + +<hr> +\subsection cmdamp \& + + \addindex \& + This command writes the \& character to the HTML and \htmlonly LaTeX\endhtmlonly\latexonly\LaTeX\ \endlatexonly output. This + character has to be escaped because it has a special meaning in HTML. + +<hr> +\subsection cmddollar \$ + + \addindex \$ + This command writes the \$ character to the HTML and \htmlonly LaTeX\endhtmlonly\latexonly\LaTeX\ \endlatexonly output. This + character has to be escaped in some cases, because it is used to expand + environment variables. + +<hr> +\subsection cmdhash \# + + \addindex \# + This command writes the \# character to the HTML and \htmlonly LaTeX\endhtmlonly\latexonly\LaTeX\ \endlatexonly output. This + character has to be escaped in some cases, because it is used to refer + to documented entities. + +<hr> +\subsection cmdlt \\< + + \addindex \\< + This command writes the \< character to the HTML and \htmlonly LaTeX\endhtmlonly\latexonly\LaTeX\ \endlatexonly output. This + character has to be escaped because it has a special meaning in HTML. + +<hr> +\subsection cmdgt \\> + + \addindex \\> + This command writes the \> character to the HTML and \htmlonly LaTeX\endhtmlonly\latexonly\LaTeX\ \endlatexonly output. This + character has to be escaped because it has a special meaning in HTML. + +<hr> + +<h2>\htmlonly <center> --- \endhtmlonly + Commands included for JavaDoc compatibility + \htmlonly --- </center>\endhtmlonly</h2> + +The following command JavaDoc command are support. + +\subsection cmdjdauthor @author { list of authors } + \addindex @author + Equivalent to \\author (see section \ref cmdauthor). +\subsection cmdjddate @date { date description } + \addindex @date + Equivalent to \\date (see section \ref cmddate). +\subsection cmdjdparam @param <parameter-name> { parameter-description } + \addindex @param + Equivalent to \\param (see section \ref cmdparam). +\subsection cmdjdexception @exception <exception-object> { exception-description } + \addindex @exception + Equivalent to \\exception (see section \ref cmdexception). +\subsection cmdjdreturn @return { description of the return value } + \addindex @return + Equivalent to \\return (see section \ref cmdreturn). +\subsection cmdjdsee @see { references } + \addindex @see + Equivalent to \\sa (see section \ref cmdsa). +\subsection cmdjdshort @short { brief description } + \addindex @short + Equivalent to \\brief (see section \ref cmdbrief). +\subsection cmdjdversion @version { version number } + \addindex @version + Equivalent to \\version (see section \ref cmdversion). + +<h2>\htmlonly <center> --- \endhtmlonly + Commands included for Qt compatibility + \htmlonly --- </center>\endhtmlonly</h2> + +The following commands are supported to remain compatible to the Qt class +browser generator. Do \e not use these commands in your own documentation. +<ul> +<li>\\annotatedclasslist +<li>\\classhierarchy +<li>\\define +<li>\\functionindex +<li>\\header +<li>\\headerfilelist +<li>\\ingroup +<li>\\inherit +<li>\\l +<li>\\postheader +</ul> + +*/ |