|
Packit |
1c1d7e |
/******************************************************************************
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
* Copyright (C) 1997-2015 by Dimitri van Heesch.
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
* Permission to use, copy, modify, and distribute this software and its
|
|
Packit |
1c1d7e |
* documentation under the terms of the GNU General Public License is hereby
|
|
Packit |
1c1d7e |
* granted. No representations are made about the suitability of this software
|
|
Packit |
1c1d7e |
* for any purpose. It is provided "as is" without express or implied warranty.
|
|
Packit |
1c1d7e |
* See the GNU General Public License for more details.
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
* Documents produced by Doxygen are derivative works derived from the
|
|
Packit |
1c1d7e |
* input used in their production; they are not affected by this license.
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
/*! \page commands Special Commands
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmd_intro Introduction
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
All commands in the documentation start with a backslash (\\) or an
|
|
Packit |
1c1d7e |
at-sign (\@). If you prefer you can replace all commands starting with a
|
|
Packit |
1c1d7e |
backslash below by their counterparts that start with an at-sign.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Some commands have one or more arguments.
|
|
Packit |
1c1d7e |
Each argument has a certain range:
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
If \<sharp\> braces are used the argument is a single word.
|
|
Packit |
1c1d7e |
If (round) braces are used the argument extends until the end of the line
|
|
Packit |
1c1d7e |
on which the command was found.
|
|
Packit |
1c1d7e |
If {curly} braces are used the argument extends until the next paragraph.
|
|
Packit |
1c1d7e |
Paragraphs are delimited by a blank line or by a section indicator.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
If in addition to the above argument specifiers [square] brackets are used the argument is optional.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Here is an alphabetically sorted list of all commands with references to their
|
|
Packit |
1c1d7e |
documentation:
|
|
Packit |
1c1d7e |
\anchor showsecreflist
|
|
Packit |
1c1d7e |
\secreflist
|
|
Packit |
1c1d7e |
\refitem cmda \\a
|
|
Packit |
1c1d7e |
\refitem cmdaddindex \\addindex
|
|
Packit |
1c1d7e |
\refitem cmdaddtogroup \\addtogroup
|
|
Packit |
1c1d7e |
\refitem cmdanchor \\anchor
|
|
Packit |
1c1d7e |
\refitem cmdarg \\arg
|
|
Packit |
1c1d7e |
\refitem cmdattention \\attention
|
|
Packit |
1c1d7e |
\refitem cmdauthor \\author
|
|
Packit |
1c1d7e |
\refitem cmdauthors \\authors
|
|
Packit |
1c1d7e |
\refitem cmdb \\b
|
|
Packit |
1c1d7e |
\refitem cmdbrief \\brief
|
|
Packit |
1c1d7e |
\refitem cmdbug \\bug
|
|
Packit |
1c1d7e |
\refitem cmdc \\c
|
|
Packit |
1c1d7e |
\refitem cmdcallergraph \\callergraph
|
|
Packit |
1c1d7e |
\refitem cmdcallgraph \\callgraph
|
|
Packit |
1c1d7e |
\refitem cmdcategory \\category
|
|
Packit |
1c1d7e |
\refitem cmdcite \\cite
|
|
Packit |
1c1d7e |
\refitem cmdclass \\class
|
|
Packit |
1c1d7e |
\refitem cmdcode \\code
|
|
Packit |
1c1d7e |
\refitem cmdcond \\cond
|
|
Packit |
1c1d7e |
\refitem cmdcopybrief \\copybrief
|
|
Packit |
1c1d7e |
\refitem cmdcopydetails \\copydetails
|
|
Packit |
1c1d7e |
\refitem cmdcopydoc \\copydoc
|
|
Packit |
1c1d7e |
\refitem cmdcopyright \\copyright
|
|
Packit |
1c1d7e |
\refitem cmddate \\date
|
|
Packit |
1c1d7e |
\refitem cmddef \\def
|
|
Packit |
1c1d7e |
\refitem cmddefgroup \\defgroup
|
|
Packit |
1c1d7e |
\refitem cmddeprecated \\deprecated
|
|
Packit |
1c1d7e |
\refitem cmddetails \\details
|
|
Packit |
1c1d7e |
\refitem cmddiafile \\diafile
|
|
Packit |
1c1d7e |
\refitem cmddir \\dir
|
|
Packit |
1c1d7e |
\refitem cmddocbookonly \\docbookonly
|
|
Packit |
1c1d7e |
\refitem cmddontinclude \\dontinclude
|
|
Packit |
1c1d7e |
\refitem cmddot \\dot
|
|
Packit |
1c1d7e |
\refitem cmddotfile \\dotfile
|
|
Packit |
1c1d7e |
\refitem cmde \\e
|
|
Packit |
1c1d7e |
\refitem cmdelse \\else
|
|
Packit |
1c1d7e |
\refitem cmdelseif \\elseif
|
|
Packit |
1c1d7e |
\refitem cmdem \\em
|
|
Packit |
1c1d7e |
\refitem cmdendcode \\endcode
|
|
Packit |
1c1d7e |
\refitem cmdendcond \\endcond
|
|
Packit |
1c1d7e |
\refitem cmdenddocbookonly \\enddocbookonly
|
|
Packit |
1c1d7e |
\refitem cmdenddot \\enddot
|
|
Packit |
1c1d7e |
\refitem cmdendhtmlonly \\endhtmlonly
|
|
Packit |
1c1d7e |
\refitem cmdendif \\endif
|
|
Packit |
1c1d7e |
\refitem cmdendinternal \\endinternal
|
|
Packit |
1c1d7e |
\refitem cmdendlatexonly \\endlatexonly
|
|
Packit |
1c1d7e |
\refitem cmdendlink \\endlink
|
|
Packit |
1c1d7e |
\refitem cmdendmanonly \\endmanonly
|
|
Packit |
1c1d7e |
\refitem cmdendmsc \\endmsc
|
|
Packit |
1c1d7e |
\refitem cmdendparblock \\endparblock
|
|
Packit |
1c1d7e |
\refitem cmdendrtfonly \\endrtfonly
|
|
Packit |
1c1d7e |
\refitem cmdendsecreflist \\endsecreflist
|
|
Packit |
1c1d7e |
\refitem cmdendverbatim \\endverbatim
|
|
Packit |
1c1d7e |
\refitem cmdenduml \\enduml
|
|
Packit |
1c1d7e |
\refitem cmdendxmlonly \\endxmlonly
|
|
Packit |
1c1d7e |
\refitem cmdenum \\enum
|
|
Packit |
1c1d7e |
\refitem cmdexample \\example
|
|
Packit |
1c1d7e |
\refitem cmdexception \\exception
|
|
Packit |
1c1d7e |
\refitem cmdextends \\extends
|
|
Packit |
1c1d7e |
\refitem cmdfdollar \\f\$
|
|
Packit |
1c1d7e |
\refitem cmdfbropen \\f[
|
|
Packit |
1c1d7e |
\refitem cmdfbrclose \\f]
|
|
Packit |
1c1d7e |
\refitem cmdfcurlyopen \\f{
|
|
Packit |
1c1d7e |
\refitem cmdfcurlyclose \\f}
|
|
Packit |
1c1d7e |
\refitem cmdfile \\file
|
|
Packit |
1c1d7e |
\refitem cmdfn \\fn
|
|
Packit |
1c1d7e |
\refitem cmdheaderfile \\headerfile
|
|
Packit |
1c1d7e |
\refitem cmdhidecallergraph \\hidecallergraph
|
|
Packit |
1c1d7e |
\refitem cmdhidecallgraph \\hidecallgraph
|
|
Packit |
1c1d7e |
\refitem cmdhideinitializer \\hideinitializer
|
|
Packit |
1c1d7e |
\refitem cmdhtmlinclude \\htmlinclude
|
|
Packit |
1c1d7e |
\refitem cmdhtmlonly \\htmlonly
|
|
Packit |
1c1d7e |
\refitem cmdidlexcept \\idlexcept
|
|
Packit |
1c1d7e |
\refitem cmdif \\if
|
|
Packit |
1c1d7e |
\refitem cmdifnot \\ifnot
|
|
Packit |
1c1d7e |
\refitem cmdimage \\image
|
|
Packit |
1c1d7e |
\refitem cmdimplements \\implements
|
|
Packit |
1c1d7e |
\refitem cmdinclude \\include
|
|
Packit |
1c1d7e |
\refitem cmdincludedoc \\includedoc
|
|
Packit |
1c1d7e |
\refitem cmdincludelineno \\includelineno
|
|
Packit |
1c1d7e |
\refitem cmdingroup \\ingroup
|
|
Packit |
1c1d7e |
\refitem cmdinternal \\internal
|
|
Packit |
1c1d7e |
\refitem cmdinvariant \\invariant
|
|
Packit |
1c1d7e |
\refitem cmdinterface \\interface
|
|
Packit |
1c1d7e |
\refitem cmdlatexinclude \\latexinclude
|
|
Packit |
1c1d7e |
\refitem cmdlatexonly \\latexonly
|
|
Packit |
1c1d7e |
\refitem cmdli \\li
|
|
Packit |
1c1d7e |
\refitem cmdline \\line
|
|
Packit |
1c1d7e |
\refitem cmdlink \\link
|
|
Packit |
1c1d7e |
\refitem cmdmainpage \\mainpage
|
|
Packit |
1c1d7e |
\refitem cmdmanonly \\manonly
|
|
Packit |
1c1d7e |
\refitem cmdmemberof \\memberof
|
|
Packit |
1c1d7e |
\refitem cmdmsc \\msc
|
|
Packit |
1c1d7e |
\refitem cmdmscfile \\mscfile
|
|
Packit |
1c1d7e |
\refitem cmdn \\n
|
|
Packit |
1c1d7e |
\refitem cmdname \\name
|
|
Packit |
1c1d7e |
\refitem cmdnamespace \\namespace
|
|
Packit |
1c1d7e |
\refitem cmdnosubgrouping \\nosubgrouping
|
|
Packit |
1c1d7e |
\refitem cmdnote \\note
|
|
Packit |
1c1d7e |
\refitem cmdoverload \\overload
|
|
Packit |
1c1d7e |
\refitem cmdp \\p
|
|
Packit |
1c1d7e |
\refitem cmdpackage \\package
|
|
Packit |
1c1d7e |
\refitem cmdpage \\page
|
|
Packit |
1c1d7e |
\refitem cmdpar \\par
|
|
Packit |
1c1d7e |
\refitem cmdparagraph \\paragraph
|
|
Packit |
1c1d7e |
\refitem cmdparam \\param
|
|
Packit |
1c1d7e |
\refitem cmdparblock \\parblock
|
|
Packit |
1c1d7e |
\refitem cmdpost \\post
|
|
Packit |
1c1d7e |
\refitem cmdpre \\pre
|
|
Packit |
1c1d7e |
\refitem cmdprivate \\private
|
|
Packit |
1c1d7e |
\refitem cmdprivatesection \\privatesection
|
|
Packit |
1c1d7e |
\refitem cmdproperty \\property
|
|
Packit |
1c1d7e |
\refitem cmdprotected \\protected
|
|
Packit |
1c1d7e |
\refitem cmdprotectedsection \\protectedsection
|
|
Packit |
1c1d7e |
\refitem cmdprotocol \\protocol
|
|
Packit |
1c1d7e |
\refitem cmdpublic \\public
|
|
Packit |
1c1d7e |
\refitem cmdpublicsection \\publicsection
|
|
Packit |
1c1d7e |
\refitem cmdpure \\pure
|
|
Packit |
1c1d7e |
\refitem cmdref \\ref
|
|
Packit |
1c1d7e |
\refitem cmdrefitem \\refitem
|
|
Packit |
1c1d7e |
\refitem cmdrelated \\related
|
|
Packit |
1c1d7e |
\refitem cmdrelates \\relates
|
|
Packit |
1c1d7e |
\refitem cmdrelatedalso \\relatedalso
|
|
Packit |
1c1d7e |
\refitem cmdrelatesalso \\relatesalso
|
|
Packit |
1c1d7e |
\refitem cmdremark \\remark
|
|
Packit |
1c1d7e |
\refitem cmdremarks \\remarks
|
|
Packit |
1c1d7e |
\refitem cmdresult \\result
|
|
Packit |
1c1d7e |
\refitem cmdreturn \\return
|
|
Packit |
1c1d7e |
\refitem cmdreturns \\returns
|
|
Packit |
1c1d7e |
\refitem cmdretval \\retval
|
|
Packit |
1c1d7e |
\refitem cmdrtfonly \\rtfonly
|
|
Packit |
1c1d7e |
\refitem cmdsa \\sa
|
|
Packit |
1c1d7e |
\refitem cmdsecreflist \\secreflist
|
|
Packit |
1c1d7e |
\refitem cmdsection \\section
|
|
Packit |
1c1d7e |
\refitem cmdsee \\see
|
|
Packit |
1c1d7e |
\refitem cmdshort \\short
|
|
Packit |
1c1d7e |
\refitem cmdshowinitializer \\showinitializer
|
|
Packit |
1c1d7e |
\refitem cmdsince \\since
|
|
Packit |
1c1d7e |
\refitem cmdskip \\skip
|
|
Packit |
1c1d7e |
\refitem cmdskipline \\skipline
|
|
Packit |
1c1d7e |
\refitem cmdsnippet \\snippet
|
|
Packit |
1c1d7e |
\refitem cmdsnippetdoc \\snippetdoc
|
|
Packit |
1c1d7e |
\refitem cmdsnippetlineno \\snippetlineno
|
|
Packit |
1c1d7e |
\refitem cmdstartuml \\startuml
|
|
Packit |
1c1d7e |
\refitem cmdstruct \\struct
|
|
Packit |
1c1d7e |
\refitem cmdsubpage \\subpage
|
|
Packit |
1c1d7e |
\refitem cmdsubsection \\subsection
|
|
Packit |
1c1d7e |
\refitem cmdsubsubsection \\subsubsection
|
|
Packit |
1c1d7e |
\refitem cmdtableofcontents \\tableofcontents
|
|
Packit |
1c1d7e |
\refitem cmdtest \\test
|
|
Packit |
1c1d7e |
\refitem cmdthrow \\throw
|
|
Packit |
1c1d7e |
\refitem cmdthrows \\throws
|
|
Packit |
1c1d7e |
\refitem cmdtodo \\todo
|
|
Packit |
1c1d7e |
\refitem cmdtparam \\tparam
|
|
Packit |
1c1d7e |
\refitem cmdtypedef \\typedef
|
|
Packit |
1c1d7e |
\refitem cmdunion \\union
|
|
Packit |
1c1d7e |
\refitem cmduntil \\until
|
|
Packit |
1c1d7e |
\refitem cmdvar \\var
|
|
Packit |
1c1d7e |
\refitem cmdverbatim \\verbatim
|
|
Packit |
1c1d7e |
\refitem cmdverbinclude \\verbinclude
|
|
Packit |
1c1d7e |
\refitem cmdversion \\version
|
|
Packit |
1c1d7e |
\refitem cmdvhdlflow \\vhdlflow
|
|
Packit |
1c1d7e |
\refitem cmdwarning \\warning
|
|
Packit |
1c1d7e |
\refitem cmdweakgroup \\weakgroup
|
|
Packit |
1c1d7e |
\refitem cmdxmlonly \\xmlonly
|
|
Packit |
1c1d7e |
\refitem cmdxrefitem \\xrefitem
|
|
Packit |
1c1d7e |
\refitem cmddollar \\\$
|
|
Packit |
1c1d7e |
\refitem cmdat \\\@
|
|
Packit |
1c1d7e |
\refitem cmdbackslash \\\\
|
|
Packit |
1c1d7e |
\refitem cmdamp \\\&
|
|
Packit |
1c1d7e |
\refitem cmdtilde \\~
|
|
Packit |
1c1d7e |
\refitem cmdlt \\\<
|
|
Packit |
1c1d7e |
\refitem cmdgt \\\>
|
|
Packit |
1c1d7e |
\refitem cmdhash \\\#
|
|
Packit |
1c1d7e |
\refitem cmdperc \\\%
|
|
Packit |
1c1d7e |
\refitem cmdquot \\\"
|
|
Packit |
1c1d7e |
\refitem cmdchardot \\\.
|
|
Packit |
1c1d7e |
\refitem cmddcolon \::
|
|
Packit |
1c1d7e |
\refitem cmdpipe \\|
|
|
Packit |
1c1d7e |
\refitem cmdndash \\\--
|
|
Packit |
1c1d7e |
\refitem cmdmdash \\\---
|
|
Packit |
1c1d7e |
\endsecreflist
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The following subsections provide a list of all commands that are recognized by
|
|
Packit |
1c1d7e |
doxygen. Unrecognized commands are treated as normal text.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\htmlonly<center>\endhtmlonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\htmlonly --- \endhtmlonly
|
|
Packit |
1c1d7e |
Structural indicators
|
|
Packit |
1c1d7e |
\htmlonly --- \endhtmlonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\htmlonly</center>\endhtmlonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdaddtogroup \\addtogroup <name> [(title)]
|
|
Packit |
1c1d7e |
\addindex \\addtogroup
|
|
Packit |
1c1d7e |
Defines a group just like \ref cmddefgroup "\\defgroup", but in contrast to
|
|
Packit |
1c1d7e |
that command using the same \<name\> more than once will not result in a warning,
|
|
Packit |
1c1d7e |
but rather one group with a merged documentation and the first title found in
|
|
Packit |
1c1d7e |
any of the commands.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The title is optional, so this command can also be used to add a number of
|
|
Packit |
1c1d7e |
entities to an existing group using \c \@{ and \c \@} like this:
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
/*! \addtogroup mygrp
|
|
Packit |
1c1d7e |
* Additional documentation for group 'mygrp'
|
|
Packit |
1c1d7e |
* @{
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
/*!
|
|
Packit |
1c1d7e |
* A function
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
void func1()
|
|
Packit |
1c1d7e |
{
|
|
Packit |
1c1d7e |
}
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
/*! Another function */
|
|
Packit |
1c1d7e |
void func2()
|
|
Packit |
1c1d7e |
{
|
|
Packit |
1c1d7e |
}
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
/*! @} */
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa page \ref grouping "Grouping", sections \ref cmddefgroup "\\defgroup", \ref cmdingroup "\\ingroup", and
|
|
Packit |
1c1d7e |
\ref cmdweakgroup "\\weakgroup".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdcallgraph \\callgraph
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\callgraph
|
|
Packit |
1c1d7e |
When this command is put in a comment block of a function or method
|
|
Packit |
1c1d7e |
and \ref cfg_have_dot "HAVE_DOT" is set to \c YES, then doxygen will
|
|
Packit |
1c1d7e |
generate a call graph for that function (provided the implementation of the
|
|
Packit |
1c1d7e |
function or method calls other documented functions). The call graph will be
|
|
Packit |
1c1d7e |
generated regardless of the value of \ref cfg_call_graph "CALL_GRAPH".
|
|
Packit |
1c1d7e |
\note The completeness (and correctness) of the call graph depends on the
|
|
Packit |
1c1d7e |
doxygen code parser which is not perfect.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdcallergraph "\\callergraph",
|
|
Packit |
1c1d7e |
section \ref cmdhidecallgraph "\\hidecallgraph",
|
|
Packit |
1c1d7e |
section \ref cmdhidecallergraph "\\hidecallergraph" and
|
|
Packit |
1c1d7e |
option \ref cfg_call_graph "CALL_GRAPH"
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdhidecallgraph \\hidecallgraph
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\hidecallgraph
|
|
Packit |
1c1d7e |
When this command is put in a comment block of a function or method
|
|
Packit |
1c1d7e |
and then doxygen will not generate a call graph for that function. The
|
|
Packit |
1c1d7e |
call graph will not be generated regardless of the value of
|
|
Packit |
1c1d7e |
\ref cfg_call_graph "CALL_GRAPH".
|
|
Packit |
1c1d7e |
\note The completeness (and correctness) of the call graph depends on the
|
|
Packit |
1c1d7e |
doxygen code parser which is not perfect.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdcallergraph "\\callergraph",
|
|
Packit |
1c1d7e |
section \ref cmdcallgraph "\\callgraph",
|
|
Packit |
1c1d7e |
section \ref cmdhidecallergraph "\\hidecallergraph" and
|
|
Packit |
1c1d7e |
option \ref cfg_call_graph "CALL_GRAPH"
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdcallergraph \\callergraph
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\callergraph
|
|
Packit |
1c1d7e |
When this command is put in a comment block of a function or method
|
|
Packit |
1c1d7e |
and \ref cfg_have_dot "HAVE_DOT" is set to \c YES, then doxygen will
|
|
Packit |
1c1d7e |
generate a caller graph for that function (provided the implementation of the
|
|
Packit |
1c1d7e |
function or method calls other documented functions). The caller graph will be
|
|
Packit |
1c1d7e |
generated regardless of the value of \ref cfg_caller_graph "CALLER_GRAPH".
|
|
Packit |
1c1d7e |
\note The completeness (and correctness) of the caller graph depends on the
|
|
Packit |
1c1d7e |
doxygen code parser which is not perfect.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdcallgraph "\\callgraph",
|
|
Packit |
1c1d7e |
section \ref cmdhidecallgraph "\\hidecallgraph",
|
|
Packit |
1c1d7e |
section \ref cmdhidecallergraph "\\hidecallergraph" and
|
|
Packit |
1c1d7e |
option \ref cfg_caller_graph "CALLER_GRAPH"
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdhidecallergraph \\hidecallergraph
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\hidecallergraph
|
|
Packit |
1c1d7e |
When this command is put in a comment block of a function or method
|
|
Packit |
1c1d7e |
and then doxygen will not generate a caller graph for that function. The
|
|
Packit |
1c1d7e |
caller graph will not be generated regardless of the value of
|
|
Packit |
1c1d7e |
\ref cfg_caller_graph "CALLER_GRAPH".
|
|
Packit |
1c1d7e |
\note The completeness (and correctness) of the caller graph depends on the
|
|
Packit |
1c1d7e |
doxygen code parser which is not perfect.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdcallergraph "\\callergraph",
|
|
Packit |
1c1d7e |
section \ref cmdcallgraph "\\callgraph",
|
|
Packit |
1c1d7e |
section \ref cmdhidecallgraph "\\hidecallgraph" and
|
|
Packit |
1c1d7e |
option \ref cfg_caller_graph "CALLER_GRAPH"
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdcategory \\category <name> [<header-file>] [<header-name>]
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\category
|
|
Packit |
1c1d7e |
For Objective-C only: Indicates that a comment block contains documentation
|
|
Packit |
1c1d7e |
for a class category with name \<name\>. The arguments are
|
|
Packit |
1c1d7e |
equal to the \ref cmdclass "\\class" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdclass "\\class".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdclass \\class <name> [<header-file>] [<header-name>]
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\class
|
|
Packit |
1c1d7e |
Indicates that a comment block contains documentation for a
|
|
Packit |
1c1d7e |
class with name \<name\>. Optionally a header file and a header name
|
|
Packit |
1c1d7e |
can be specified. If the header-file is specified, a link to a verbatim copy
|
|
Packit |
1c1d7e |
of the header will be included in the HTML documentation.
|
|
Packit |
1c1d7e |
The \<header-name\> argument can be used to overwrite the
|
|
Packit |
1c1d7e |
name of the link that is used in the class documentation to something other
|
|
Packit |
1c1d7e |
than \<header-file\>. This can be useful if the include name is not located
|
|
Packit |
1c1d7e |
on the default include path (like \<X11/X.h\>). With the \<header-name\>
|
|
Packit |
1c1d7e |
argument you can also specify how the include statement should look like,
|
|
Packit |
1c1d7e |
by adding either quotes or sharp brackets around the name.
|
|
Packit |
1c1d7e |
Sharp brackets are used if just the name is given. Note that the
|
|
Packit |
1c1d7e |
last two arguments can also be specified using
|
|
Packit |
1c1d7e |
the \ref cmdheaderfile "\\headerfile" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Example:
|
|
Packit |
1c1d7e |
\include class.h
|
|
Packit |
1c1d7e |
\htmlonly
|
|
Packit |
1c1d7e |
Click here
|
|
Packit |
1c1d7e |
for the corresponding HTML documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endhtmlonly
|
|
Packit |
1c1d7e |
\latexonly
|
|
Packit |
1c1d7e |
See \hyperlink{class_example}{Class example}
|
|
Packit |
1c1d7e |
for the corresponding \mbox{\LaTeX} documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endlatexonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmddef \\def <name>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\def
|
|
Packit |
1c1d7e |
Indicates that a comment block contains documentation for a
|
|
Packit |
1c1d7e |
\c \#define macro.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Example:
|
|
Packit |
1c1d7e |
\include define.h
|
|
Packit |
1c1d7e |
\htmlonly
|
|
Packit |
1c1d7e |
Click here
|
|
Packit |
1c1d7e |
for the corresponding HTML documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endhtmlonly
|
|
Packit |
1c1d7e |
\latexonly
|
|
Packit |
1c1d7e |
See \hyperlink{define_8h}{Define example}
|
|
Packit |
1c1d7e |
for the corresponding \mbox{\LaTeX} documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endlatexonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmddefgroup \\defgroup <name> (group title)
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\defgroup
|
|
Packit |
1c1d7e |
Indicates that a comment block contains documentation for a
|
|
Packit |
1c1d7e |
\ref modules "group" of classes, files or namespaces. This can be used to
|
|
Packit |
1c1d7e |
categorize classes, files or namespaces, and document those
|
|
Packit |
1c1d7e |
categories. You can also use groups as members of other groups,
|
|
Packit |
1c1d7e |
thus building a hierarchy of groups.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The \<name\> argument should be a single-word identifier.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa page \ref grouping "Grouping", sections \ref cmdingroup "\\ingroup", \ref cmdaddtogroup "\\addtogroup", and
|
|
Packit |
1c1d7e |
\ref cmdweakgroup "\\weakgroup".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmddir \\dir [<path fragment>]
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\dir
|
|
Packit |
1c1d7e |
Indicates that a comment block contains documentation for a directory.
|
|
Packit |
1c1d7e |
The "path fragment" argument should include the directory name and
|
|
Packit |
1c1d7e |
enough of the path to be unique with respect to the other directories
|
|
Packit |
1c1d7e |
in the project.
|
|
Packit |
1c1d7e |
The \ref cfg_strip_from_path "STRIP_FROM_PATH" option determines what is
|
|
Packit |
1c1d7e |
stripped from the full path before it appears in the output.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdenum \\enum <name>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\enum
|
|
Packit |
1c1d7e |
Indicates that a comment block contains documentation for an
|
|
Packit |
1c1d7e |
enumeration, with name \<name\>. If the enum is a member of a class and
|
|
Packit |
1c1d7e |
the documentation block is located outside the class definition,
|
|
Packit |
1c1d7e |
the scope of the class should be specified as well.
|
|
Packit |
1c1d7e |
If a comment block is located directly in front of an enum declaration,
|
|
Packit |
1c1d7e |
the \c \\enum comment may be omitted.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Note:
|
|
Packit |
1c1d7e |
The type of an anonymous enum cannot be documented, but the values
|
|
Packit |
1c1d7e |
of an anonymous enum can.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Example:
|
|
Packit |
1c1d7e |
\include enum.h
|
|
Packit |
1c1d7e |
\htmlonly
|
|
Packit |
1c1d7e |
Click here
|
|
Packit |
1c1d7e |
for the corresponding HTML documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endhtmlonly
|
|
Packit |
1c1d7e |
\latexonly
|
|
Packit |
1c1d7e |
See \hyperlink{class_enum___test}{Enum example}
|
|
Packit |
1c1d7e |
for the corresponding \mbox{\LaTeX} documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endlatexonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdexample \\example <file-name>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\example
|
|
Packit |
1c1d7e |
Indicates that a comment block contains documentation for a source code
|
|
Packit |
1c1d7e |
example. The name of the source file is \<file-name\>. The text of
|
|
Packit |
1c1d7e |
this file will be included in the documentation, just after the
|
|
Packit |
1c1d7e |
documentation contained in the comment block. All examples are placed
|
|
Packit |
1c1d7e |
in a list. The source code is scanned for documented members and classes.
|
|
Packit |
1c1d7e |
If any are found, the names are cross-referenced with the documentation.
|
|
Packit |
1c1d7e |
Source files or directories can be specified using the
|
|
Packit |
1c1d7e |
\ref cfg_example_path "EXAMPLE_PATH"
|
|
Packit |
1c1d7e |
tag of doxygen's configuration file.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
If \<file-name\> itself is not unique for the set of example files specified
|
|
Packit |
1c1d7e |
by the
|
|
Packit |
1c1d7e |
\ref cfg_example_path "EXAMPLE_PATH" tag, you can include part of the absolute path
|
|
Packit |
1c1d7e |
to disambiguate it.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
If more than one source file is needed for the example,
|
|
Packit |
1c1d7e |
the \ref cmdinclude "\\include" command can be used.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Example:
|
|
Packit |
1c1d7e |
\include example.cpp
|
|
Packit |
1c1d7e |
Where the example file \c example_test.cpp looks as follows:
|
|
Packit |
1c1d7e |
\include example_test.cpp
|
|
Packit |
1c1d7e |
\htmlonly
|
|
Packit |
1c1d7e |
Click here
|
|
Packit |
1c1d7e |
for the corresponding HTML documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endhtmlonly
|
|
Packit |
1c1d7e |
\latexonly
|
|
Packit |
1c1d7e |
See \hyperlink{example_test_8cpp-example}{Example example}
|
|
Packit |
1c1d7e |
for the corresponding \mbox{\LaTeX} documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endlatexonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdinclude "\\include".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdendinternal \\endinternal
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\endinternal
|
|
Packit |
1c1d7e |
This command ends a documentation fragment that was started with a
|
|
Packit |
1c1d7e |
\ref cmdinternal "\\internal" command. The text between \ref cmdinternal "\\internal" and
|
|
Packit |
1c1d7e |
\c \\endinternal will only be visible
|
|
Packit |
1c1d7e |
if \ref cfg_internal_docs "INTERNAL_DOCS" is set to \c YES.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdextends \\extends <name>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\extends
|
|
Packit |
1c1d7e |
This command can be used to manually indicate an inheritance relation,
|
|
Packit |
1c1d7e |
when the programming language does not support this concept natively
|
|
Packit |
1c1d7e |
(e.g. C).
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The file \c manual.c in the example directory shows how to use this command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\htmlonly
|
|
Packit |
1c1d7e |
Click here
|
|
Packit |
1c1d7e |
for the corresponding HTML documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\endhtmlonly
|
|
Packit |
1c1d7e |
\latexonly
|
|
Packit |
1c1d7e |
See \hyperlink{extends_example}{Extends example}
|
|
Packit |
1c1d7e |
for the corresponding \mbox{\LaTeX} documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endlatexonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdimplements "\\implements" and section
|
|
Packit |
1c1d7e |
\ref cmdmemberof "\\memberof"
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdfile \\file [<name>]
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\file
|
|
Packit |
1c1d7e |
Indicates that a comment block contains documentation for a source or
|
|
Packit |
1c1d7e |
header file with name \<name\>. The file name may include (part of) the
|
|
Packit |
1c1d7e |
path if the file-name alone is not unique. If the file name is omitted
|
|
Packit |
1c1d7e |
(i.e. the line after \c \\file is left blank) then the documentation block that
|
|
Packit |
1c1d7e |
contains the \c \\file command will belong to the file it is located in.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Important:
|
|
Packit |
1c1d7e |
The documentation of global functions, variables, typedefs, and enums will
|
|
Packit |
1c1d7e |
only be included in the output if the file they are in is documented as well.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Example:
|
|
Packit |
1c1d7e |
\include file.h
|
|
Packit |
1c1d7e |
\htmlonly
|
|
Packit |
1c1d7e |
Click here
|
|
Packit |
1c1d7e |
for the corresponding HTML documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endhtmlonly
|
|
Packit |
1c1d7e |
\latexonly
|
|
Packit |
1c1d7e |
See \hyperlink{file_example}{File example}
|
|
Packit |
1c1d7e |
for the corresponding \mbox{\LaTeX} documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endlatexonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\note In the above example \ref cfg_javadoc_autobrief "JAVADOC_AUTOBRIEF"
|
|
Packit |
1c1d7e |
has been set to \c YES in the configuration file.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdfn \\fn (function declaration)
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\fn
|
|
Packit |
1c1d7e |
Indicates that a comment block contains documentation for a function
|
|
Packit |
1c1d7e |
(either global or as a member of a class). This command is \em only
|
|
Packit |
1c1d7e |
needed if a comment block is \e not placed in front (or behind)
|
|
Packit |
1c1d7e |
the function declaration or definition.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
If your comment block \e is in front of the function
|
|
Packit |
1c1d7e |
declaration or definition this command can (and to avoid redundancy
|
|
Packit |
1c1d7e |
should) be omitted.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
A full function declaration including arguments should be specified after the
|
|
Packit |
1c1d7e |
\c \\fn command on a \e single line, since the argument ends at the end
|
|
Packit |
1c1d7e |
of the line!
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
This command is equivalent to \ref cmdvar "\\var", \ref cmdtypedef "\\typedef",
|
|
Packit |
1c1d7e |
and \ref cmdproperty "\\property".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\warning Do not use this command
|
|
Packit |
1c1d7e |
if it is not absolutely needed, since it will lead to duplication of
|
|
Packit |
1c1d7e |
information and thus to errors.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Example:
|
|
Packit |
1c1d7e |
\include func.h
|
|
Packit |
1c1d7e |
\htmlonly
|
|
Packit |
1c1d7e |
Click here
|
|
Packit |
1c1d7e |
for the corresponding HTML documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endhtmlonly
|
|
Packit |
1c1d7e |
\latexonly
|
|
Packit |
1c1d7e |
See \hyperlink{class_fn___test}{Fn example}
|
|
Packit |
1c1d7e |
for the corresponding \mbox{\LaTeX} documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endlatexonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa sections \ref cmdvar "\\var", \ref cmdproperty "\\property", and
|
|
Packit |
1c1d7e |
\ref cmdtypedef "\\typedef".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdheaderfile \\headerfile <header-file> [<header-name>]
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\headerfile
|
|
Packit |
1c1d7e |
Intended to be used for class, struct, or union documentation, where
|
|
Packit |
1c1d7e |
the documentation is in front of the definition. The arguments of
|
|
Packit |
1c1d7e |
this command are the same as the second and third argument of
|
|
Packit |
1c1d7e |
\ref cmdclass "\\class".
|
|
Packit |
1c1d7e |
The \<header-file\> name refers to the file that should be included by the
|
|
Packit |
1c1d7e |
application to obtain the definition of the class, struct, or union.
|
|
Packit |
1c1d7e |
The \<header-name\> argument can be used to overwrite the
|
|
Packit |
1c1d7e |
name of the link that is used in the class documentation to something other
|
|
Packit |
1c1d7e |
than \<header-file\>. This can be useful if the include name is not located
|
|
Packit |
1c1d7e |
on the default include path (like \<X11/X.h\>).
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
With the \<header-name\>
|
|
Packit |
1c1d7e |
argument you can also specify how the include statement should look like,
|
|
Packit |
1c1d7e |
by adding either double quotes or sharp brackets around the name.
|
|
Packit |
1c1d7e |
By default sharp brackets are used if just the name is given.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
If a pair of double quotes is given for either the \<header-file\> or
|
|
Packit |
1c1d7e |
\<header-name\> argument, the current file (in which the command was found)
|
|
Packit |
1c1d7e |
will be used but with quotes. So for a comment block with a \c \\headerfile
|
|
Packit |
1c1d7e |
command inside a file test.h , the following three commands are equivalent:
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
\headerfile test.h "test.h"
|
|
Packit |
1c1d7e |
\headerfile test.h ""
|
|
Packit |
1c1d7e |
\headerfile "" \endverbatim
|
|
Packit |
1c1d7e |
To get sharp brackets you do not need to specify anything,
|
|
Packit |
1c1d7e |
but if you want to be explicit you could use any of the following:
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
\headerfile test.h <test.h>
|
|
Packit |
1c1d7e |
\headerfile test.h <>
|
|
Packit |
1c1d7e |
\headerfile <> \endverbatim
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
To globally reverse the default include representation to
|
|
Packit |
1c1d7e |
local includes you can set
|
|
Packit |
1c1d7e |
\ref cfg_force_local_includes "FORCE_LOCAL_INCLUDES" to \c YES.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
To disable the include information altogether set
|
|
Packit |
1c1d7e |
\ref cfg_show_include_files "SHOW_INCLUDE_FILES" to \c NO.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdhideinitializer \\hideinitializer
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\hideinitializer
|
|
Packit |
1c1d7e |
By default the value of a define and the initializer of a variable
|
|
Packit |
1c1d7e |
are displayed unless they are longer than 30 lines. By putting
|
|
Packit |
1c1d7e |
this command in a comment block of a define or variable, the
|
|
Packit |
1c1d7e |
initializer is always hidden. The maximum number of initialization lines
|
|
Packit |
1c1d7e |
can be changed by means of the configuration parameter
|
|
Packit |
1c1d7e |
\ref cfg_max_initializer_lines "MAX_INITIALIZER_LINES", the default
|
|
Packit |
1c1d7e |
value is 30.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdshowinitializer "\\showinitializer".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdidlexcept \\idlexcept <name>
|
|
Packit |
1c1d7e |
\addindex \\idlexcept
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Indicates that a comment block contains documentation for a
|
|
Packit |
1c1d7e |
IDL exception with name \<name\>.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdimplements \\implements <name>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\implements
|
|
Packit |
1c1d7e |
This command can be used to manually indicate an inheritance relation,
|
|
Packit |
1c1d7e |
when the programming language does not support this concept natively
|
|
Packit |
1c1d7e |
(e.g. C).
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The file \c manual.c in the example directory shows how to use this command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\htmlonly
|
|
Packit |
1c1d7e |
Click here
|
|
Packit |
1c1d7e |
for the corresponding HTML documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\endhtmlonly
|
|
Packit |
1c1d7e |
\latexonly
|
|
Packit |
1c1d7e |
See \hyperlink{extends_example}{Implements example}
|
|
Packit |
1c1d7e |
for the corresponding \mbox{\LaTeX} documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endlatexonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdextends "\\extends" and section
|
|
Packit |
1c1d7e |
\ref cmdmemberof "\\memberof"
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdingroup \\ingroup (<groupname> [<groupname> <groupname>])
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\ingroup
|
|
Packit |
1c1d7e |
If the \c \\ingroup command is placed in a comment block of a
|
|
Packit |
1c1d7e |
class, file or namespace, then it will be added to the group or
|
|
Packit |
1c1d7e |
groups identified by \<groupname\>.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa page \ref grouping "Grouping", sections \ref cmddefgroup "\\defgroup",
|
|
Packit |
1c1d7e |
\ref cmdaddtogroup "\\addtogroup", and \ref cmdweakgroup "\\weakgroup"
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdinterface \\interface <name> [<header-file>] [<header-name>]
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\interface
|
|
Packit |
1c1d7e |
Indicates that a comment block contains documentation for an
|
|
Packit |
1c1d7e |
interface with name \<name\>. The arguments are equal to the arguments of the
|
|
Packit |
1c1d7e |
\ref cmdclass "\\class" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdclass "\\class".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdinternal \\internal
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\internal
|
|
Packit |
1c1d7e |
This command starts a documentation fragment that is meant for internal
|
|
Packit |
1c1d7e |
use only. The fragment naturally ends at the end of the comment block.
|
|
Packit |
1c1d7e |
You can also force the internal section to end earlier by using the
|
|
Packit |
1c1d7e |
\ref cmdendinternal "\\endinternal" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
If the \c \\internal command is put inside a section
|
|
Packit |
1c1d7e |
(see for example \ref cmdsection "\\section") all subsections after the
|
|
Packit |
1c1d7e |
command are considered to be internal as well. Only a new section at the
|
|
Packit |
1c1d7e |
same level will end the fragment that is considered internal.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
You can use \ref cfg_internal_docs "INTERNAL_DOCS" in the config file
|
|
Packit |
1c1d7e |
to show (\c YES) or hide (\c NO) the internal documentation.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdendinternal "\\endinternal".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdmainpage \\mainpage [(title)]
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\mainpage
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
If the \c \\mainpage command is placed in a comment block the
|
|
Packit |
1c1d7e |
block is used to customize the index page (in HTML) or
|
|
Packit |
1c1d7e |
the first chapter (in \LaTeX).
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The title argument is optional and replaces the default title that
|
|
Packit |
1c1d7e |
doxygen normally generates. If you do not want any title you can
|
|
Packit |
1c1d7e |
specify \c notitle as the argument of \c \\mainpage.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Here is an example:
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
/*! \mainpage My Personal Index Page
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
* \section intro_sec Introduction
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
* This is the introduction.
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
* \section install_sec Installation
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
* \subsection step1 Step 1: Opening the box
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
* etc...
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
You can refer to the main page using: \ref cmdref "\\ref" index .
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdsection "\\section",
|
|
Packit |
1c1d7e |
section \ref cmdsubsection "\\subsection", and
|
|
Packit |
1c1d7e |
section \ref cmdpage "\\page".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdmemberof \\memberof <name>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\memberof
|
|
Packit |
1c1d7e |
This command makes a function a member of a class in a similar way
|
|
Packit |
1c1d7e |
as \ref cmdrelates "\\relates" does, only with this command the function
|
|
Packit |
1c1d7e |
is represented as a real member of the class.
|
|
Packit |
1c1d7e |
This can be useful when the programming language does not support
|
|
Packit |
1c1d7e |
the concept of member functions natively (e.g. C).
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
It is also possible to use this command together with
|
|
Packit |
1c1d7e |
\ref cmdpublic "\\public", \ref cmdprotected "\\protected" or
|
|
Packit |
1c1d7e |
\ref cmdprivate "\\private".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The file \c manual.c in the example directory shows how to use this command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\htmlonly
|
|
Packit |
1c1d7e |
Click here
|
|
Packit |
1c1d7e |
for the corresponding HTML documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endhtmlonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa sections \ref cmdextends "\\extends", \ref cmdimplements "\\implements",
|
|
Packit |
1c1d7e |
\ref cmdpublic "\\public", \ref cmdprotected "\\protected" and
|
|
Packit |
1c1d7e |
\ref cmdprivate "\\private".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdname \\name [(header)]
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\name
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
This command turns a comment block into a header
|
|
Packit |
1c1d7e |
definition of a member group. The
|
|
Packit |
1c1d7e |
comment block should be followed by a
|
|
Packit |
1c1d7e |
//\@{ ... //\@} block containing the
|
|
Packit |
1c1d7e |
members of the group.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
See section \ref memgroup for an example.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdnamespace \\namespace <name>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\namespace
|
|
Packit |
1c1d7e |
Indicates that a comment block contains documentation for a
|
|
Packit |
1c1d7e |
namespace with name \<name\>.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdnosubgrouping \\nosubgrouping
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\nosubgrouping
|
|
Packit |
1c1d7e |
This command can be put in the documentation
|
|
Packit |
1c1d7e |
of a class. It can be used in combination with member grouping
|
|
Packit |
1c1d7e |
to avoid that doxygen puts a member group as a subgroup of a
|
|
Packit |
1c1d7e |
Public/Protected/Private/... section.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa sections \ref cmdpublicsection "\\publicsection",
|
|
Packit |
1c1d7e |
\ref cmdprotectedsection "\\protectedsection" and
|
|
Packit |
1c1d7e |
\ref cmdprivatesection "\\privatesection".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdoverload \\overload [(function declaration)]
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\overload
|
|
Packit |
1c1d7e |
This command can be used to generate the following
|
|
Packit |
1c1d7e |
standard text for an overloaded member function:
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
> This is an overloaded member function, provided for convenience.
|
|
Packit |
1c1d7e |
> It differs from the above function only in what argument(s) it accepts.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
If the documentation for the overloaded member function is not located
|
|
Packit |
1c1d7e |
in front of the function declaration or definition, the optional
|
|
Packit |
1c1d7e |
argument should be used to specify the correct function.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Any other documentation that is inside the documentation block will
|
|
Packit |
1c1d7e |
by appended after the generated message.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Note 1:
|
|
Packit |
1c1d7e |
You are responsible that there is indeed an
|
|
Packit |
1c1d7e |
earlier documented member that is overloaded by this one.
|
|
Packit |
1c1d7e |
To prevent that document reorders the documentation you should set
|
|
Packit |
1c1d7e |
\ref cfg_sort_member_docs "SORT_MEMBER_DOCS" to \c NO in this case.
|
|
Packit |
1c1d7e |
\par Note 2:
|
|
Packit |
1c1d7e |
The \c \\overload command does not work inside a one-line comment.
|
|
Packit |
1c1d7e |
\par Example:
|
|
Packit |
1c1d7e |
\include overload.cpp
|
|
Packit |
1c1d7e |
\htmlonly
|
|
Packit |
1c1d7e |
Click here
|
|
Packit |
1c1d7e |
for the corresponding HTML documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endhtmlonly
|
|
Packit |
1c1d7e |
\latexonly
|
|
Packit |
1c1d7e |
See \hyperlink{class_overload___test}{Overload example}
|
|
Packit |
1c1d7e |
for the corresponding \mbox{\LaTeX} documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endlatexonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdpackage \\package <name>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\package
|
|
Packit |
1c1d7e |
Indicates that a comment block contains documentation for a
|
|
Packit |
1c1d7e |
Java package with name \<name\>.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdpage \\page <name> (title)
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\page
|
|
Packit |
1c1d7e |
Indicates that a comment block contains a piece of documentation that is
|
|
Packit |
1c1d7e |
not directly related to one specific class, file or member.
|
|
Packit |
1c1d7e |
The HTML generator creates a page containing the documentation. The
|
|
Packit |
1c1d7e |
\LaTeX generator
|
|
Packit |
1c1d7e |
starts a new section in the chapter 'Page documentation'.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Example:
|
|
Packit |
1c1d7e |
\include page.doc
|
|
Packit |
1c1d7e |
\htmlonly
|
|
Packit |
1c1d7e |
Click here
|
|
Packit |
1c1d7e |
for the corresponding HTML documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endhtmlonly
|
|
Packit |
1c1d7e |
\latexonly
|
|
Packit |
1c1d7e |
See \hyperlink{page_example}{Page example}
|
|
Packit |
1c1d7e |
for the corresponding \mbox{\LaTeX} documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endlatexonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Note:
|
|
Packit |
1c1d7e |
The \<name\> argument consists of a combination of letters and number
|
|
Packit |
1c1d7e |
digits. If you wish to use upper case letters (e.g. \c MYPAGE1), or
|
|
Packit |
1c1d7e |
mixed case letters (e.g. \c MyPage1) in the \<name\> argument, you
|
|
Packit |
1c1d7e |
should set \ref cfg_case_sense_names "CASE_SENSE_NAMES" to \c YES. However, this is advisable
|
|
Packit |
1c1d7e |
only if your file system is case sensitive. Otherwise (and for better
|
|
Packit |
1c1d7e |
portability) you should use all lower case letters (e.g. \c mypage1)
|
|
Packit |
1c1d7e |
for \<name\> in all references to the page.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdsection "\\section", section
|
|
Packit |
1c1d7e |
\ref cmdsubsection "\\subsection", and section
|
|
Packit |
1c1d7e |
\ref cmdref "\\ref".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdprivate \\private
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\private
|
|
Packit |
1c1d7e |
Indicates that the member documented by the comment block is private,
|
|
Packit |
1c1d7e |
i.e., should only be accessed by other members in the same class.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Note that doxygen automatically detects the protection level of members
|
|
Packit |
1c1d7e |
in object-oriented languages. This command is intended for use only when
|
|
Packit |
1c1d7e |
the language does not support the concept of protection level natively
|
|
Packit |
1c1d7e |
(e.g. C, PHP 4).
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
For starting a section of private members, in a way similar to the
|
|
Packit |
1c1d7e |
"private:" class marker in C++, use \ref cmdprivatesection "\\privatesection".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa sections \ref cmdmemberof "\\memberof", \ref cmdpublic "\\public",
|
|
Packit |
1c1d7e |
\ref cmdprotected "\\protected" and \ref cmdprivatesection "\\privatesection".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdprivatesection \\privatesection
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\privatesection
|
|
Packit |
1c1d7e |
Starting a section of private members, in a way similar to the
|
|
Packit |
1c1d7e |
"private:" class marker in C++.
|
|
Packit |
1c1d7e |
Indicates that the member documented by the comment block is private,
|
|
Packit |
1c1d7e |
i.e., should only be accessed by other members in the same class.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa sections \ref cmdmemberof "\\memberof", \ref cmdpublic "\\public",
|
|
Packit |
1c1d7e |
\ref cmdprotected "\\protected" and \ref cmdprivate "\\private".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdproperty \\property (qualified property name)
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\property
|
|
Packit |
1c1d7e |
Indicates that a comment block contains documentation for a
|
|
Packit |
1c1d7e |
property (either global or as a member of a class).
|
|
Packit |
1c1d7e |
This command is equivalent to \ref cmdfn "\\fn",
|
|
Packit |
1c1d7e |
\ref cmdtypedef "\\typedef", and \ref cmdvar "\\var".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa sections \ref cmdfn "\\fn", \ref cmdtypedef "\\typedef", and
|
|
Packit |
1c1d7e |
\ref cmdvar "\\var".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdprotected \\protected
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\protected
|
|
Packit |
1c1d7e |
Indicates that the member documented by the comment block is protected,
|
|
Packit |
1c1d7e |
i.e., should only be accessed by other members in the same or derived
|
|
Packit |
1c1d7e |
classes.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Note that doxygen automatically detects the protection level of members
|
|
Packit |
1c1d7e |
in object-oriented languages. This command is intended for use only when
|
|
Packit |
1c1d7e |
the language does not support the concept of protection level natively
|
|
Packit |
1c1d7e |
(e.g. C, PHP 4).
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
For starting a section of protected members, in a way similar to the
|
|
Packit |
1c1d7e |
"protected:" class marker in C++, use \ref cmdprotectedsection "\\protectedsection".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa sections \ref cmdmemberof "\\memberof", \ref cmdpublic "\\public",
|
|
Packit |
1c1d7e |
\ref cmdprivate "\\private" and \ref cmdprotectedsection "\\protectedsection".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdprotectedsection \\protectedsection
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\protectedsection
|
|
Packit |
1c1d7e |
Starting a section of protected members, in a way similar to the
|
|
Packit |
1c1d7e |
"protected:" class marker in C++.
|
|
Packit |
1c1d7e |
Indicates that the member documented by the comment block is protected,
|
|
Packit |
1c1d7e |
i.e., should only be accessed by other members in the same or derived
|
|
Packit |
1c1d7e |
classes.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa sections \ref cmdmemberof "\\memberof", \ref cmdpublic "\\public",
|
|
Packit |
1c1d7e |
\ref cmdprivate "\\private" and \ref cmdprotected "\\protected".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdprotocol \\protocol <name> [<header-file>] [<header-name>]
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\protocol
|
|
Packit |
1c1d7e |
Indicates that a comment block contains documentation for a
|
|
Packit |
1c1d7e |
protocol in Objective-C with name \<name\>. The arguments are equal
|
|
Packit |
1c1d7e |
to the \ref cmdclass "\\class" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdclass "\\class".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdpublic \\public
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\public
|
|
Packit |
1c1d7e |
Indicates that the member documented by the comment block is public,
|
|
Packit |
1c1d7e |
i.e., can be accessed by any other class or function.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Note that doxygen automatically detects the protection level of members
|
|
Packit |
1c1d7e |
in object-oriented languages. This command is intended for use only when
|
|
Packit |
1c1d7e |
the language does not support the concept of protection level natively
|
|
Packit |
1c1d7e |
(e.g. C, PHP 4).
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
For starting a section of public members, in a way similar to the
|
|
Packit |
1c1d7e |
"public:" class marker in C++, use \ref cmdpublicsection "\\publicsection".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa sections \ref cmdmemberof "\\memberof", \ref cmdprotected "\\protected",
|
|
Packit |
1c1d7e |
\ref cmdprivate "\\private" and \ref cmdpublicsection "\\publicsection".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdpublicsection \\publicsection
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\publicsection
|
|
Packit |
1c1d7e |
Starting a section of public members, in a way similar to the
|
|
Packit |
1c1d7e |
"public:" class marker in C++.
|
|
Packit |
1c1d7e |
Indicates that the member documented by the comment block is public,
|
|
Packit |
1c1d7e |
i.e., can be accessed by any other class or function.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa sections \ref cmdmemberof "\\memberof", \ref cmdprotected "\\protected",
|
|
Packit |
1c1d7e |
\ref cmdprivate "\\private" and \ref cmdpublic "\\public".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdpure \\pure
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\pure
|
|
Packit |
1c1d7e |
Indicates that the member documented by the comment block is pure virtual,
|
|
Packit |
1c1d7e |
i.e., it is abstract and has no implementation associated with it.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
This command is intended for use only when
|
|
Packit |
1c1d7e |
the language does not support the concept of pure virtual methods natively
|
|
Packit |
1c1d7e |
(e.g. C, PHP 4).
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdrelates \\relates <name>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\relates
|
|
Packit |
1c1d7e |
This command can be used in the documentation of a non-member function
|
|
Packit |
1c1d7e |
\<name\>. It puts the function inside the 'related function' section
|
|
Packit |
1c1d7e |
of the class documentation. This command is useful for documenting
|
|
Packit |
1c1d7e |
non-friend functions that are nevertheless strongly coupled to a certain
|
|
Packit |
1c1d7e |
class. It prevents the need of having to document a file, but
|
|
Packit |
1c1d7e |
only works for functions.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Example:
|
|
Packit |
1c1d7e |
\include relates.cpp
|
|
Packit |
1c1d7e |
\htmlonly
|
|
Packit |
1c1d7e |
Click here
|
|
Packit |
1c1d7e |
for the corresponding HTML documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endhtmlonly
|
|
Packit |
1c1d7e |
\latexonly
|
|
Packit |
1c1d7e |
See \hyperlink{class_string}{Relates example}
|
|
Packit |
1c1d7e |
for the corresponding \mbox{\LaTeX} documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endlatexonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdrelated \\related <name>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\related
|
|
Packit |
1c1d7e |
Equivalent to \ref cmdrelates "\\relates"
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdrelatesalso \\relatesalso <name>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\relatesalso
|
|
Packit |
1c1d7e |
This command can be used in the documentation of a non-member function
|
|
Packit |
1c1d7e |
\<name\>. It puts the function both inside the 'related function' section
|
|
Packit |
1c1d7e |
of the class documentation as well as leaving it at its normal file documentation
|
|
Packit |
1c1d7e |
location. This command is useful for documenting
|
|
Packit |
1c1d7e |
non-friend functions that are nevertheless strongly coupled to a certain
|
|
Packit |
1c1d7e |
class. It only works for functions.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdrelatedalso \\relatedalso <name>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\relatedalso
|
|
Packit |
1c1d7e |
Equivalent to \ref cmdrelatesalso "\\relatesalso"
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdshowinitializer \\showinitializer
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\showinitializer
|
|
Packit |
1c1d7e |
By default the value of a define and the initializer of a variable
|
|
Packit |
1c1d7e |
are only displayed if they are less than 30 lines long. By putting
|
|
Packit |
1c1d7e |
this command in a comment block of a define or variable, the
|
|
Packit |
1c1d7e |
initializer is shown unconditionally.
|
|
Packit |
1c1d7e |
The maximum number of initialization lines
|
|
Packit |
1c1d7e |
can be changed by means of the configuration parameter
|
|
Packit |
1c1d7e |
\ref cfg_max_initializer_lines "MAX_INITIALIZER_LINES", the default value is
|
|
Packit |
1c1d7e |
30.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdhideinitializer "\\hideinitializer".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdstatic \\static
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\static
|
|
Packit |
1c1d7e |
Indicates that the member documented by the comment block is static,
|
|
Packit |
1c1d7e |
i.e., it works on a class, instead of on an instance of the class.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
This command is intended for use only when
|
|
Packit |
1c1d7e |
the language does not support the concept of static methods natively (e.g. C).
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdstruct \\struct <name> [<header-file>] [<header-name>]
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\struct
|
|
Packit |
1c1d7e |
Indicates that a comment block contains documentation for a
|
|
Packit |
1c1d7e |
struct with name \<name\>. The arguments are equal to the arguments of the
|
|
Packit |
1c1d7e |
\ref cmdclass "\\class" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdclass "\\class".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdtypedef \\typedef (typedef declaration)
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\typedef
|
|
Packit |
1c1d7e |
Indicates that a comment block contains documentation for a
|
|
Packit |
1c1d7e |
typedef (either global or as a member of a class).
|
|
Packit |
1c1d7e |
This command is equivalent to \ref cmdfn "\\fn",
|
|
Packit |
1c1d7e |
\ref cmdproperty "\\property", and \ref cmdvar "\\var".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdfn "\\fn", \ref cmdproperty "\\property", and
|
|
Packit |
1c1d7e |
\ref cmdvar "\\var".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdunion \\union <name> [<header-file>] [<header-name>]
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\union
|
|
Packit |
1c1d7e |
Indicates that a comment block contains documentation for a
|
|
Packit |
1c1d7e |
union with name \<name\>. The arguments are equal to the arguments of the
|
|
Packit |
1c1d7e |
\ref cmdclass "\\class" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdclass "\\class".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdvar \\var (variable declaration)
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\var
|
|
Packit |
1c1d7e |
Indicates that a comment block contains documentation for a variable or
|
|
Packit |
1c1d7e |
enum value (either global or as a member of a class).
|
|
Packit |
1c1d7e |
This command is equivalent to \ref cmdfn "\\fn",
|
|
Packit |
1c1d7e |
\ref cmdproperty "\\property", and \ref cmdtypedef "\\typedef".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdfn "\\fn", \ref cmdproperty "\\property", and \ref cmdtypedef "\\typedef".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdvhdlflow \\vhdlflow [(title for the flow chart)]
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\vhdlflow
|
|
Packit |
1c1d7e |
This is a VHDL specific command, which can be put in the documentation of a process to
|
|
Packit |
1c1d7e |
produce a flow chart of the logic in the process.
|
|
Packit |
1c1d7e |
Optionally a title for the flow chart can be given.
|
|
Packit |
1c1d7e |
\note Currently the flow chart will only appear in the HTML output.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdweakgroup \\weakgroup <name> [(title)]
|
|
Packit |
1c1d7e |
\addindex \\weakgroup
|
|
Packit |
1c1d7e |
Can be used exactly like \ref cmdaddtogroup "\\addtogroup", but has
|
|
Packit |
1c1d7e |
a lower priority when it comes to resolving conflicting grouping
|
|
Packit |
1c1d7e |
definitions.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa page \ref grouping "Grouping" and section \ref cmdaddtogroup "\\addtogroup".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\htmlonly<center>\endhtmlonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\htmlonly --- \endhtmlonly
|
|
Packit |
1c1d7e |
Section indicators
|
|
Packit |
1c1d7e |
\htmlonly --- \endhtmlonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\htmlonly</center>\endhtmlonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdattention \\attention { attention text }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\attention
|
|
Packit |
1c1d7e |
Starts a paragraph where a message that needs attention may be entered.
|
|
Packit |
1c1d7e |
The paragraph will be indented.
|
|
Packit |
1c1d7e |
The text of the paragraph has no special internal structure. All visual
|
|
Packit |
1c1d7e |
enhancement commands may be used inside the paragraph.
|
|
Packit |
1c1d7e |
Multiple adjacent \c \\attention commands will be joined into a single paragraph.
|
|
Packit |
1c1d7e |
The \c \\attention command ends when a blank line or some other
|
|
Packit |
1c1d7e |
sectioning command is encountered.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdauthor \\author { list of authors }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\author
|
|
Packit |
1c1d7e |
Starts a paragraph where one or more author names may be entered.
|
|
Packit |
1c1d7e |
The paragraph will be indented.
|
|
Packit |
1c1d7e |
The text of the paragraph has no special internal structure. All visual
|
|
Packit |
1c1d7e |
enhancement commands may be used inside the paragraph.
|
|
Packit |
1c1d7e |
Multiple adjacent \c \\author commands will be joined into a single paragraph.
|
|
Packit |
1c1d7e |
Each author description will start a new line. Alternatively, one \c \\author command
|
|
Packit |
1c1d7e |
may mention several authors. The \c \\author command ends when a blank line or some other
|
|
Packit |
1c1d7e |
sectioning command is encountered.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Example:
|
|
Packit |
1c1d7e |
\include author.cpp
|
|
Packit |
1c1d7e |
\htmlonly
|
|
Packit |
1c1d7e |
Click here
|
|
Packit |
1c1d7e |
for the corresponding HTML documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endhtmlonly
|
|
Packit |
1c1d7e |
\latexonly
|
|
Packit |
1c1d7e |
See \hyperlink{class_some_nice_class}{Author example}
|
|
Packit |
1c1d7e |
for the corresponding \mbox{\LaTeX} documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endlatexonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdauthors \\authors { list of authors }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\authors
|
|
Packit |
1c1d7e |
Equivalent to \ref cmdauthor "\\author".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdbrief \\brief { brief description }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\brief
|
|
Packit |
1c1d7e |
Starts a paragraph that serves as a brief description. For classes and files
|
|
Packit |
1c1d7e |
the brief description will be used in lists and at the start of the
|
|
Packit |
1c1d7e |
documentation page. For class and file members, the brief description
|
|
Packit |
1c1d7e |
will be placed at the declaration of the member and prepended to the
|
|
Packit |
1c1d7e |
detailed description. A brief description may span several lines (although
|
|
Packit |
1c1d7e |
it is advised to keep it brief!). A brief description ends when a
|
|
Packit |
1c1d7e |
blank line or another sectioning command is encountered. If multiple
|
|
Packit |
1c1d7e |
\c \\brief commands are present they will be joined. See section
|
|
Packit |
1c1d7e |
\ref cmdauthor "\\author" for an example.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Synonymous to \ref cmdshort "\\short".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdbug \\bug { bug description }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\bug
|
|
Packit |
1c1d7e |
Starts a paragraph where one or more bugs may be reported.
|
|
Packit |
1c1d7e |
The paragraph will be indented.
|
|
Packit |
1c1d7e |
The text of the paragraph has no special internal structure. All visual
|
|
Packit |
1c1d7e |
enhancement commands may be used inside the paragraph.
|
|
Packit |
1c1d7e |
Multiple adjacent \c \\bug commands will be joined into a single paragraph.
|
|
Packit |
1c1d7e |
Each bug description will start on a new line.
|
|
Packit |
1c1d7e |
Alternatively, one \c \\bug command may mention
|
|
Packit |
1c1d7e |
several bugs. The \c \\bug command ends when a blank line or some other
|
|
Packit |
1c1d7e |
sectioning command is encountered. See section \ref cmdauthor "\\author"
|
|
Packit |
1c1d7e |
for an example.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdcond \\cond [(section-label)]
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\cond
|
|
Packit |
1c1d7e |
Starts a conditional section that ends with a corresponding
|
|
Packit |
1c1d7e |
\ref cmdendcond "\\endcond" command, which is typically found in
|
|
Packit |
1c1d7e |
another comment block. The main purpose of this pair of
|
|
Packit |
1c1d7e |
commands is to (conditionally) exclude part of a file from processing
|
|
Packit |
1c1d7e |
(in older version of doxygen this could only be achieved using C preprocessor commands).
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The section between \c \\cond and \ref cmdendcond "\\endcond" can be included by
|
|
Packit |
1c1d7e |
adding its section label to the \ref cfg_enabled_sections "ENABLED_SECTIONS"
|
|
Packit |
1c1d7e |
configuration option. If the section label is omitted, the section will
|
|
Packit |
1c1d7e |
be excluded from processing unconditionally. The section label can be a
|
|
Packit |
1c1d7e |
logical expression build of section labels, round brackets, && (AND), || (OR) and ! (NOT).
|
|
Packit |
1c1d7e |
If you use an expression you need to wrap it in round brackets, i.e
|
|
Packit |
1c1d7e |
<tt>\\cond (!LABEL1 && LABEL2)</tt>.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
For conditional sections within a comment block one should
|
|
Packit |
1c1d7e |
use a \ref cmdif "\\if" ... \ref cmdendif "\\endif" block.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Conditional sections can be nested. In this case a nested section will only
|
|
Packit |
1c1d7e |
be shown if it and its containing section are included.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Here is an example showing the commands in action:
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
/** An interface */
|
|
Packit |
1c1d7e |
class Intf
|
|
Packit |
1c1d7e |
{
|
|
Packit |
1c1d7e |
public:
|
|
Packit |
1c1d7e |
/** A method */
|
|
Packit |
1c1d7e |
virtual void func() = 0;
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
/// @cond TEST
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
/** A method used for testing */
|
|
Packit |
1c1d7e |
virtual void test() = 0;
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
/// @endcond
|
|
Packit |
1c1d7e |
};
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
/// @cond DEV
|
|
Packit |
1c1d7e |
/*
|
|
Packit |
1c1d7e |
* The implementation of the interface
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
class Implementation : public Intf
|
|
Packit |
1c1d7e |
{
|
|
Packit |
1c1d7e |
public:
|
|
Packit |
1c1d7e |
void func();
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
/// @cond TEST
|
|
Packit |
1c1d7e |
void test();
|
|
Packit |
1c1d7e |
/// @endcond
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
/// @cond
|
|
Packit |
1c1d7e |
/** This method is obsolete and does
|
|
Packit |
1c1d7e |
* not show up in the documentation.
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
void obsolete();
|
|
Packit |
1c1d7e |
/// @endcond
|
|
Packit |
1c1d7e |
};
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
/// @endcond
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The output will be different depending on whether or not \ref cfg_enabled_sections "ENABLED_SECTIONS"
|
|
Packit |
1c1d7e |
contains \c TEST, or \c DEV
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa sections \ref cmdendcond "\\endcond" and \ref cfg_enabled_sections "ENABLED_SECTIONS".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdcopyright \\copyright { copyright description }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\copyright
|
|
Packit |
1c1d7e |
Starts a paragraph where the copyright of an entity can be described.
|
|
Packit |
1c1d7e |
This paragraph will be indented.
|
|
Packit |
1c1d7e |
The text of the paragraph has no special internal structure.
|
|
Packit |
1c1d7e |
See section \ref cmdauthor "\\author" for an example.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmddate \\date { date description }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\date
|
|
Packit |
1c1d7e |
Starts a paragraph where one or more dates may be entered.
|
|
Packit |
1c1d7e |
The paragraph will be indented.
|
|
Packit |
1c1d7e |
The text of the paragraph has no special internal structure. All visual
|
|
Packit |
1c1d7e |
enhancement commands may be used inside the paragraph.
|
|
Packit |
1c1d7e |
Multiple adjacent \c \\date commands will be joined into a single paragraph.
|
|
Packit |
1c1d7e |
Each date description will start on a new line.
|
|
Packit |
1c1d7e |
Alternatively, one \c \\date command may mention
|
|
Packit |
1c1d7e |
several dates. The \c \\date command ends when a blank line or some other
|
|
Packit |
1c1d7e |
sectioning command is encountered. See section \ref cmdauthor "\\author"
|
|
Packit |
1c1d7e |
for an example.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmddeprecated \\deprecated { description }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\deprecated
|
|
Packit |
1c1d7e |
Starts a paragraph indicating that this documentation block belongs to
|
|
Packit |
1c1d7e |
a deprecated entity. Can be used to describe alternatives,
|
|
Packit |
1c1d7e |
expected life span, etc.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmddetails \\details { detailed description }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\details
|
|
Packit |
1c1d7e |
Just like \ref cmdbrief "\\brief" starts a brief description, \c \\details
|
|
Packit |
1c1d7e |
starts the detailed description. You can also start a new paragraph (blank line)
|
|
Packit |
1c1d7e |
then the \c \\details command is not needed.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdelse \\else
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\else
|
|
Packit |
1c1d7e |
Starts a conditional section if the previous conditional section
|
|
Packit |
1c1d7e |
was not enabled. The previous section should have been started with
|
|
Packit |
1c1d7e |
a \ref cmdif "\\if", \ref cmdifnot "\\ifnot", or \ref cmdelseif "\\elseif"
|
|
Packit |
1c1d7e |
command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa \ref cmdif "\\if", \ref cmdifnot "\\ifnot", \ref cmdelseif "\\elseif",
|
|
Packit |
1c1d7e |
\ref cmdendif "\\endif."
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdelseif \\elseif (section-label)
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\elseif
|
|
Packit |
1c1d7e |
Starts a conditional documentation section if the previous section
|
|
Packit |
1c1d7e |
was not enabled. A conditional section is
|
|
Packit |
1c1d7e |
disabled by default. To enable it you must put the
|
|
Packit |
1c1d7e |
section-label after the \ref cfg_enabled_sections "ENABLED_SECTIONS"
|
|
Packit |
1c1d7e |
tag in the configuration file. The section label can be a logical expression
|
|
Packit |
1c1d7e |
build of section names, round brackets, && (AND), || (OR) and ! (NOT).
|
|
Packit |
1c1d7e |
Conditional blocks can be nested. A nested section is
|
|
Packit |
1c1d7e |
only enabled if all enclosing sections are enabled as well.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa sections \ref cmdendif "\\endif", \ref cmdifnot "\\ifnot",
|
|
Packit |
1c1d7e |
\ref cmdelse "\\else", and \ref cmdelseif "\\elseif".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdendcond \\endcond
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\endcond
|
|
Packit |
1c1d7e |
Ends a conditional section that was started by \ref cmdcond "\\cond".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdcond "\\cond".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdendif \\endif
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\endif
|
|
Packit |
1c1d7e |
Ends a conditional section that was started by \ref cmdif "\\if" or \ref cmdifnot "\\ifnot"
|
|
Packit |
1c1d7e |
For each \ref cmdif "\\if" or \ref cmdifnot "\\ifnot" one and only one matching
|
|
Packit |
1c1d7e |
\ref cmdendif "\\endif" must follow.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa sections \ref cmdif "\\if" and \ref cmdifnot "\\ifnot".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdexception \\exception <exception-object> { exception description }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\exception
|
|
Packit |
1c1d7e |
Starts an exception description for an exception object with name
|
|
Packit |
1c1d7e |
\<exception-object\>. Followed by a description of the exception.
|
|
Packit |
1c1d7e |
The existence of the exception object is not checked.
|
|
Packit |
1c1d7e |
The text of the paragraph has no special internal structure. All visual
|
|
Packit |
1c1d7e |
enhancement commands may be used inside the paragraph.
|
|
Packit |
1c1d7e |
Multiple adjacent \c \\exception commands will be joined into a single paragraph.
|
|
Packit |
1c1d7e |
Each exception description will start on a new line.
|
|
Packit |
1c1d7e |
The \c \\exception description ends when a blank line or some other
|
|
Packit |
1c1d7e |
sectioning command is encountered. See section \ref cmdfn "\\fn" for an
|
|
Packit |
1c1d7e |
example.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdif \\if (section-label)
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\if
|
|
Packit |
1c1d7e |
Starts a conditional documentation section. The section ends
|
|
Packit |
1c1d7e |
with a matching \ref cmdendif "\\endif" command. A conditional section is
|
|
Packit |
1c1d7e |
disabled by default. To enable it you must put the
|
|
Packit |
1c1d7e |
section-label after the \ref cfg_enabled_sections "ENABLED_SECTIONS"
|
|
Packit |
1c1d7e |
tag in the configuration file.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The section label can be a logical expression
|
|
Packit |
1c1d7e |
build of section names, round brackets, && (AND), || (OR) and ! (NOT).
|
|
Packit |
1c1d7e |
If you use an expression you need to wrap it in round brackets, i.e
|
|
Packit |
1c1d7e |
<tt>\\cond (!LABEL1 && LABEL2)</tt>.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Conditional blocks can be nested. A nested section is
|
|
Packit |
1c1d7e |
only enabled if all enclosing sections are enabled as well.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Example:
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
/*! Unconditionally shown documentation.
|
|
Packit |
1c1d7e |
* \if Cond1
|
|
Packit |
1c1d7e |
* Only included if Cond1 is set.
|
|
Packit |
1c1d7e |
* \endif
|
|
Packit |
1c1d7e |
* \if Cond2
|
|
Packit |
1c1d7e |
* Only included if Cond2 is set.
|
|
Packit |
1c1d7e |
* \if Cond3
|
|
Packit |
1c1d7e |
* Only included if Cond2 and Cond3 are set.
|
|
Packit |
1c1d7e |
* \endif
|
|
Packit |
1c1d7e |
* More text.
|
|
Packit |
1c1d7e |
* \endif
|
|
Packit |
1c1d7e |
* Unconditional text.
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
You can also use conditional commands inside aliases. To
|
|
Packit |
1c1d7e |
document a class in two languages you could for instance use:
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Example 2:
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
/*! \english
|
|
Packit |
1c1d7e |
* This is English.
|
|
Packit |
1c1d7e |
* \endenglish
|
|
Packit |
1c1d7e |
* \dutch
|
|
Packit |
1c1d7e |
* Dit is Nederlands.
|
|
Packit |
1c1d7e |
* \enddutch
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
class Example
|
|
Packit |
1c1d7e |
{
|
|
Packit |
1c1d7e |
};
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Where the following aliases are defined in the configuration file:
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
ALIASES = "english=\if english" \
|
|
Packit |
1c1d7e |
"endenglish=\endif" \
|
|
Packit |
1c1d7e |
"dutch=\if dutch" \
|
|
Packit |
1c1d7e |
"enddutch=\endif"
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
and \ref cfg_enabled_sections "ENABLED_SECTIONS" can be used to enable either \c english or \c dutch.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa sections \ref cmdendif "\\endif", \ref cmdifnot "\\ifnot",
|
|
Packit |
1c1d7e |
\ref cmdelse "\\else", \ref cmdelseif "\\elseif", and
|
|
Packit |
1c1d7e |
\ref cfg_enabled_sections "ENABLED_SECTIONS".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdifnot \\ifnot (section-label)
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\ifnot
|
|
Packit |
1c1d7e |
Starts a conditional documentation section. The section ends
|
|
Packit |
1c1d7e |
with a matching \ref cmdendif "\\endif" command. This conditional section is
|
|
Packit |
1c1d7e |
enabled by default. To disable it you must put the
|
|
Packit |
1c1d7e |
section-label after the \ref cfg_enabled_sections "ENABLED_SECTIONS"
|
|
Packit |
1c1d7e |
tag in the configuration file. The section label can be a logical expression
|
|
Packit |
1c1d7e |
build of section names, round brackets, && (AND), || (OR) and ! (NOT).
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa sections \ref cmdendif "\\endif", \ref cmdif "\\if",
|
|
Packit |
1c1d7e |
\ref cmdelse "\\else", and \ref cmdelseif "\\elseif", and
|
|
Packit |
1c1d7e |
\ref cfg_enabled_sections "ENABLED_SECTIONS".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdinvariant \\invariant { description of invariant }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\invariant
|
|
Packit |
1c1d7e |
Starts a paragraph where the invariant of an entity can be described.
|
|
Packit |
1c1d7e |
The paragraph will be indented.
|
|
Packit |
1c1d7e |
The text of the paragraph has no special internal structure. All visual
|
|
Packit |
1c1d7e |
enhancement commands may be used inside the paragraph.
|
|
Packit |
1c1d7e |
Multiple adjacent \c \\invariant commands will be joined into a single paragraph.
|
|
Packit |
1c1d7e |
Each invariant description will start on a new line.
|
|
Packit |
1c1d7e |
Alternatively, one \c \\invariant command may mention
|
|
Packit |
1c1d7e |
several invariants. The \c \\invariant command ends when a blank line or some other
|
|
Packit |
1c1d7e |
sectioning command is encountered.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdnote \\note { text }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\note
|
|
Packit |
1c1d7e |
Starts a paragraph where a note can be entered. The paragraph will be
|
|
Packit |
1c1d7e |
indented. The text of the paragraph has no special internal structure.
|
|
Packit |
1c1d7e |
All visual enhancement commands may be used inside the paragraph.
|
|
Packit |
1c1d7e |
Multiple adjacent \c \\note commands will be joined into a single paragraph.
|
|
Packit |
1c1d7e |
Each note description will start on a new line.
|
|
Packit |
1c1d7e |
Alternatively, one \c \\note command may mention
|
|
Packit |
1c1d7e |
several notes. The \c \\note command ends when a blank line or some other
|
|
Packit |
1c1d7e |
sectioning command is encountered. See section \ref cmdpar "\\par"
|
|
Packit |
1c1d7e |
for an example.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdpar \\par [(paragraph title)] { paragraph }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\par
|
|
Packit |
1c1d7e |
If a paragraph title is given this command starts a paragraph with a
|
|
Packit |
1c1d7e |
user defined heading. The heading extends until the end of the
|
|
Packit |
1c1d7e |
line. The paragraph following the command will be indented.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
If no paragraph title is given this command will start a new paragraph.
|
|
Packit |
1c1d7e |
This will also work inside other paragraph commands
|
|
Packit |
1c1d7e |
(like \ref cmdparam "\\param" or \ref cmdwarning "\\warning") without ending that command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The text of the paragraph has no special internal structure. All visual
|
|
Packit |
1c1d7e |
enhancement commands may be used inside the paragraph.
|
|
Packit |
1c1d7e |
The \c \\par command ends when a blank line or some other
|
|
Packit |
1c1d7e |
sectioning command is encountered.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Example:
|
|
Packit |
1c1d7e |
\include par.cpp
|
|
Packit |
1c1d7e |
\htmlonly
|
|
Packit |
1c1d7e |
Click here
|
|
Packit |
1c1d7e |
for the corresponding HTML documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endhtmlonly
|
|
Packit |
1c1d7e |
\latexonly
|
|
Packit |
1c1d7e |
See \hyperlink{class_par___test}{Par example}
|
|
Packit |
1c1d7e |
for the corresponding \mbox{\LaTeX} documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endlatexonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdparam \\param [(dir)] <parameter-name> { parameter description }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\param
|
|
Packit |
1c1d7e |
Starts a parameter description for a function parameter with name
|
|
Packit |
1c1d7e |
\<parameter-name\>, followed by a description of the parameter.
|
|
Packit |
1c1d7e |
The existence of the parameter is checked and a warning is given if
|
|
Packit |
1c1d7e |
the documentation of this (or any other) parameter is missing or not
|
|
Packit |
1c1d7e |
present in the function declaration or definition.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The \c \\param command has an optional attribute, (dir), specifying the direction
|
|
Packit |
1c1d7e |
of the parameter. Possible values are "[in]", "[in,out]", and "[out]",
|
|
Packit |
1c1d7e |
note the [square] brackets in this description.
|
|
Packit |
1c1d7e |
When a parameter is both input and output, [in,out] is used as attribute.
|
|
Packit |
1c1d7e |
Here is an example for the function \c memcpy:
|
|
Packit |
1c1d7e |
\code
|
|
Packit |
1c1d7e |
/*!
|
|
Packit |
1c1d7e |
* Copies bytes from a source memory area to a destination memory area,
|
|
Packit |
1c1d7e |
* where both areas may not overlap.
|
|
Packit |
1c1d7e |
* @param[out] dest The memory area to copy to.
|
|
Packit |
1c1d7e |
* @param[in] src The memory area to copy from.
|
|
Packit |
1c1d7e |
* @param[in] n The number of bytes to copy
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
void memcpy(void *dest, const void *src, size_t n);
|
|
Packit |
1c1d7e |
\endcode
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The parameter description is a paragraph with no special internal structure.
|
|
Packit |
1c1d7e |
All visual enhancement commands may be used inside the paragraph.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Multiple adjacent \c \\param commands will be joined into a single paragraph.
|
|
Packit |
1c1d7e |
Each parameter description will start on a new line.
|
|
Packit |
1c1d7e |
The \c \\param description ends when a blank line or some other
|
|
Packit |
1c1d7e |
sectioning command is encountered. See section \ref cmdfn "\\fn" for an
|
|
Packit |
1c1d7e |
example.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Note that you can also document multiple parameters with a single
|
|
Packit |
1c1d7e |
\c \\param command using a comma separated list. Here is an example:
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\code
|
|
Packit |
1c1d7e |
/** Sets the position.
|
|
Packit |
1c1d7e |
* @param x,y,z Coordinates of the position in 3D space.
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
void setPosition(double x,double y,double z,double t)
|
|
Packit |
1c1d7e |
{
|
|
Packit |
1c1d7e |
}
|
|
Packit |
1c1d7e |
\endcode
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Note that for PHP one can also specify the type (or types if you
|
|
Packit |
1c1d7e |
separate them with a pipe symbol) which are allowed for a parameter
|
|
Packit |
1c1d7e |
(as this is not part of the definition).
|
|
Packit |
1c1d7e |
The syntax is the same as for phpDocumentor, i.e.
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
@param datatype1|datatype2 $paramname description
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdparblock \\parblock
|
|
Packit |
1c1d7e |
\addindex \\parblock
|
|
Packit |
1c1d7e |
For commands that expect a single paragraph as argument
|
|
Packit |
1c1d7e |
(such as \ref cmdpar "\\par", \ref cmdparam "\\param" and \ref cmdwarning "\\warning"),
|
|
Packit |
1c1d7e |
the \ref cmdparblock "\\parblock" command allows to start a
|
|
Packit |
1c1d7e |
description that covers multiple paragraphs, which then ends with
|
|
Packit |
1c1d7e |
\ref cmdendparblock "\\endparblock".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Example:
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
/** Example of a param command with a description consisting of two paragraphs
|
|
Packit |
1c1d7e |
* \param p
|
|
Packit |
1c1d7e |
* \parblock
|
|
Packit |
1c1d7e |
* First paragraph of the param description.
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
* Second paragraph of the param description.
|
|
Packit |
1c1d7e |
* \endparblock
|
|
Packit |
1c1d7e |
* Rest of the comment block continues.
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
Note that the \c \\parblock command may also appear directly after
|
|
Packit |
1c1d7e |
\ref cmdparam "\\param"'s first argument.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdendparblock \\endparblock
|
|
Packit |
1c1d7e |
\addindex \\endparblock
|
|
Packit |
1c1d7e |
This ends a block of paragraphs started with \ref cmdparblock "\\parblock".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdtparam \\tparam <template-parameter-name> { description }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\tparam
|
|
Packit |
1c1d7e |
Starts a template parameter for a class or function template parameter
|
|
Packit |
1c1d7e |
with name \<template-parameter-name\>, followed by a description of the
|
|
Packit |
1c1d7e |
template parameter.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Otherwise similar to \ref cmdparam "\\param".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdpost \\post { description of the postcondition }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\post
|
|
Packit |
1c1d7e |
Starts a paragraph where the postcondition of an entity can be described.
|
|
Packit |
1c1d7e |
The paragraph will be indented.
|
|
Packit |
1c1d7e |
The text of the paragraph has no special internal structure. All visual
|
|
Packit |
1c1d7e |
enhancement commands may be used inside the paragraph.
|
|
Packit |
1c1d7e |
Multiple adjacent \c \\post commands will be joined into a single paragraph.
|
|
Packit |
1c1d7e |
Each postcondition will start on a new line.
|
|
Packit |
1c1d7e |
Alternatively, one \c \\post command may mention
|
|
Packit |
1c1d7e |
several postconditions. The \c \\post command ends when a blank line or some other
|
|
Packit |
1c1d7e |
sectioning command is encountered.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdpre \\pre { description of the precondition }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\pre
|
|
Packit |
1c1d7e |
Starts a paragraph where the precondition of an entity can be described.
|
|
Packit |
1c1d7e |
The paragraph will be indented.
|
|
Packit |
1c1d7e |
The text of the paragraph has no special internal structure. All visual
|
|
Packit |
1c1d7e |
enhancement commands may be used inside the paragraph.
|
|
Packit |
1c1d7e |
Multiple adjacent \c \\pre commands will be joined into a single paragraph.
|
|
Packit |
1c1d7e |
Each precondition will start on a new line.
|
|
Packit |
1c1d7e |
Alternatively, one \c \\pre command may mention
|
|
Packit |
1c1d7e |
several preconditions. The \c \\pre command ends when a blank line or some other
|
|
Packit |
1c1d7e |
sectioning command is encountered.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdremark \\remark { remark text }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\remark
|
|
Packit |
1c1d7e |
Starts a paragraph where one or more remarks may be entered.
|
|
Packit |
1c1d7e |
The paragraph will be indented.
|
|
Packit |
1c1d7e |
The text of the paragraph has no special internal structure. All visual
|
|
Packit |
1c1d7e |
enhancement commands may be used inside the paragraph.
|
|
Packit |
1c1d7e |
Multiple adjacent \c \\remark commands will be joined into a single paragraph.
|
|
Packit |
1c1d7e |
Each remark will start on a new line.
|
|
Packit |
1c1d7e |
Alternatively, one \c \\remark command may mention
|
|
Packit |
1c1d7e |
several remarks. The \c \\remark command ends when a blank line or some other
|
|
Packit |
1c1d7e |
sectioning command is encountered.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdremarks \\remarks { remark text }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\remarks
|
|
Packit |
1c1d7e |
Equivalent to \ref cmdremark "\\remark".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdresult \\result { description of the result value }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\result
|
|
Packit |
1c1d7e |
Equivalent to \ref cmdreturn "\\return".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdreturn \\return { description of the return value }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\return
|
|
Packit |
1c1d7e |
Starts a return value description for a function.
|
|
Packit |
1c1d7e |
The text of the paragraph has no special internal structure. All visual
|
|
Packit |
1c1d7e |
enhancement commands may be used inside the paragraph.
|
|
Packit |
1c1d7e |
Multiple adjacent \c \\return commands will be joined into a single paragraph.
|
|
Packit |
1c1d7e |
The \c \\return description ends when a blank line or some other
|
|
Packit |
1c1d7e |
sectioning command is encountered. See section \ref cmdfn "\\fn" for an
|
|
Packit |
1c1d7e |
example.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdreturns \\returns { description of the return value }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\returns
|
|
Packit |
1c1d7e |
Equivalent to \ref cmdreturn "\\return".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdretval \\retval <return value> { description }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\retval
|
|
Packit |
1c1d7e |
Starts a description for a function's return value with name
|
|
Packit |
1c1d7e |
\<return value\>, followed by a description of the return value.
|
|
Packit |
1c1d7e |
The text of the paragraph that forms the description has no special
|
|
Packit |
1c1d7e |
internal structure. All visual enhancement commands may be used inside the
|
|
Packit |
1c1d7e |
paragraph.
|
|
Packit |
1c1d7e |
Multiple adjacent \c \\retval commands will be joined into a single paragraph.
|
|
Packit |
1c1d7e |
Each return value description will start on a new line.
|
|
Packit |
1c1d7e |
The \c \\retval description ends when a blank line or some other
|
|
Packit |
1c1d7e |
sectioning command is encountered.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdsa \\sa { references }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\sa
|
|
Packit |
1c1d7e |
Starts a paragraph where one or more cross-references to classes,
|
|
Packit |
1c1d7e |
functions, methods, variables, files or URL may be specified.
|
|
Packit |
1c1d7e |
Two names joined by either :: or \#
|
|
Packit |
1c1d7e |
are understood as referring to a class and one of its members.
|
|
Packit |
1c1d7e |
One of several overloaded methods or constructors
|
|
Packit |
1c1d7e |
may be selected by including a parenthesized list of argument types after
|
|
Packit |
1c1d7e |
the method name.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Synonymous to \ref cmdsee "\\see".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref autolink "autolink" for information on how to create links
|
|
Packit |
1c1d7e |
to objects.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdsee \\see { references }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\see
|
|
Packit |
1c1d7e |
Equivalent to \ref cmdsa "\\sa". Introduced for compatibility with Javadoc.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdshort \\short { short description }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\short
|
|
Packit |
1c1d7e |
Equivalent to \ref cmdbrief "\\brief".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdsince \\since { text }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\since
|
|
Packit |
1c1d7e |
This command can be used to specify since when (version or time) an
|
|
Packit |
1c1d7e |
entity is available. The paragraph that follows \c \\since does not have any
|
|
Packit |
1c1d7e |
special internal structure. All visual enhancement commands may be
|
|
Packit |
1c1d7e |
used inside the paragraph. The \c \\since description ends when a blank
|
|
Packit |
1c1d7e |
line or some other sectioning command is encountered.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdtest \\test { paragraph describing a test case }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\test
|
|
Packit |
1c1d7e |
Starts a paragraph where a test case can be described.
|
|
Packit |
1c1d7e |
The description will also add the test case to a separate test list.
|
|
Packit |
1c1d7e |
The two instances of the description will be cross-referenced.
|
|
Packit |
1c1d7e |
Each test case in the test list will be preceded by a header that
|
|
Packit |
1c1d7e |
indicates the origin of the test case.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdthrow \\throw <exception-object> { exception description }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\throw
|
|
Packit |
1c1d7e |
Synonymous \ref cmdexception "\\exception".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Note:
|
|
Packit |
1c1d7e |
the command \ref cmdthrows "\\throws" is a synonym for this command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdexception "\\exception"
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdthrows \\throws <exception-object> { exception description }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\throws
|
|
Packit |
1c1d7e |
Equivalent to \ref cmdthrow "\\throw".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdtodo \\todo { paragraph describing what is to be done }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\todo
|
|
Packit |
1c1d7e |
Starts a paragraph where a TODO item is described.
|
|
Packit |
1c1d7e |
The description will also add an item to a separate TODO list.
|
|
Packit |
1c1d7e |
The two instances of the description will be cross-referenced.
|
|
Packit |
1c1d7e |
Each item in the TODO list will be preceded by a header that
|
|
Packit |
1c1d7e |
indicates the origin of the item.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdversion \\version { version number }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\version
|
|
Packit |
1c1d7e |
Starts a paragraph where one or more version strings may be entered.
|
|
Packit |
1c1d7e |
The paragraph will be indented.
|
|
Packit |
1c1d7e |
The text of the paragraph has no special internal structure. All visual
|
|
Packit |
1c1d7e |
enhancement commands may be used inside the paragraph.
|
|
Packit |
1c1d7e |
Multiple adjacent \c \\version commands will be joined into a single paragraph.
|
|
Packit |
1c1d7e |
Each version description will start on a new line.
|
|
Packit |
1c1d7e |
Alternatively, one \c \\version command may mention
|
|
Packit |
1c1d7e |
several version strings.
|
|
Packit |
1c1d7e |
The \\version command ends when a blank line or some other
|
|
Packit |
1c1d7e |
sectioning command is encountered.
|
|
Packit |
1c1d7e |
See section \ref cmdauthor "\\author" for an example.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdwarning \\warning { warning message }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\warning
|
|
Packit |
1c1d7e |
Starts a paragraph where one or more warning messages may be entered.
|
|
Packit |
1c1d7e |
The paragraph will be indented.
|
|
Packit |
1c1d7e |
The text of the paragraph has no special internal structure. All visual
|
|
Packit |
1c1d7e |
enhancement commands may be used inside the paragraph.
|
|
Packit |
1c1d7e |
Multiple adjacent \c \\warning commands will be joined into a single paragraph.
|
|
Packit |
1c1d7e |
Each warning description will start on a new line.
|
|
Packit |
1c1d7e |
Alternatively, one \c \\warning command may mention
|
|
Packit |
1c1d7e |
several warnings. The \c \\warning command ends when a blank line or some other
|
|
Packit |
1c1d7e |
sectioning command is encountered. See section \ref cmdauthor "\\author"
|
|
Packit |
1c1d7e |
for an example.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdxrefitem \\xrefitem <key> "(heading)" "(list title)" { text }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\xrefitem
|
|
Packit |
1c1d7e |
This command is a generalization of commands such as \ref cmdtodo "\\todo"
|
|
Packit |
1c1d7e |
and \ref cmdbug "\\bug".
|
|
Packit |
1c1d7e |
It can be used to create user-defined text sections which are automatically
|
|
Packit |
1c1d7e |
cross-referenced between the place of occurrence and a related page,
|
|
Packit |
1c1d7e |
which will be generated. On the related page all sections of
|
|
Packit |
1c1d7e |
the same type will be collected.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The first argument \<key\> is an
|
|
Packit |
1c1d7e |
identifier uniquely representing the type of the section. The second argument
|
|
Packit |
1c1d7e |
is a quoted string representing the heading of the section under which
|
|
Packit |
1c1d7e |
text passed as the fourth argument is put. The third argument (list title)
|
|
Packit |
1c1d7e |
is used as the title for the related page containing all items with the
|
|
Packit |
1c1d7e |
same key. The keys \c "todo", \c "test", \c "bug" and \c "deprecated" are predefined.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
To get an idea on how to use the \c \\xrefitem command and what its effect
|
|
Packit |
1c1d7e |
is, consider the todo list, which (for English output) can be seen an
|
|
Packit |
1c1d7e |
alias for the command
|
|
Packit |
1c1d7e |
\verbatim \xrefitem todo "Todo" "Todo List" \endverbatim
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Since it is very tedious and error-prone to repeat the first three
|
|
Packit |
1c1d7e |
parameters of the command for each section, the command is meant to
|
|
Packit |
1c1d7e |
be used in combination with the \ref cfg_aliases "ALIASES" option in the
|
|
Packit |
1c1d7e |
configuration file.
|
|
Packit |
1c1d7e |
To define a new command \c \\reminder, for instance, one should add the following
|
|
Packit |
1c1d7e |
line to the configuration file:
|
|
Packit |
1c1d7e |
\verbatim ALIASES += "reminder=\xrefitem reminders \"Reminder\" \"Reminders\"" \endverbatim
|
|
Packit |
1c1d7e |
Note the use of escaped quotes for the second and third argument of the
|
|
Packit |
1c1d7e |
\c \\xrefitem command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
In case parameter "(heading)" is the empty string no heading is generated. This can be useful
|
|
Packit |
1c1d7e |
when used in combination with the \ref cmdpage "\\page" command e.g.
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
/** @page my_errors My Errors
|
|
Packit |
1c1d7e |
* @brief Errors page
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
* Errors page contents.
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
/** \error ERROR 101: in case a file can not be opened.
|
|
Packit |
1c1d7e |
Check about file system read/write access. */
|
|
Packit |
1c1d7e |
#define MY_ERR_CANNOT_OPEN_FILE 101
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
/** \error ERROR 102: in case a file can not be closed.
|
|
Packit |
1c1d7e |
Check about file system read/write access. */
|
|
Packit |
1c1d7e |
#define MY_ERR_CANNOT_CLOSE_FILE 102
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
with \c \\error defined as
|
|
Packit |
1c1d7e |
\verbatim ALIASES += "error=\xrefitem my_errors \"\" \"\"" \endverbatim
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\htmlonly<center>\endhtmlonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\htmlonly --- \endhtmlonly
|
|
Packit |
1c1d7e |
Commands to create links
|
|
Packit |
1c1d7e |
\htmlonly --- \endhtmlonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\htmlonly</center>\endhtmlonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdaddindex \\addindex (text)
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\addindex
|
|
Packit |
1c1d7e |
This command adds (text) to the \LaTeX index.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdanchor \\anchor <word>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\anchor
|
|
Packit |
1c1d7e |
This command places an invisible, named anchor into the documentation
|
|
Packit |
1c1d7e |
to which you can refer with the \ref cmdref "\\ref" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\note Anchors can currently only be put into a comment block
|
|
Packit |
1c1d7e |
that is marked as a page (using \ref cmdpage "\\page") or mainpage
|
|
Packit |
1c1d7e |
(\ref cmdmainpage "\\mainpage").
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdref "\\ref".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdcite \\cite <label>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\cite
|
|
Packit |
1c1d7e |
Adds a bibliographic reference in the text and in the list of bibliographic
|
|
Packit |
1c1d7e |
references. The \<label\> must be a valid BibTeX label that can be found
|
|
Packit |
1c1d7e |
in one of the .bib files listed in \ref cfg_cite_bib_files "CITE_BIB_FILES".
|
|
Packit |
1c1d7e |
For the \LaTeX output the formatting of the reference in the text can be
|
|
Packit |
1c1d7e |
configured with \ref cfg_latex_bib_style "LATEX_BIB_STYLE". For other
|
|
Packit |
1c1d7e |
output formats a fixed representation is used. Note that using this
|
|
Packit |
1c1d7e |
command requires the \c bibtex tool to be present in the search path.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdendlink \\endlink
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\endlink
|
|
Packit |
1c1d7e |
This command ends a link that is started with the \ref cmdlink "\\link" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdlink "\\link".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdlink \\link <link-object>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\link
|
|
Packit |
1c1d7e |
The links that are automatically generated by doxygen always have the
|
|
Packit |
1c1d7e |
name of the object they point to as link-text.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The \c \\link command can be used to create a link to an object (a file,
|
|
Packit |
1c1d7e |
class, or member) with a user specified link-text.
|
|
Packit |
1c1d7e |
The link command should end with an \ref cmdendlink "\\endlink" command. All text between
|
|
Packit |
1c1d7e |
the \c \\link and \ref cmdendlink "\\endlink" commands serves as text for a link to
|
|
Packit |
1c1d7e |
the \<link-object\> specified as the first argument of \c \\link.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa Section \ref autolink "autolink" for more information on automatically
|
|
Packit |
1c1d7e |
generated links and valid link-objects.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdref \\ref <name> ["(text)"]
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\ref
|
|
Packit |
1c1d7e |
Creates a reference to a named section, subsection, page or anchor.
|
|
Packit |
1c1d7e |
For HTML documentation the reference command will generate a link to
|
|
Packit |
1c1d7e |
the section. For a section or subsection the title of the section will be
|
|
Packit |
1c1d7e |
used as the text of the link. For an anchor the optional text between quotes
|
|
Packit |
1c1d7e |
will be used or \<name\> if no text is specified.
|
|
Packit |
1c1d7e |
For \LaTeX documentation the reference command will
|
|
Packit |
1c1d7e |
generate a section number for sections or the text followed by a
|
|
Packit |
1c1d7e |
page number if \<name\> refers to an anchor.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa
|
|
Packit |
1c1d7e |
Section \ref cmdpage "\\page" for an example of the \c \\ref command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdrefitem \\refitem <name>
|
|
Packit |
1c1d7e |
\addindex \\refitem
|
|
Packit |
1c1d7e |
Just like the \ref cmdref "\\ref" command, this command creates a reference
|
|
Packit |
1c1d7e |
to a named section, but this reference appears in a list that is started by
|
|
Packit |
1c1d7e |
\ref cmdsecreflist "\\secreflist"
|
|
Packit |
1c1d7e |
and ends with \ref cmdendsecreflist "\\endsecreflist".
|
|
Packit |
1c1d7e |
An example of such a list can be seen
|
|
Packit |
1c1d7e |
\ref showsecreflist "at the top of the page".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdsecreflist \\secreflist
|
|
Packit |
1c1d7e |
\addindex \\secreflist
|
|
Packit |
1c1d7e |
Starts an index list of item, created with \ref cmdrefitem "\\refitem"
|
|
Packit |
1c1d7e |
that each link to a named section.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdendsecreflist \\endsecreflist
|
|
Packit |
1c1d7e |
\addindex \\endsecreflist
|
|
Packit |
1c1d7e |
End an index list started with \ref cmdsecreflist "\\secreflist".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdsubpage \\subpage <name> ["(text)"]
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\subpage
|
|
Packit |
1c1d7e |
This command can be used to create a hierarchy of pages. The
|
|
Packit |
1c1d7e |
same structure can be made using the \ref cmddefgroup "\\defgroup" and
|
|
Packit |
1c1d7e |
\ref cmdingroup "\\ingroup" commands, but for pages the \c \\subpage command
|
|
Packit |
1c1d7e |
is often more convenient. The main page (see \ref cmdmainpage "\\mainpage")
|
|
Packit |
1c1d7e |
is typically the root of hierarchy.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
This command behaves similar as \ref cmdref "\\ref" in the sense that
|
|
Packit |
1c1d7e |
it creates a reference to a page labeled \<name\> with the optional
|
|
Packit |
1c1d7e |
link text as specified in the second argument.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
It differs from the \ref cmdref "\\ref" command in that it only works for pages,
|
|
Packit |
1c1d7e |
and creates a parent-child relation between pages, where the
|
|
Packit |
1c1d7e |
child page (or sub page) is identified by label \<name\>.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
See the \ref cmdsection "\\section"
|
|
Packit |
1c1d7e |
and \ref cmdsubsection "\\subsection" commands if you want to add structure
|
|
Packit |
1c1d7e |
without creating multiple pages.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\note Each page can be the sub page of only one other page and
|
|
Packit |
1c1d7e |
no cyclic relations are allowed, i.e. the page hierarchy must have a tree
|
|
Packit |
1c1d7e |
structure.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Here is an example:
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
/*! \mainpage A simple manual
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Some general info.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
This manual is divided in the following sections:
|
|
Packit |
1c1d7e |
- \subpage intro
|
|
Packit |
1c1d7e |
- \subpage advanced "Advanced usage"
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
//-----------------------------------------------------------
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
/*! \page intro Introduction
|
|
Packit |
1c1d7e |
This page introduces the user to the topic.
|
|
Packit |
1c1d7e |
Now you can proceed to the \ref advanced "advanced section".
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
//-----------------------------------------------------------
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
/*! \page advanced Advanced Usage
|
|
Packit |
1c1d7e |
This page is for advanced users.
|
|
Packit |
1c1d7e |
Make sure you have first read \ref intro "the introduction".
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdtableofcontents \\tableofcontents
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\tableofcontents
|
|
Packit |
1c1d7e |
Creates a table of contents at the top of a page, listing all
|
|
Packit |
1c1d7e |
sections and subsections in the page.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\warning This command only works inside related page documentation and
|
|
Packit |
1c1d7e |
\e not in other documentation blocks and only has effect in the
|
|
Packit |
1c1d7e |
HTML output!
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdsection \\section <section-name> (section title)
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\section
|
|
Packit |
1c1d7e |
Creates a section with name \<section-name\>. The title of the
|
|
Packit |
1c1d7e |
section should be specified as the second argument of the \c \\section
|
|
Packit |
1c1d7e |
command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\warning This command only works inside related page documentation and
|
|
Packit |
1c1d7e |
\e not in other documentation blocks!
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa
|
|
Packit |
1c1d7e |
Section \ref cmdpage "\\page" for an example of the
|
|
Packit |
1c1d7e |
\c \\section command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdsubsection \\subsection <subsection-name> (subsection title)
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\subsection
|
|
Packit |
1c1d7e |
Creates a subsection with name \<subsection-name\>. The title of the
|
|
Packit |
1c1d7e |
subsection should be specified as the second argument of the \c \\subsection
|
|
Packit |
1c1d7e |
command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\warning This command only works inside a section of a related page
|
|
Packit |
1c1d7e |
documentation block and
|
|
Packit |
1c1d7e |
\e not in other documentation blocks!
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa
|
|
Packit |
1c1d7e |
Section \ref cmdpage "\\page" for an example of the
|
|
Packit |
1c1d7e |
\c \\subsection command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdsubsubsection \\subsubsection <subsubsection-name> (subsubsection title)
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\subsubsection
|
|
Packit |
1c1d7e |
Creates a subsubsection with name \<subsubsection-name\>. The title of the
|
|
Packit |
1c1d7e |
subsubsection should be specified as the second argument of the
|
|
Packit |
1c1d7e |
\c \\subsubsection command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\warning This command only works inside a subsection of a
|
|
Packit |
1c1d7e |
related page documentation block and
|
|
Packit |
1c1d7e |
\e not in other documentation blocks!
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa
|
|
Packit |
1c1d7e |
Section \ref cmdpage "\\page" for an example of the
|
|
Packit |
1c1d7e |
\ref cmdsection "\\section" command and
|
|
Packit |
1c1d7e |
\ref cmdsubsection "\\subsection" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdparagraph \\paragraph <paragraph-name> (paragraph title)
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\paragraph
|
|
Packit |
1c1d7e |
Creates a named paragraph with name \<paragraph-name\>. The title of the
|
|
Packit |
1c1d7e |
paragraph should be specified as the second argument of the
|
|
Packit |
1c1d7e |
\c \\paragraph command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\warning This command only works inside a subsubsection of a
|
|
Packit |
1c1d7e |
related page documentation block and
|
|
Packit |
1c1d7e |
\e not in other documentation blocks!
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\htmlonly<center>\endhtmlonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\htmlonly --- \endhtmlonly
|
|
Packit |
1c1d7e |
Commands for displaying examples
|
|
Packit |
1c1d7e |
\htmlonly --- \endhtmlonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\htmlonly</center>\endhtmlonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmddontinclude \\dontinclude <file-name>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\dontinclude
|
|
Packit |
1c1d7e |
This command can be used to parse a source file without actually
|
|
Packit |
1c1d7e |
verbatim including it in the documentation (as the \ref cmdinclude "\\include" command does).
|
|
Packit |
1c1d7e |
This is useful if you want to divide the source file into smaller pieces and
|
|
Packit |
1c1d7e |
add documentation between the pieces.
|
|
Packit |
1c1d7e |
Source files or directories can be specified using the
|
|
Packit |
1c1d7e |
\ref cfg_example_path "EXAMPLE_PATH"
|
|
Packit |
1c1d7e |
tag of doxygen's configuration file.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The class and member declarations and definitions inside the code fragment
|
|
Packit |
1c1d7e |
are 'remembered' during the parsing of the comment block that contained
|
|
Packit |
1c1d7e |
the \c \\dontinclude command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
For line by line descriptions of source files, one or more lines
|
|
Packit |
1c1d7e |
of the example can be displayed using the \ref cmdline "\\line",
|
|
Packit |
1c1d7e |
\ref cmdskip "\\skip", \ref cmdskipline "\\skipline", and
|
|
Packit |
1c1d7e |
\ref cmduntil "\\until" commands. An internal pointer is used for these commands. The
|
|
Packit |
1c1d7e |
\c \\dontinclude command sets the pointer to the first line of the example.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Example:
|
|
Packit |
1c1d7e |
\include include.cpp
|
|
Packit |
1c1d7e |
Where the example file \c include_test.cpp looks as follows:
|
|
Packit |
1c1d7e |
\include include_test.cpp
|
|
Packit |
1c1d7e |
\htmlonly
|
|
Packit |
1c1d7e |
Click here
|
|
Packit |
1c1d7e |
for the corresponding HTML documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endhtmlonly
|
|
Packit |
1c1d7e |
\latexonly
|
|
Packit |
1c1d7e |
See \hyperlink{include_example}{Include example}
|
|
Packit |
1c1d7e |
for the corresponding \mbox{\LaTeX} documentation that is generated by doxygen.
|
|
Packit |
1c1d7e |
\endlatexonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Alternatively, the \ref cmdsnippet "\\snippet" command can be used to
|
|
Packit |
1c1d7e |
include only a fragment of a source file. For this to work the
|
|
Packit |
1c1d7e |
fragment has to be marked.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa sections \ref cmdline "\\line", \ref cmdskip "\\skip",
|
|
Packit |
1c1d7e |
\ref cmdskipline "\\skipline", \ref cmduntil "\\until", and
|
|
Packit |
1c1d7e |
\ref cmdinclude "\\include".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdinclude \\include <file-name>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\include
|
|
Packit |
1c1d7e |
This command can be used to include a source file as a block of code.
|
|
Packit |
1c1d7e |
The command takes the name of an include file as an argument.
|
|
Packit |
1c1d7e |
Source files or directories can be specified using the
|
|
Packit |
1c1d7e |
\ref cfg_example_path "EXAMPLE_PATH"
|
|
Packit |
1c1d7e |
tag of doxygen's configuration file.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
If \<file-name\> itself is not unique for the set of example files specified
|
|
Packit |
1c1d7e |
by the \ref cfg_example_path "EXAMPLE_PATH" tag, you can include part
|
|
Packit |
1c1d7e |
of the absolute path to disambiguate it.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Using the \c \\include command is equivalent to inserting the file into
|
|
Packit |
1c1d7e |
the documentation block and surrounding it
|
|
Packit |
1c1d7e |
with \ref cmdcode "\\code" and \ref cmdendcode "\\endcode" commands.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The main purpose of the \c \\include command is to avoid code
|
|
Packit |
1c1d7e |
duplication in case of example blocks that consist of multiple
|
|
Packit |
1c1d7e |
source and header files.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
For a line by line description of a source files use the
|
|
Packit |
1c1d7e |
\ref cmddontinclude "\\dontinclude" command in combination with
|
|
Packit |
1c1d7e |
the \ref cmdline "\\line", \ref cmdskip "\\skip",
|
|
Packit |
1c1d7e |
\ref cmdskipline "\\skipline",
|
|
Packit |
1c1d7e |
and \ref cmduntil "\\until" commands.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Alternatively, the \ref cmdsnippet "\\snippet" command can be used to
|
|
Packit |
1c1d7e |
include only a fragment of a source file. For this to work the
|
|
Packit |
1c1d7e |
fragment has to be marked.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\note Doxygen's special commands do not work inside blocks of code.
|
|
Packit |
1c1d7e |
It is allowed to nest C-style comments inside a code block though.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa sections \ref cmdexample "\\example", \ref cmddontinclude "\\dontinclude",
|
|
Packit |
1c1d7e |
\ref cmdverbatim "\\verbatim" and \ref cmdincludedoc "\\includedoc".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdincludelineno \\includelineno <file-name>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\includelineno
|
|
Packit |
1c1d7e |
This command works the same way as \ref cmdinclude "\\include", but will add line
|
|
Packit |
1c1d7e |
numbers to the included file.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa sections \ref cmdinclude "\\include" and \ref cmdsnippetlineno "\\snippetlineno".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdincludedoc \\includedoc <file-name>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\includedoc
|
|
Packit |
1c1d7e |
This command works the same way as \ref cmdinclude "\\include", but it will include
|
|
Packit |
1c1d7e |
the content of the file as if it were at the place where this command is called.
|
|
Packit |
1c1d7e |
The result is that the content is parsed by doxygen and placed in the documentation.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\note Some commands like \ref cmdcond "\\cond" and \ref cmdif "\\if" don't work with
|
|
Packit |
1c1d7e |
this command due to the moment of parsing.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\note The included documentation should not have comment signs in it as they will appear
|
|
Packit |
1c1d7e |
in the documentation as well.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdinclude "\\include".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdline \\line ( pattern )
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\line
|
|
Packit |
1c1d7e |
This command searches line by line through the example that was last
|
|
Packit |
1c1d7e |
included using \ref cmdinclude "\\include" or
|
|
Packit |
1c1d7e |
\ref cmddontinclude "\\dontinclude" until it finds a non-blank
|
|
Packit |
1c1d7e |
line. If that line contains the specified pattern, it is written
|
|
Packit |
1c1d7e |
to the output.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The internal pointer that is used to keep track of the current line in
|
|
Packit |
1c1d7e |
the example, is set to the start of the line following the non-blank
|
|
Packit |
1c1d7e |
line that was found (or to the end of the example if no such line could
|
|
Packit |
1c1d7e |
be found).
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
See section \ref cmddontinclude "\\dontinclude" for an example.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdskip \\skip ( pattern )
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\skip
|
|
Packit |
1c1d7e |
This command searches line by line through the example that was last
|
|
Packit |
1c1d7e |
included using \ref cmdinclude "\\include" or
|
|
Packit |
1c1d7e |
\ref cmddontinclude "\\dontinclude" until it finds a line that contains
|
|
Packit |
1c1d7e |
the specified pattern.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The internal pointer that is used to keep track of the current line in
|
|
Packit |
1c1d7e |
the example, is set to the start of the line that contains the specified
|
|
Packit |
1c1d7e |
pattern (or to the end of the example if the pattern could not be found).
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
See section \ref cmddontinclude "\\dontinclude" for an example.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdskipline \\skipline ( pattern )
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\skipline
|
|
Packit |
1c1d7e |
This command searches line by line through the example that was last
|
|
Packit |
1c1d7e |
included using \ref cmdinclude "\\include" or
|
|
Packit |
1c1d7e |
\ref cmddontinclude "\\dontinclude" until it finds a line that contains
|
|
Packit |
1c1d7e |
the specified pattern. It then writes the line to the output.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The internal pointer that is used to keep track of the current line in
|
|
Packit |
1c1d7e |
the example, is set to the start of the line following the line that is
|
|
Packit |
1c1d7e |
written (or to the end of the example if the pattern could not be found).
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Note:
|
|
Packit |
1c1d7e |
The command:
|
|
Packit |
1c1d7e |
\verbatim\skipline pattern\endverbatim
|
|
Packit |
1c1d7e |
is equivalent to:
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
\skip pattern
|
|
Packit |
1c1d7e |
\line pattern\endverbatim
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
See section \ref cmddontinclude "\\dontinclude" for an example.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdsnippet \\snippet <file-name> ( block_id )
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\snippet
|
|
Packit |
1c1d7e |
Where the \ref cmdinclude "\\include" command can be used to include
|
|
Packit |
1c1d7e |
a complete file as source code, this command can be used to quote only
|
|
Packit |
1c1d7e |
a fragment of a source file. In case `this` is used as <file-name> the
|
|
Packit |
1c1d7e |
current file is taken as file to take the snippet from.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
For example, the putting the following command in the documentation,
|
|
Packit |
1c1d7e |
references a snippet in file \c example.cpp residing in a subdirectory
|
|
Packit |
1c1d7e |
which should be pointed to by \ref cfg_example_path "EXAMPLE_PATH".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
\snippet snippets/example.cpp Adding a resource
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The text following the file name is the unique identifier for the snippet.
|
|
Packit |
1c1d7e |
This is used to delimit the quoted code in the relevant snippet file as
|
|
Packit |
1c1d7e |
shown in the following example that corresponds to the above \c \\snippet
|
|
Packit |
1c1d7e |
command:
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\code
|
|
Packit |
1c1d7e |
QImage image(64, 64, QImage::Format_RGB32);
|
|
Packit |
1c1d7e |
image.fill(qRgb(255, 160, 128));
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
//! [Adding a resource]
|
|
Packit |
1c1d7e |
document->addResource(QTextDocument::ImageResource,
|
|
Packit |
1c1d7e |
QUrl("mydata://image.png"), QVariant(image));
|
|
Packit |
1c1d7e |
//! [Adding a resource]
|
|
Packit |
1c1d7e |
...
|
|
Packit |
1c1d7e |
\endcode
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Note that the lines containing the block markers will not be included,
|
|
Packit |
1c1d7e |
so the output will be:
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\code
|
|
Packit |
1c1d7e |
document->addResource(QTextDocument::ImageResource,
|
|
Packit |
1c1d7e |
QUrl("mydata://image.png"), QVariant(image));
|
|
Packit |
1c1d7e |
\endcode
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Note also that the [block_id] markers should appear exactly twice in the
|
|
Packit |
1c1d7e |
source file.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
see section \ref cmddontinclude "\\dontinclude" for an alternative way
|
|
Packit |
1c1d7e |
to include fragments of a source file that does not require markers.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdsnippetdoc "\\snippetdoc" and \ref cmdsnippetlineno "\\snippetlineno".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdsnippetlineno \\snippetlineno <file-name> ( block_id )
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\snippetlineno
|
|
Packit |
1c1d7e |
This command works the same way as \ref cmdsnippet "\\snippet", but will add line
|
|
Packit |
1c1d7e |
numbers to the included snippet.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa sections \ref cmdsnippet "\\snippet" and \ref cmdincludelineno "\\includelineno".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdsnippetdoc \\snippetdoc <file-name> ( block_id )
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\snippetdoc
|
|
Packit |
1c1d7e |
This command works the same way as \ref cmdsnippet "\\snippet", but it will include
|
|
Packit |
1c1d7e |
the content of the file between the `block-id`s as if it were at the place where this command is called.
|
|
Packit |
1c1d7e |
The result is that the content is parsed by doxygen and placed in the documentation.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\note Some commands like \ref cmdcond "\\cond" and \ref cmdif "\\if" don't work with
|
|
Packit |
1c1d7e |
this command due to the moment of parsing.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\note The included documentation should not have comment signs in it as they will appear
|
|
Packit |
1c1d7e |
in the documentation as well.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdsnippet "\\snippet" and \ref cmdincludedoc "\\includedoc".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmduntil \\until ( pattern )
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\until
|
|
Packit |
1c1d7e |
This command writes all lines of the example that was last
|
|
Packit |
1c1d7e |
included using \ref cmdinclude "\\include" or
|
|
Packit |
1c1d7e |
\ref cmddontinclude "\\dontinclude" to the output, until it finds
|
|
Packit |
1c1d7e |
a line containing the specified pattern. The line containing the pattern
|
|
Packit |
1c1d7e |
will be written as well.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The internal pointer that is used to keep track of the current line in
|
|
Packit |
1c1d7e |
the example, is set to the start of the line following last written
|
|
Packit |
1c1d7e |
line (or to the end of the example if the pattern could not be found).
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
See section \ref cmddontinclude "\\dontinclude" for an example.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdverbinclude \\verbinclude <file-name>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\verbinclude
|
|
Packit |
1c1d7e |
This command includes the file \<file-name\> verbatim in the documentation.
|
|
Packit |
1c1d7e |
The command is equivalent to pasting the file in the documentation and
|
|
Packit |
1c1d7e |
placing \ref cmdverbatim "\\verbatim" and \ref cmdendverbatim "\\endverbatim"
|
|
Packit |
1c1d7e |
commands around it.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Files or directories that doxygen should look for can be specified using the
|
|
Packit |
1c1d7e |
\ref cfg_example_path "EXAMPLE_PATH" tag of doxygen's configuration file.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdhtmlinclude \\htmlinclude <file-name>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\htmlinclude
|
|
Packit |
1c1d7e |
This command includes the file \<file-name\> as is in the HTML documentation.
|
|
Packit |
1c1d7e |
The command is equivalent to pasting the file in the documentation and
|
|
Packit |
1c1d7e |
placing \ref cmdhtmlonly "\\htmlonly" and \ref cmdendhtmlonly "\\endhtmlonly"
|
|
Packit |
1c1d7e |
commands around it.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Files or directories that doxygen should look for can be specified using the
|
|
Packit |
1c1d7e |
\ref cfg_example_path "EXAMPLE_PATH" tag of doxygen's configuration file.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdlatexinclude \\latexinclude <file-name>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\latexinclude
|
|
Packit |
1c1d7e |
This command includes the file \<file-name\> as is in the \LaTeX documentation.
|
|
Packit |
1c1d7e |
The command is equivalent to pasting the file in the documentation and
|
|
Packit |
1c1d7e |
placing \ref cmdlatexonly "\\latexonly" and \ref cmdendlatexonly "\\endlatexonly"
|
|
Packit |
1c1d7e |
commands around it.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Files or directories that doxygen should look for can be specified using the
|
|
Packit |
1c1d7e |
\ref cfg_example_path "EXAMPLE_PATH" tag of doxygen's configuration file.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\htmlonly<center>\endhtmlonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\htmlonly --- \endhtmlonly
|
|
Packit |
1c1d7e |
Commands for visual enhancements
|
|
Packit |
1c1d7e |
\htmlonly --- \endhtmlonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\htmlonly</center>\endhtmlonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmda \\a <word>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\a
|
|
Packit |
1c1d7e |
Displays the argument \<word\> in italics.
|
|
Packit |
1c1d7e |
Use this command to emphasize words.
|
|
Packit |
1c1d7e |
Use this command to refer to member arguments in the running text.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Example:
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
... the \a x and \a y coordinates are used to ...
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
This will result in the following text:
|
|
Packit |
1c1d7e |
... the \a x and \a y coordinates are used to ...
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Equivalent to \ref cmde "\\e" and \ref cmdem "\\em".
|
|
Packit |
1c1d7e |
To emphasize multiple words use \<em\>multiple words\</em\>.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdarg \\arg { item-description }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\arg
|
|
Packit |
1c1d7e |
This command has one argument that continues until the first
|
|
Packit |
1c1d7e |
blank line or until another \c \\arg is encountered.
|
|
Packit |
1c1d7e |
The command can be used to generate a simple, not nested list of
|
|
Packit |
1c1d7e |
arguments.
|
|
Packit |
1c1d7e |
Each argument should start with a \c \\arg command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Example:
|
|
Packit |
1c1d7e |
Typing:
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
\arg \c AlignLeft left alignment.
|
|
Packit |
1c1d7e |
\arg \c AlignCenter center alignment.
|
|
Packit |
1c1d7e |
\arg \c AlignRight right alignment
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
No other types of alignment are supported.
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
will result in the following text:
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\c AlignLeft left alignment.
|
|
Packit |
1c1d7e |
\c AlignCenter center alignment.
|
|
Packit |
1c1d7e |
\c AlignRight right alignment
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
No other types of alignment are supported.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Note:
|
|
Packit |
1c1d7e |
For nested lists, HTML commands should be used.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Equivalent to \ref cmdli "\\li"
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdb \\b <word>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\b
|
|
Packit |
1c1d7e |
Displays the argument \<word\> using a bold font.
|
|
Packit |
1c1d7e |
Equivalent to \<b\>word\</b\>.
|
|
Packit |
1c1d7e |
To put multiple words in bold use \<b\>multiple words\</b\>.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdc \\c <word>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\c
|
|
Packit |
1c1d7e |
Displays the argument \<word\> using a typewriter font.
|
|
Packit |
1c1d7e |
Use this to refer to a word of code.
|
|
Packit |
1c1d7e |
Equivalent to \<tt\>word\</tt\>.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Example:
|
|
Packit |
1c1d7e |
Typing:
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
... This function returns \c void and not \c int ...
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
will result in the following text:
|
|
Packit |
1c1d7e |
... This function returns \c void and not \c int ...
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Equivalent to \ref cmdp "\\p"
|
|
Packit |
1c1d7e |
To have multiple words in typewriter font use \<tt\>multiple words\</tt\>.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdcode \\code [ '{'<word>'}']
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\code
|
|
Packit |
1c1d7e |
Starts a block of code. A code block is treated differently
|
|
Packit |
1c1d7e |
from ordinary text. It is interpreted as source code. The names of
|
|
Packit |
1c1d7e |
classes and members and other documented entities are automatically
|
|
Packit |
1c1d7e |
replaced by links to the documentation.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
By default the language that is assumed for syntax highlighting is based
|
|
Packit |
1c1d7e |
on the location where the \c \\code block was found. If this part of
|
|
Packit |
1c1d7e |
a Python file for instance, the syntax highlight will be done according
|
|
Packit |
1c1d7e |
to the Python syntax.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
If it unclear from the context which language is meant (for instance the
|
|
Packit |
1c1d7e |
comment is in a .txt or .markdown file) then you can also explicitly
|
|
Packit |
1c1d7e |
indicate the language, by putting the file extension typically
|
|
Packit |
1c1d7e |
that doxygen associated with the language in curly brackets after the
|
|
Packit |
1c1d7e |
code block. Here is an example:
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
\code{.py}
|
|
Packit |
1c1d7e |
class Python:
|
|
Packit |
1c1d7e |
pass
|
|
Packit |
1c1d7e |
\endcode
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\code{.cpp}
|
|
Packit |
1c1d7e |
class Cpp {};
|
|
Packit |
1c1d7e |
\endcode
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
If the contents of the code block are in a language that doxygen cannot parse, doxygen
|
|
Packit |
1c1d7e |
will just show the output as-is. You can make this explicit using .unparsed, or by
|
|
Packit |
1c1d7e |
giving some other extension that doxygen doesn't support, e.g.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
\code{.unparsed}
|
|
Packit |
1c1d7e |
Show this as-is please
|
|
Packit |
1c1d7e |
\endcode
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\code{.sh}
|
|
Packit |
1c1d7e |
echo "This is a shell script"
|
|
Packit |
1c1d7e |
\endcode
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdendcode "\\endcode" and section \ref cmdverbatim "\\verbatim".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdcopydoc \\copydoc <link-object>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\copydoc
|
|
Packit |
1c1d7e |
Copies a documentation block from the object specified by \<link-object\>
|
|
Packit |
1c1d7e |
and pastes it at the location of the command. This command can be useful
|
|
Packit |
1c1d7e |
to avoid cases where a documentation block would otherwise have to be
|
|
Packit |
1c1d7e |
duplicated or it can be used to extend the documentation of an inherited
|
|
Packit |
1c1d7e |
member.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The link object can point to a member (of a class, file or group),
|
|
Packit |
1c1d7e |
a class, a namespace, a group, a page, or a file (checked in that order).
|
|
Packit |
1c1d7e |
Note that if the object pointed to is a member (function, variable,
|
|
Packit |
1c1d7e |
typedef, etc), the compound (class, file, or group) containing it
|
|
Packit |
1c1d7e |
should also be documented for the copying to work.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
To copy the documentation for a member of a
|
|
Packit |
1c1d7e |
class one can, for instance, put the following in the documentation:
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
/*! @copydoc MyClass::myfunction()
|
|
Packit |
1c1d7e |
* More documentation.
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
if the member is overloaded, you should specify the argument types
|
|
Packit |
1c1d7e |
explicitly (without spaces!), like in the following:
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
//! @copydoc MyClass::myfunction(type1,type2)
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Qualified names are only needed if the context in which the documentation
|
|
Packit |
1c1d7e |
block is found requires them.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The \c \\copydoc command can be used recursively, but cycles in the \c \\copydoc
|
|
Packit |
1c1d7e |
relation will be broken and flagged as an error.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Note that \\copydoc foo() is roughly equivalent to doing:
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
\brief \copybrief foo()
|
|
Packit |
1c1d7e |
\details \copydetails foo()
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
See \ref cmdcopybrief "\\copybrief" and
|
|
Packit |
1c1d7e |
\ref cmdcopydetails "\\copydetails" for copying only the brief or
|
|
Packit |
1c1d7e |
detailed part of the comment block.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdcopybrief \\copybrief <link-object>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\copybrief
|
|
Packit |
1c1d7e |
Works in a similar way as \ref cmdcopydoc "\\copydoc" but will
|
|
Packit |
1c1d7e |
only copy the brief description, not the detailed documentation.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdcopydetails \\copydetails <link-object>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\copydetails
|
|
Packit |
1c1d7e |
Works in a similar way as \ref cmdcopydoc "\\copydoc" but will
|
|
Packit |
1c1d7e |
only copy the detailed documentation, not the brief description.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmddocbookonly \\docbookonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\docbookonly
|
|
Packit |
1c1d7e |
Starts a block of text that will be verbatim included in the
|
|
Packit |
1c1d7e |
generated docbook documentation only. The block ends with a
|
|
Packit |
1c1d7e |
\ref cmdenddocbookonly "\\enddocbookonly" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdmanonly "\\manonly",
|
|
Packit |
1c1d7e |
\ref cmdlatexonly "\\latexonly",
|
|
Packit |
1c1d7e |
\ref cmdrtfonly "\\rtfonly",
|
|
Packit |
1c1d7e |
\ref cmdxmlonly "\\xmlonly", and
|
|
Packit |
1c1d7e |
\ref cmdhtmlonly "\\htmlonly".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmddot \\dot ["caption"] [<sizeindication>=<size>]
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\dot
|
|
Packit |
1c1d7e |
Starts a text fragment which should contain a valid description of a
|
|
Packit |
1c1d7e |
dot graph. The text fragment ends with \ref cmdenddot "\\enddot".
|
|
Packit |
1c1d7e |
Doxygen will pass the text on to dot and include the resulting
|
|
Packit |
1c1d7e |
image (and image map) into the output.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The first argument is optional and can be used to specify the caption
|
|
Packit |
1c1d7e |
that is displayed below the image. This argument has to be specified
|
|
Packit |
1c1d7e |
between quotes even if it does not contain any spaces. The quotes are
|
|
Packit |
1c1d7e |
stripped before the caption is displayed.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The second argument is also optional and can be used to specify the
|
|
Packit |
1c1d7e |
width or height of the image.
|
|
Packit |
1c1d7e |
For a description of the possibilities see the paragraph
|
|
Packit |
1c1d7e |
\ref image_sizeindicator "Size indication" with the
|
|
Packit |
1c1d7e |
\ref cmdimage "\\image" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The nodes of a graph can be made clickable by using the URL attribute.
|
|
Packit |
1c1d7e |
By using the command \ref cmdref "\\ref" inside the URL value you can conveniently
|
|
Packit |
1c1d7e |
link to an item inside doxygen. Here is an example:
|
|
Packit |
1c1d7e |
\code
|
|
Packit |
1c1d7e |
/*! class B */
|
|
Packit |
1c1d7e |
class B {};
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
/*! class C */
|
|
Packit |
1c1d7e |
class C {};
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
/*! \mainpage
|
|
Packit |
1c1d7e |
*
|
|
Packit |
1c1d7e |
* Class relations expressed via an inline dot graph:
|
|
Packit |
1c1d7e |
* \dot
|
|
Packit |
1c1d7e |
* digraph example {
|
|
Packit |
1c1d7e |
* node [shape=record, fontname=Helvetica, fontsize=10];
|
|
Packit |
1c1d7e |
* b [ label="class B" URL="\ref B"];
|
|
Packit |
1c1d7e |
* c [ label="class C" URL="\ref C"];
|
|
Packit |
1c1d7e |
* b -> c [ arrowhead="open", style="dashed" ];
|
|
Packit |
1c1d7e |
* }
|
|
Packit |
1c1d7e |
* \enddot
|
|
Packit |
1c1d7e |
* Note that the classes in the above graph are clickable
|
|
Packit |
1c1d7e |
* (in the HTML output).
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
\endcode
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdmsc \\msc ["caption"] [<sizeindication>=<size>]
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\msc
|
|
Packit |
1c1d7e |
Starts a text fragment which should contain a valid description of a
|
|
Packit |
1c1d7e |
message sequence chart. See http://www.mcternan.me.uk/mscgen/ for examples.
|
|
Packit |
1c1d7e |
The text fragment ends with \ref cmdendmsc "\\endmsc".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The first argument is optional and can be used to specify the caption
|
|
Packit |
1c1d7e |
that is displayed below the image. This argument has to be specified
|
|
Packit |
1c1d7e |
between quotes even if it does not contain any spaces. The quotes are
|
|
Packit |
1c1d7e |
stripped before the caption is displayed.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The second argument is also optional and can be used to specify the
|
|
Packit |
1c1d7e |
width or height of the image.
|
|
Packit |
1c1d7e |
For a description of the possibilities see the paragraph
|
|
Packit |
1c1d7e |
\ref image_sizeindicator "Size indication" with the
|
|
Packit |
1c1d7e |
\ref cmdimage "\\image" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\note The text fragment should only include the part of the message
|
|
Packit |
1c1d7e |
sequence chart that is
|
|
Packit |
1c1d7e |
within the msc {...} block.
|
|
Packit |
1c1d7e |
\note You need to install the mscgen tool, if you want to use this
|
|
Packit |
1c1d7e |
command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Here is an example of the use of the \c \\msc command.
|
|
Packit |
1c1d7e |
\code
|
|
Packit |
1c1d7e |
/** Sender class. Can be used to send a command to the server.
|
|
Packit |
1c1d7e |
* The receiver will acknowledge the command by calling Ack().
|
|
Packit |
1c1d7e |
* \msc
|
|
Packit |
1c1d7e |
* Sender,Receiver;
|
|
Packit |
1c1d7e |
* Sender->Receiver [label="Command()", URL="\ref Receiver::Command()"];
|
|
Packit |
1c1d7e |
* Sender<-Receiver [label="Ack()", URL="\ref Ack()", ID="1"];
|
|
Packit |
1c1d7e |
* \endmsc
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
class Sender
|
|
Packit |
1c1d7e |
{
|
|
Packit |
1c1d7e |
public:
|
|
Packit |
1c1d7e |
/** Acknowledgment from server */
|
|
Packit |
1c1d7e |
void Ack(bool ok);
|
|
Packit |
1c1d7e |
};
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
/** Receiver class. Can be used to receive and execute commands.
|
|
Packit |
1c1d7e |
* After execution of a command, the receiver will send an acknowledgment
|
|
Packit |
1c1d7e |
* \msc
|
|
Packit |
1c1d7e |
* Receiver,Sender;
|
|
Packit |
1c1d7e |
* Receiver<-Sender [label="Command()", URL="\ref Command()"];
|
|
Packit |
1c1d7e |
* Receiver->Sender [label="Ack()", URL="\ref Sender::Ack()", ID="1"];
|
|
Packit |
1c1d7e |
* \endmsc
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
class Receiver
|
|
Packit |
1c1d7e |
{
|
|
Packit |
1c1d7e |
public:
|
|
Packit |
1c1d7e |
/** Executable a command on the server */
|
|
Packit |
1c1d7e |
void Command(int commandId);
|
|
Packit |
1c1d7e |
};
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\endcode
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdmscfile "\\mscfile".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdstartuml \\startuml [{file}] ["caption"] [<sizeindication>=<size>]
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\startuml
|
|
Packit |
1c1d7e |
Starts a text fragment which should contain a valid description of a
|
|
Packit |
1c1d7e |
PlantUML diagram. See http://plantuml.com/ for examples.
|
|
Packit |
1c1d7e |
The text fragment ends with \ref cmdenduml "\\enduml".
|
|
Packit |
1c1d7e |
\note You need to install Java and the PlantUML's jar file,
|
|
Packit |
1c1d7e |
if you want to use this command. The location of the jar file should be specified
|
|
Packit |
1c1d7e |
using \ref cfg_plantuml_jar_path "PLANTUML_JAR_PATH".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The first argument is optional and is for compatibility with running PlantUML as a preprocessing
|
|
Packit |
1c1d7e |
step before running doxygen, you can also add the name of the image file after \c \\startuml
|
|
Packit |
1c1d7e |
and inside curly brackets, i.e.
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
@startuml{myimage.png} "Image Caption" width=5cm
|
|
Packit |
1c1d7e |
Alice -> Bob : Hello
|
|
Packit |
1c1d7e |
@enduml
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
When the name of the image is specified, doxygen will generate an image with that name.
|
|
Packit |
1c1d7e |
Without the name doxygen will choose a name automatically.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The second argument is optional and can be used to specify the caption
|
|
Packit |
1c1d7e |
that is displayed below the image. This argument has to be specified
|
|
Packit |
1c1d7e |
between quotes even if it does not contain any spaces. The quotes are
|
|
Packit |
1c1d7e |
stripped before the caption is displayed.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The third argument is also optional and can be used to specify the
|
|
Packit |
1c1d7e |
width or height of the image.
|
|
Packit |
1c1d7e |
For a description of the possibilities see the paragraph
|
|
Packit |
1c1d7e |
\ref image_sizeindicator "Size indication" with the
|
|
Packit |
1c1d7e |
\ref cmdimage "\\image" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Here is an example of the use of the \c \\startuml command.
|
|
Packit |
1c1d7e |
\code
|
|
Packit |
1c1d7e |
/** Sender class. Can be used to send a command to the server.
|
|
Packit |
1c1d7e |
* The receiver will acknowledge the command by calling Ack().
|
|
Packit |
1c1d7e |
* \startuml
|
|
Packit |
1c1d7e |
* Sender->Receiver : Command()
|
|
Packit |
1c1d7e |
* Sender<--Receiver : Ack()
|
|
Packit |
1c1d7e |
* \enduml
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
class Sender
|
|
Packit |
1c1d7e |
{
|
|
Packit |
1c1d7e |
public:
|
|
Packit |
1c1d7e |
/** Acknowledgment from server */
|
|
Packit |
1c1d7e |
void Ack(bool ok);
|
|
Packit |
1c1d7e |
};
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
/** Receiver class. Can be used to receive and execute commands.
|
|
Packit |
1c1d7e |
* After execution of a command, the receiver will send an acknowledgment
|
|
Packit |
1c1d7e |
* \startuml
|
|
Packit |
1c1d7e |
* Receiver<-Sender : Command()
|
|
Packit |
1c1d7e |
* Receiver-->Sender : Ack()
|
|
Packit |
1c1d7e |
* \enduml
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
class Receiver
|
|
Packit |
1c1d7e |
{
|
|
Packit |
1c1d7e |
public:
|
|
Packit |
1c1d7e |
/** Executable a command on the server */
|
|
Packit |
1c1d7e |
void Command(int commandId);
|
|
Packit |
1c1d7e |
};
|
|
Packit |
1c1d7e |
\endcode
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmddotfile \\dotfile <file> ["caption"] [<sizeindication>=<size>]
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\dotfile
|
|
Packit |
1c1d7e |
Inserts an image generated by dot from \<file\> into the documentation.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The first argument specifies the file name of the image.
|
|
Packit |
1c1d7e |
doxygen will look for files in the paths (or files) that you specified
|
|
Packit |
1c1d7e |
after the \ref cfg_dotfile_dirs "DOTFILE_DIRS" tag.
|
|
Packit |
1c1d7e |
If the dot file is found it will be used as an input file to the dot tool.
|
|
Packit |
1c1d7e |
The resulting image will be put into the correct output directory.
|
|
Packit |
1c1d7e |
If the dot file name contains spaces you'll have to put quotes ("...") around it.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The second argument is optional and can be used to specify the caption
|
|
Packit |
1c1d7e |
that is displayed below the image. This argument has to be specified
|
|
Packit |
1c1d7e |
between quotes even if it does not contain any spaces. The quotes are
|
|
Packit |
1c1d7e |
stripped before the caption is displayed.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The third argument is also optional and can be used to specify the
|
|
Packit |
1c1d7e |
width or height of the image.
|
|
Packit |
1c1d7e |
For a description of the possibilities see the paragraph
|
|
Packit |
1c1d7e |
\ref image_sizeindicator "Size indication" with the
|
|
Packit |
1c1d7e |
\ref cmdimage "\\image" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmddot "\\dot".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdmscfile \\mscfile <file> ["caption"] [<sizeindication>=<size>]
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\mscfile
|
|
Packit |
1c1d7e |
Inserts an image generated by mscgen from \<file\> into the documentation.
|
|
Packit |
1c1d7e |
See http://www.mcternan.me.uk/mscgen/ for examples.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The first argument specifies the file name of the image.
|
|
Packit |
1c1d7e |
doxygen will look for files in the paths (or files) that you specified
|
|
Packit |
1c1d7e |
after the \ref cfg_mscfile_dirs "MSCFILE_DIRS" tag.
|
|
Packit |
1c1d7e |
If the msc file is found it will be used as an input file to the mscgen tool.
|
|
Packit |
1c1d7e |
The resulting image will be put into the correct output directory.
|
|
Packit |
1c1d7e |
If the msc file name contains spaces you'll have to put quotes ("...") around it.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The second argument is optional and can be used to specify the caption
|
|
Packit |
1c1d7e |
that is displayed below the image. This argument has to be specified
|
|
Packit |
1c1d7e |
between quotes even if it does not contain any spaces. The quotes are
|
|
Packit |
1c1d7e |
stripped before the caption is displayed.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The third argument is also optional and can be used to specify the
|
|
Packit |
1c1d7e |
width or height of the image.
|
|
Packit |
1c1d7e |
For a description of the possibilities see the paragraph
|
|
Packit |
1c1d7e |
\ref image_sizeindicator "Size indication" with the
|
|
Packit |
1c1d7e |
\ref cmdimage "\\image" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdmsc "\\msc".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmddiafile \\diafile <file> ["caption"] [<sizeindication>=<size>]
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\diafile
|
|
Packit |
1c1d7e |
Inserts an image made in dia from \<file\> into the documentation.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The first argument specifies the file name of the image.
|
|
Packit |
1c1d7e |
doxygen will look for files in the paths (or files) that you specified
|
|
Packit |
1c1d7e |
after the \ref cfg_diafile_dirs "DIAFILE_DIRS" tag.
|
|
Packit |
1c1d7e |
If the dia file is found it will be used as an input file dia.
|
|
Packit |
1c1d7e |
The resulting image will be put into the correct output directory.
|
|
Packit |
1c1d7e |
If the dia file name contains spaces you'll have to put quotes ("...") around it.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The second argument is optional and can be used to specify the caption
|
|
Packit |
1c1d7e |
that is displayed below the image. This argument has to be specified
|
|
Packit |
1c1d7e |
between quotes even if it does not contain any spaces. The quotes are
|
|
Packit |
1c1d7e |
stripped before the caption is displayed.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The third argument is also optional and can be used to specify the
|
|
Packit |
1c1d7e |
width or height of the image.
|
|
Packit |
1c1d7e |
For a description of the possibilities see the paragraph
|
|
Packit |
1c1d7e |
\ref image_sizeindicator "Size indication" with the
|
|
Packit |
1c1d7e |
\ref cmdimage "\\image" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmde \\e <word>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\e
|
|
Packit |
1c1d7e |
Displays the argument \<word\> in italics.
|
|
Packit |
1c1d7e |
Use this command to emphasize words.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Example:
|
|
Packit |
1c1d7e |
Typing:
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
... this is a \e really good example ...
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
will result in the following text:
|
|
Packit |
1c1d7e |
... this is a \e really good example ...
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Equivalent to \ref cmda "\\a" and \ref cmdem "\\em".
|
|
Packit |
1c1d7e |
To emphasize multiple words use \<em\>multiple words\</em\>.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdem \\em <word>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\em
|
|
Packit |
1c1d7e |
Displays the argument \<word\> in italics.
|
|
Packit |
1c1d7e |
Use this command to emphasize words.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Example:
|
|
Packit |
1c1d7e |
Typing:
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
... this is a \em really good example ...
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
will result in the following text:
|
|
Packit |
1c1d7e |
... this is a \em really good example ...
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Equivalent to \ref cmda "\\a" and \ref cmde "\\e".
|
|
Packit |
1c1d7e |
To emphasize multiple words use \<em\>multiple words\</em\>.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdendcode \\endcode
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\endcode
|
|
Packit |
1c1d7e |
Ends a block of code.
|
|
Packit |
1c1d7e |
\sa section \ref cmdcode "\\code"
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdenddocbookonly \\enddocbookonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\enddocbookonly
|
|
Packit |
1c1d7e |
Ends a block of text that was started with a \ref cmddocbookonly "\\docbookonly" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmddocbookonly "\\docbookonly".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdenddot \\enddot
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\enddot
|
|
Packit |
1c1d7e |
Ends a block that was started with \ref cmddot "\\dot".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdendmsc \\endmsc
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\endmsc
|
|
Packit |
1c1d7e |
Ends a block that was started with \ref cmdmsc "\\msc".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdenduml \\enduml
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\enduml
|
|
Packit |
1c1d7e |
Ends a block that was started with \ref cmdstartuml "\\startuml".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdendhtmlonly \\endhtmlonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\endhtmlonly
|
|
Packit |
1c1d7e |
Ends a block of text that was started with a \ref cmdhtmlonly "\\htmlonly" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdhtmlonly "\\htmlonly".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdendlatexonly \\endlatexonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\endlatexonly
|
|
Packit |
1c1d7e |
Ends a block of text that was started with a \ref cmdlatexonly "\\latexonly" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdlatexonly "\\latexonly".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdendmanonly \\endmanonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\endmanonly
|
|
Packit |
1c1d7e |
Ends a block of text that was started with a \ref cmdmanonly "\\manonly" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdmanonly "\\manonly".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdendrtfonly \\endrtfonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\endrtfonly
|
|
Packit |
1c1d7e |
Ends a block of text that was started with a \ref cmdrtfonly "\\rtfonly" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdrtfonly "\\rtfonly".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdendverbatim \\endverbatim
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\endverbatim
|
|
Packit |
1c1d7e |
Ends a block of text that was started with a \ref cmdverbatim "\\verbatim" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdverbatim "\\verbatim".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdendxmlonly \\endxmlonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\endxmlonly
|
|
Packit |
1c1d7e |
Ends a block of text that was started with a \ref cmdxmlonly "\\xmlonly" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdxmlonly "\\xmlonly".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdfdollar \\f$
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\f\$
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Marks the start and end of an in-text formula.
|
|
Packit |
1c1d7e |
\sa section \ref formulas "formulas" for an example.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdfbropen \\f[
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\f[
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Marks the start of a long formula that is displayed
|
|
Packit |
1c1d7e |
centered on a separate line.
|
|
Packit |
1c1d7e |
\sa section \ref cmdfbrclose "\\f]" and section \ref formulas "formulas".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdfbrclose \\f]
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\f]
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Marks the end of a long formula that is displayed
|
|
Packit |
1c1d7e |
centered on a separate line.
|
|
Packit |
1c1d7e |
\sa section \ref cmdfbropen "\\f[" and section \ref formulas "formulas".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdfcurlyopen \\f{environment}{
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\f{
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Marks the start of a formula that is in a specific environment.
|
|
Packit |
1c1d7e |
\note The second \c { is optional and is only to help editors (such as \c Vim) to
|
|
Packit |
1c1d7e |
do proper syntax highlighting by making the number of opening and closing braces
|
|
Packit |
1c1d7e |
the same.
|
|
Packit |
1c1d7e |
\sa section \ref cmdfcurlyclose "\\f}" and section \ref formulas "formulas".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdfcurlyclose \\f}
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\f}
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Marks the end of a formula that is in a specific environment.
|
|
Packit |
1c1d7e |
\sa section \ref cmdfcurlyopen "\\f{" and section \ref formulas "formulas".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdhtmlonly \\htmlonly ["[block]"]
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\htmlonly
|
|
Packit |
1c1d7e |
Starts a block of text that will be verbatim included in the
|
|
Packit |
1c1d7e |
generated HTML documentation only. The block ends with a
|
|
Packit |
1c1d7e |
\ref cmdendhtmlonly "\\endhtmlonly" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
This command can be used to include HTML code that is too complex
|
|
Packit |
1c1d7e |
for doxygen (i.e. applets, java-scripts, and HTML tags that
|
|
Packit |
1c1d7e |
require specific attributes).
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Normally the contents between \ref cmdhtmlonly "\\htmlonly" and
|
|
Packit |
1c1d7e |
\ref cmdendhtmlonly "\\endhtmlonly" is inserted as-is. When you
|
|
Packit |
1c1d7e |
want to insert a HTML fragment that has block scope like a table or list
|
|
Packit |
1c1d7e |
which should appear outside \<p\>..\</p\>, this can lead to invalid HTML.
|
|
Packit |
1c1d7e |
You can use \\htmlonly[block] to make doxygen
|
|
Packit |
1c1d7e |
end the current paragraph and restart it after \\endhtmlonly.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\note environment variables (like \$(HOME) ) are resolved inside a
|
|
Packit |
1c1d7e |
HTML-only block.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa section \ref cmdmanonly "\\manonly",
|
|
Packit |
1c1d7e |
\ref cmdlatexonly "\\latexonly",
|
|
Packit |
1c1d7e |
\ref cmdrtfonly "\\rtfonly",
|
|
Packit |
1c1d7e |
\ref cmdxmlonly "\\xmlonly", and
|
|
Packit |
1c1d7e |
\ref cmddocbookonly "\\docbookonly".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdimage \\image <format> <file> ["caption"] [<sizeindication>=<size>]
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\image
|
|
Packit |
1c1d7e |
Inserts an image into the documentation. This command is format
|
|
Packit |
1c1d7e |
specific, so if you want to insert an image for more than one
|
|
Packit |
1c1d7e |
format you'll have to repeat this command for each format.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The first argument specifies the output format in which the image should
|
|
Packit |
1c1d7e |
be embedded. Currently, the following values are supported:
|
|
Packit |
1c1d7e |
\c html, \c latex, \c docbook and \c rtf.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The second argument specifies the file name of the image.
|
|
Packit |
1c1d7e |
doxygen will look for files in the paths (or files) that you specified
|
|
Packit |
1c1d7e |
after the \ref cfg_image_path "IMAGE_PATH" tag.
|
|
Packit |
1c1d7e |
If the image is found it will be copied to the correct output directory.
|
|
Packit |
1c1d7e |
If the image name contains spaces you'll have to put quotes ("...") around
|
|
Packit |
1c1d7e |
the name. You can also specify an absolute URL instead of a file name, but then
|
|
Packit |
1c1d7e |
doxygen does not copy the image nor check its existence.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The third argument is optional and can be used to specify the caption
|
|
Packit |
1c1d7e |
that is displayed below the image. This argument has to be specified
|
|
Packit |
1c1d7e |
on a single line and between quotes even if it does not contain any
|
|
Packit |
1c1d7e |
spaces. The quotes are stripped before the caption is displayed.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The fourth argument is also optional and can be used to specify the
|
|
Packit |
1c1d7e |
width or height of the image. This can be useful for \LaTeX or docbook output
|
|
Packit |
1c1d7e |
(i.e. format=latex or format=docbook ).
|
|
Packit |
1c1d7e |
\anchor image_sizeindicator \par Size indication
|
|
Packit |
1c1d7e |
The \c sizeindication can specify the width or height to be used (or a combination).
|
|
Packit |
1c1d7e |
The size specifier in \LaTeX (for example `10cm` or
|
|
Packit |
1c1d7e |
`4in` or a symbolic width like `\\textwidth`).
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Here is example of a comment block:
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
/*! Here is a snapshot of my new application:
|
|
Packit |
1c1d7e |
* \image html application.jpg
|
|
Packit |
1c1d7e |
* \image latex application.eps "My application" width=10cm
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
And this is an example of how the relevant part of the configuration file
|
|
Packit |
1c1d7e |
may look:
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
IMAGE_PATH = my_image_dir
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\warning The image format for HTML is limited to what your
|
|
Packit |
1c1d7e |
browser supports. For \LaTeX, the image format
|
|
Packit |
1c1d7e |
must be Encapsulated PostScript (eps).
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Doxygen does not check if the image is in the correct format.
|
|
Packit |
1c1d7e |
So \e you have to make sure this is the case!
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdlatexonly \\latexonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\latexonly
|
|
Packit |
1c1d7e |
Starts a block of text that will be verbatim included in the
|
|
Packit |
1c1d7e |
generated \LaTeX documentation only. The block ends with a
|
|
Packit |
1c1d7e |
\ref cmdendlatexonly "\\endlatexonly" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
This command can be used to include \LaTeX code that is too
|
|
Packit |
1c1d7e |
complex for doxygen (i.e. images, formulas, special characters). You can
|
|
Packit |
1c1d7e |
use the \ref cmdhtmlonly "\\htmlonly" and \ref cmdendhtmlonly "\\endhtmlonly"
|
|
Packit |
1c1d7e |
pair to provide a proper HTML alternative.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\b Note:
|
|
Packit |
1c1d7e |
environment variables (like \$(HOME) ) are resolved inside a
|
|
Packit |
1c1d7e |
\LaTeX-only block.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa sections \ref cmdrtfonly "\\rtfonly",
|
|
Packit |
1c1d7e |
\ref cmdxmlonly "\\xmlonly",
|
|
Packit |
1c1d7e |
\ref cmdmanonly "\\manonly",
|
|
Packit |
1c1d7e |
\ref cmdhtmlonly "\\htmlonly", and
|
|
Packit |
1c1d7e |
\ref cmdhtmlonly "\\docbookonly".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdmanonly \\manonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\manonly
|
|
Packit |
1c1d7e |
Starts a block of text that will be verbatim included in the
|
|
Packit |
1c1d7e |
generated MAN documentation only. The block ends with a
|
|
Packit |
1c1d7e |
\ref cmdendmanonly "\\endmanonly" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
This command can be used to include groff code directly into
|
|
Packit |
1c1d7e |
MAN pages. You can use the \ref cmdhtmlonly "\\htmlonly" and
|
|
Packit |
1c1d7e |
\ref cmdendhtmlonly "\\endhtmlonly" and
|
|
Packit |
1c1d7e |
\ref cmdlatexonly "\\latexonly" and
|
|
Packit |
1c1d7e |
\ref cmdendlatexonly "\\endlatexonly" pairs to provide proper
|
|
Packit |
1c1d7e |
HTML and \LaTeX alternatives.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa sections \ref cmdhtmlonly "\\htmlonly",
|
|
Packit |
1c1d7e |
\ref cmdxmlonly "\\xmlonly",
|
|
Packit |
1c1d7e |
\ref cmdrtfonly "\\rtfonly",
|
|
Packit |
1c1d7e |
\ref cmdlatexonly "\\latexonly", and
|
|
Packit |
1c1d7e |
\ref cmddocbookonly "\\docbookonly".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdli \\li { item-description }
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\li
|
|
Packit |
1c1d7e |
This command has one argument that continues until the first
|
|
Packit |
1c1d7e |
blank line or until another \c \\li is encountered.
|
|
Packit |
1c1d7e |
The command can be used to generate a simple, not nested list of
|
|
Packit |
1c1d7e |
arguments.
|
|
Packit |
1c1d7e |
Each argument should start with a \c \\li command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Example:
|
|
Packit |
1c1d7e |
Typing:
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
\li \c AlignLeft left alignment.
|
|
Packit |
1c1d7e |
\li \c AlignCenter center alignment.
|
|
Packit |
1c1d7e |
\li \c AlignRight right alignment
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
No other types of alignment are supported.
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
will result in the following text:
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\c AlignLeft left alignment.
|
|
Packit |
1c1d7e |
\c AlignCenter center alignment.
|
|
Packit |
1c1d7e |
\c AlignRight right alignment
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
No other types of alignment are supported.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Note:
|
|
Packit |
1c1d7e |
For nested lists, HTML commands should be used.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Equivalent to \ref cmdarg "\\arg"
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdn \\n
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\n
|
|
Packit |
1c1d7e |
Forces a new line. Equivalent to \<br\> and inspired by
|
|
Packit |
1c1d7e |
the \c printf function.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdp \\p <word>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\p
|
|
Packit |
1c1d7e |
Displays the parameter \<word\> using a typewriter font.
|
|
Packit |
1c1d7e |
You can use this command to refer to member function parameters in
|
|
Packit |
1c1d7e |
the running text.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\par Example:
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
... the \p x and \p y coordinates are used to ...
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
This will result in the following text:
|
|
Packit |
1c1d7e |
... the \p x and \p y coordinates are used to ...
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Equivalent to \ref cmdc "\\c"
|
|
Packit |
1c1d7e |
To have multiple words in typewriter font use \<tt\>multiple words\</tt\>.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdrtfonly \\rtfonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\rtfonly
|
|
Packit |
1c1d7e |
Starts a block of text that will be verbatim included in the
|
|
Packit |
1c1d7e |
generated RTF documentation only. The block ends with a
|
|
Packit |
1c1d7e |
\ref cmdendrtfonly "\\endrtfonly" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
This command can be used to include RTF code that is too complex
|
|
Packit |
1c1d7e |
for doxygen.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\b Note:
|
|
Packit |
1c1d7e |
environment variables (like \$(HOME) ) are resolved inside a
|
|
Packit |
1c1d7e |
RTF-only block.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa sections \ref cmdmanonly "\\manonly",
|
|
Packit |
1c1d7e |
\ref cmdxmlonly "\\xmlonly",
|
|
Packit |
1c1d7e |
\ref cmdlatexonly "\\latexonly",
|
|
Packit |
1c1d7e |
\ref cmdhtmlonly "\\htmlonly", and
|
|
Packit |
1c1d7e |
\ref cmddocbookonly "\\docbookonly".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdverbatim \\verbatim
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\verbatim
|
|
Packit |
1c1d7e |
Starts a block of text that will be verbatim included in
|
|
Packit |
1c1d7e |
the documentation. The block should end with a
|
|
Packit |
1c1d7e |
\ref cmdendverbatim "\\endverbatim" command.
|
|
Packit |
1c1d7e |
All commands are disabled in a verbatim block.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\warning Make sure you include a \ref cmdendverbatim "\\endverbatim" command for each
|
|
Packit |
1c1d7e |
\c \\verbatim command or the parser will get confused!
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa sections \ref cmdcode "\\code",
|
|
Packit |
1c1d7e |
\ref cmdendverbatim "\\endverbatim" and
|
|
Packit |
1c1d7e |
\ref cmdverbinclude "\\verbinclude".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdxmlonly \\xmlonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\xmlonly
|
|
Packit |
1c1d7e |
Starts a block of text that will be verbatim included in the
|
|
Packit |
1c1d7e |
generated XML output only. The block ends with a
|
|
Packit |
1c1d7e |
\ref cmdendxmlonly "\\endxmlonly" command.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
This command can be used to include custom XML tags.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\sa sections \ref cmdmanonly "\\manonly",
|
|
Packit |
1c1d7e |
\ref cmdrtfonly "\\rtfonly",
|
|
Packit |
1c1d7e |
\ref cmdlatexonly "\\latexonly",
|
|
Packit |
1c1d7e |
\ref cmdhtmlonly "\\htmlonly", and
|
|
Packit |
1c1d7e |
\ref cmddocbookonly "\\docbookonly".
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdbackslash \\\\
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\\\
|
|
Packit |
1c1d7e |
This command writes a backslash character (\c \\) to the
|
|
Packit |
1c1d7e |
output. The backslash has to be escaped in some
|
|
Packit |
1c1d7e |
cases because doxygen uses it to detect commands.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdat \\\@
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\\@
|
|
Packit |
1c1d7e |
This command writes an at-sign (\c \@) to the output.
|
|
Packit |
1c1d7e |
The at-sign has to be escaped in some cases
|
|
Packit |
1c1d7e |
because doxygen uses it to detect JavaDoc commands.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdtilde \\~[LanguageId]
|
|
Packit |
1c1d7e |
\addindex \\~
|
|
Packit |
1c1d7e |
This command enables/disables a language specific filter. This can be
|
|
Packit |
1c1d7e |
used to put documentation for different language into one comment block
|
|
Packit |
1c1d7e |
and use the \ref cfg_output_language "OUTPUT_LANGUAGE" tag to filter out only a specific language.
|
|
Packit |
1c1d7e |
Use \c \\~language_id to enable output for a specific language only and
|
|
Packit |
1c1d7e |
\c \\~ to enable output for all languages (this is also the default mode).
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Example:
|
|
Packit |
1c1d7e |
\verbatim
|
|
Packit |
1c1d7e |
/*! \~english This is English \~dutch Dit is Nederlands \~german Dies ist
|
|
Packit |
1c1d7e |
Deutsch. \~ output for all languages.
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
\endverbatim
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdamp \\\&
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\\&
|
|
Packit |
1c1d7e |
This command writes the \c \& character to the output.
|
|
Packit |
1c1d7e |
This character has to be escaped because it has a special meaning in HTML.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmddollar \\\$
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\\$
|
|
Packit |
1c1d7e |
This command writes the \c \$ character to the output.
|
|
Packit |
1c1d7e |
This character has to be escaped in some cases, because it is used to expand
|
|
Packit |
1c1d7e |
environment variables.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdhash \\\#
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\\#
|
|
Packit |
1c1d7e |
This command writes the \c \# character to the output. This
|
|
Packit |
1c1d7e |
character has to be escaped in some cases, because it is used to refer
|
|
Packit |
1c1d7e |
to documented entities.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdlt \\\<
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\\<
|
|
Packit |
1c1d7e |
This command writes the \c \< character to the output.
|
|
Packit |
1c1d7e |
This character has to be escaped because it has a special meaning in HTML.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdgt \\\>
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\\>
|
|
Packit |
1c1d7e |
This command writes the \c \> character to the output. This
|
|
Packit |
1c1d7e |
character has to be escaped because it has a special meaning in HTML.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdperc \\\%
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\\%
|
|
Packit |
1c1d7e |
This command writes the \c \% character to the output. This
|
|
Packit |
1c1d7e |
character has to be escaped in some cases, because it is used to
|
|
Packit |
1c1d7e |
prevent auto-linking to a word that is also a documented class or struct.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdquot \\"
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\\"
|
|
Packit |
1c1d7e |
This command writes the \c \" character to the output. This
|
|
Packit |
1c1d7e |
character has to be escaped in some cases, because it is used in pairs
|
|
Packit |
1c1d7e |
to indicate an unformatted text fragment.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdchardot \\.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\\.
|
|
Packit |
1c1d7e |
This command writes a dot (`.`) to the output. This can be useful to
|
|
Packit |
1c1d7e |
prevent ending a brief description when \ref cfg_javadoc_autobrief "JAVADOC_AUTOBRIEF" is enabled
|
|
Packit |
1c1d7e |
or to prevent starting a numbered list when the dot follows a number at
|
|
Packit |
1c1d7e |
the start of a line.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmddcolon \\::
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\::
|
|
Packit |
1c1d7e |
This command writes a double colon (\c \::) to the output. This
|
|
Packit |
1c1d7e |
character sequence has to be escaped in some cases, because it is used
|
|
Packit |
1c1d7e |
to reference to documented entities.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdpipe \\|
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\|
|
|
Packit |
1c1d7e |
This command writes a pipe symbol (\|) to the output. This
|
|
Packit |
1c1d7e |
character has to be escaped in some cases, because it is used
|
|
Packit |
1c1d7e |
for Markdown tables.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdndash \\--
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\\--
|
|
Packit |
1c1d7e |
This command writes two dashes (\--) to the output. This allows
|
|
Packit |
1c1d7e |
writing two consecutive dashes to the output instead of one n-dash character (--).
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\section cmdmdash \\---
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\addindex \\\---
|
|
Packit |
1c1d7e |
This command writes three dashes (\---) to the output. This allows
|
|
Packit |
1c1d7e |
writing three consecutive dashes to the output instead of one m-dash character (---).
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\htmlonly<center>\endhtmlonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\htmlonly --- \endhtmlonly
|
|
Packit |
1c1d7e |
Commands included for Qt compatibility
|
|
Packit |
1c1d7e |
\htmlonly --- \endhtmlonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\htmlonly</center>\endhtmlonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
The following commands are supported to remain compatible to the Qt class
|
|
Packit |
1c1d7e |
browser generator. Do \e not use these commands in your own documentation.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\\annotatedclasslist
|
|
Packit |
1c1d7e |
\\classhierarchy
|
|
Packit |
1c1d7e |
\\define
|
|
Packit |
1c1d7e |
\\functionindex
|
|
Packit |
1c1d7e |
\\header
|
|
Packit |
1c1d7e |
\\headerfilelist
|
|
Packit |
1c1d7e |
\\inherit
|
|
Packit |
1c1d7e |
\\l
|
|
Packit |
1c1d7e |
\\postheader
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\htmlonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
Go to the next section or return to the
|
|
Packit |
1c1d7e |
index.
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
\endhtmlonly
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
*/
|
|
Packit |
1c1d7e |
|