/usr/share/doc/doxygen/html/commands.html is in doxygen-doc 1.8.13-10.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: Special Commands</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen_manual.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Doxygen
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('commands.html','');});
</script>
<div id="doc-content">
<div class="header">
<div class="headertitle">
<div class="title">Special Commands </div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><h1><a class="anchor" id="cmd_intro"></a>
Introduction</h1>
<p>All commands in the documentation start with a backslash (<b>\</b>) or an at-sign (<b>@</b>). If you prefer you can replace all commands starting with a backslash below by their counterparts that start with an at-sign.</p>
<p>Some commands have one or more arguments. Each argument has a certain range: </p><ul>
<li>
If <sharp> braces are used the argument is a single word. </li>
<li>
If (round) braces are used the argument extends until the end of the line on which the command was found. </li>
<li>
If {curly} braces are used the argument extends until the next paragraph. Paragraphs are delimited by a blank line or by a section indicator. </li>
</ul>
<p>If in addition to the above argument specifiers [square] brackets are used the argument is optional.</p>
<p>Here is an alphabetically sorted list of all commands with references to their documentation: <a class="anchor" id="showsecreflist"></a></p><div class="multicol">
<ul>
<li><a href="commands.html#cmda">\a</a></li>
<li><a href="commands.html#cmdaddindex">\addindex</a></li>
<li><a href="commands.html#cmdaddtogroup">\addtogroup</a></li>
<li><a href="commands.html#cmdanchor">\anchor</a></li>
<li><a href="commands.html#cmdarg">\arg</a></li>
<li><a href="commands.html#cmdattention">\attention</a></li>
<li><a href="commands.html#cmdauthor">\author</a></li>
<li><a href="commands.html#cmdauthors">\authors</a></li>
<li><a href="commands.html#cmdb">\b</a></li>
<li><a href="commands.html#cmdbrief">\brief</a></li>
<li><a href="commands.html#cmdbug">\bug</a></li>
<li><a href="commands.html#cmdc">\c</a></li>
<li><a href="commands.html#cmdcallergraph">\callergraph</a></li>
<li><a href="commands.html#cmdcallgraph">\callgraph</a></li>
<li><a href="commands.html#cmdcategory">\category</a></li>
<li><a href="commands.html#cmdcite">\cite</a></li>
<li><a href="commands.html#cmdclass">\class</a></li>
<li><a href="commands.html#cmdcode">\code</a></li>
<li><a href="commands.html#cmdcond">\cond</a></li>
<li><a href="commands.html#cmdcopybrief">\copybrief</a></li>
<li><a href="commands.html#cmdcopydetails">\copydetails</a></li>
<li><a href="commands.html#cmdcopydoc">\copydoc</a></li>
<li><a href="commands.html#cmdcopyright">\copyright</a></li>
<li><a href="commands.html#cmddate">\date</a></li>
<li><a href="commands.html#cmddef">\def</a></li>
<li><a href="commands.html#cmddefgroup">\defgroup</a></li>
<li><a href="commands.html#cmddeprecated">\deprecated</a></li>
<li><a href="commands.html#cmddetails">\details</a></li>
<li><a href="commands.html#cmddiafile">\diafile</a></li>
<li><a href="commands.html#cmddir">\dir</a></li>
<li><a href="commands.html#cmddocbookonly">\docbookonly</a></li>
<li><a href="commands.html#cmddontinclude">\dontinclude</a></li>
<li><a href="commands.html#cmddot">\dot</a></li>
<li><a href="commands.html#cmddotfile">\dotfile</a></li>
<li><a href="commands.html#cmde">\e</a></li>
<li><a href="commands.html#cmdelse">\else</a></li>
<li><a href="commands.html#cmdelseif">\elseif</a></li>
<li><a href="commands.html#cmdem">\em</a></li>
<li><a href="commands.html#cmdendcode">\endcode</a></li>
<li><a href="commands.html#cmdendcond">\endcond</a></li>
<li><a href="commands.html#cmdenddocbookonly">\enddocbookonly</a></li>
<li><a href="commands.html#cmdenddot">\enddot</a></li>
<li><a href="commands.html#cmdendhtmlonly">\endhtmlonly</a></li>
<li><a href="commands.html#cmdendif">\endif</a></li>
<li><a href="commands.html#cmdendinternal">\endinternal</a></li>
<li><a href="commands.html#cmdendlatexonly">\endlatexonly</a></li>
<li><a href="commands.html#cmdendlink">\endlink</a></li>
<li><a href="commands.html#cmdendmanonly">\endmanonly</a></li>
<li><a href="commands.html#cmdendmsc">\endmsc</a></li>
<li><a href="commands.html#cmdendparblock">\endparblock</a></li>
<li><a href="commands.html#cmdendrtfonly">\endrtfonly</a></li>
<li><a href="commands.html#cmdendsecreflist">\endsecreflist</a></li>
<li><a href="commands.html#cmdendverbatim">\endverbatim</a></li>
<li><a href="commands.html#cmdenduml">\enduml</a></li>
<li><a href="commands.html#cmdendxmlonly">\endxmlonly</a></li>
<li><a href="commands.html#cmdenum">\enum</a></li>
<li><a href="commands.html#cmdexample">\example</a></li>
<li><a href="commands.html#cmdexception">\exception</a></li>
<li><a href="commands.html#cmdextends">\extends</a></li>
<li><a href="commands.html#cmdfdollar">\f$</a></li>
<li><a href="commands.html#cmdfbropen">\f[</a></li>
<li><a href="commands.html#cmdfbrclose">\f]</a></li>
<li><a href="commands.html#cmdfcurlyopen">\f{</a></li>
<li><a href="commands.html#cmdfcurlyclose">\f}</a></li>
<li><a href="commands.html#cmdfile">\file</a></li>
<li><a href="commands.html#cmdfn">\fn</a></li>
<li><a href="commands.html#cmdheaderfile">\headerfile</a></li>
<li><a href="commands.html#cmdhidecallergraph">\hidecallergraph</a></li>
<li><a href="commands.html#cmdhidecallgraph">\hidecallgraph</a></li>
<li><a href="commands.html#cmdhideinitializer">\hideinitializer</a></li>
<li><a href="commands.html#cmdhtmlinclude">\htmlinclude</a></li>
<li><a href="commands.html#cmdhtmlonly">\htmlonly</a></li>
<li><a href="commands.html#cmdidlexcept">\idlexcept </a></li>
<li><a href="commands.html#cmdif">\if</a></li>
<li><a href="commands.html#cmdifnot">\ifnot</a></li>
<li><a href="commands.html#cmdimage">\image</a></li>
<li><a href="commands.html#cmdimplements">\implements</a></li>
<li><a href="commands.html#cmdinclude">\include</a></li>
<li><a href="commands.html#cmdincludedoc">\includedoc</a></li>
<li><a href="commands.html#cmdincludelineno">\includelineno</a></li>
<li><a href="commands.html#cmdingroup">\ingroup</a></li>
<li><a href="commands.html#cmdinternal">\internal</a></li>
<li><a href="commands.html#cmdinvariant">\invariant</a></li>
<li><a href="commands.html#cmdinterface">\interface</a></li>
<li><a href="commands.html#cmdlatexinclude">\latexinclude</a></li>
<li><a href="commands.html#cmdlatexonly">\latexonly</a></li>
<li><a href="commands.html#cmdli">\li</a></li>
<li><a href="commands.html#cmdline">\line</a></li>
<li><a href="commands.html#cmdlink">\link</a></li>
<li><a href="commands.html#cmdmainpage">\mainpage</a></li>
<li><a href="commands.html#cmdmanonly">\manonly</a></li>
<li><a href="commands.html#cmdmemberof">\memberof</a></li>
<li><a href="commands.html#cmdmsc">\msc</a></li>
<li><a href="commands.html#cmdmscfile">\mscfile</a></li>
<li><a href="commands.html#cmdn">\n</a></li>
<li><a href="commands.html#cmdname">\name</a></li>
<li><a href="commands.html#cmdnamespace">\namespace</a></li>
<li><a href="commands.html#cmdnosubgrouping">\nosubgrouping</a></li>
<li><a href="commands.html#cmdnote">\note</a></li>
<li><a href="commands.html#cmdoverload">\overload</a></li>
<li><a href="commands.html#cmdp">\p</a></li>
<li><a href="commands.html#cmdpackage">\package</a></li>
<li><a href="commands.html#cmdpage">\page</a></li>
<li><a href="commands.html#cmdpar">\par</a></li>
<li><a href="commands.html#cmdparagraph">\paragraph</a></li>
<li><a href="commands.html#cmdparam">\param</a></li>
<li><a href="commands.html#cmdparblock">\parblock</a></li>
<li><a href="commands.html#cmdpost">\post</a></li>
<li><a href="commands.html#cmdpre">\pre</a></li>
<li><a href="commands.html#cmdprivate">\private</a></li>
<li><a href="commands.html#cmdprivatesection">\privatesection</a></li>
<li><a href="commands.html#cmdproperty">\property</a></li>
<li><a href="commands.html#cmdprotected">\protected</a></li>
<li><a href="commands.html#cmdprotectedsection">\protectedsection</a></li>
<li><a href="commands.html#cmdprotocol">\protocol</a></li>
<li><a href="commands.html#cmdpublic">\public</a></li>
<li><a href="commands.html#cmdpublicsection">\publicsection</a></li>
<li><a href="commands.html#cmdpure">\pure</a></li>
<li><a href="commands.html#cmdref">\ref</a></li>
<li><a href="commands.html#cmdrefitem">\refitem</a></li>
<li><a href="commands.html#cmdrelated">\related</a></li>
<li><a href="commands.html#cmdrelates">\relates</a></li>
<li><a href="commands.html#cmdrelatedalso">\relatedalso</a></li>
<li><a href="commands.html#cmdrelatesalso">\relatesalso</a></li>
<li><a href="commands.html#cmdremark">\remark</a></li>
<li><a href="commands.html#cmdremarks">\remarks</a></li>
<li><a href="commands.html#cmdresult">\result</a></li>
<li><a href="commands.html#cmdreturn">\return</a></li>
<li><a href="commands.html#cmdreturns">\returns</a></li>
<li><a href="commands.html#cmdretval">\retval</a></li>
<li><a href="commands.html#cmdrtfonly">\rtfonly</a></li>
<li><a href="commands.html#cmdsa">\sa</a></li>
<li><a href="commands.html#cmdsecreflist">\secreflist</a></li>
<li><a href="commands.html#cmdsection">\section</a></li>
<li><a href="commands.html#cmdsee">\see</a></li>
<li><a href="commands.html#cmdshort">\short</a></li>
<li><a href="commands.html#cmdshowinitializer">\showinitializer</a></li>
<li><a href="commands.html#cmdsince">\since</a></li>
<li><a href="commands.html#cmdskip">\skip</a></li>
<li><a href="commands.html#cmdskipline">\skipline</a></li>
<li><a href="commands.html#cmdsnippet">\snippet</a></li>
<li><a href="commands.html#cmdsnippetdoc">\snippetdoc</a></li>
<li><a href="commands.html#cmdsnippetlineno">\snippetlineno</a></li>
<li><a href="commands.html#cmdstartuml">\startuml</a></li>
<li><a href="commands.html#cmdstruct">\struct</a></li>
<li><a href="commands.html#cmdsubpage">\subpage</a></li>
<li><a href="commands.html#cmdsubsection">\subsection</a></li>
<li><a href="commands.html#cmdsubsubsection">\subsubsection</a></li>
<li><a href="commands.html#cmdtableofcontents">\tableofcontents</a></li>
<li><a href="commands.html#cmdtest">\test</a></li>
<li><a href="commands.html#cmdthrow">\throw</a></li>
<li><a href="commands.html#cmdthrows">\throws</a></li>
<li><a href="commands.html#cmdtodo">\todo</a></li>
<li><a href="commands.html#cmdtparam">\tparam</a></li>
<li><a href="commands.html#cmdtypedef">\typedef</a></li>
<li><a href="commands.html#cmdunion">\union</a></li>
<li><a href="commands.html#cmduntil">\until</a></li>
<li><a href="commands.html#cmdvar">\var</a></li>
<li><a href="commands.html#cmdverbatim">\verbatim</a></li>
<li><a href="commands.html#cmdverbinclude">\verbinclude</a></li>
<li><a href="commands.html#cmdversion">\version</a></li>
<li><a href="commands.html#cmdvhdlflow">\vhdlflow</a></li>
<li><a href="commands.html#cmdwarning">\warning</a></li>
<li><a href="commands.html#cmdweakgroup">\weakgroup</a></li>
<li><a href="commands.html#cmdxmlonly">\xmlonly</a></li>
<li><a href="commands.html#cmdxrefitem">\xrefitem</a></li>
<li><a href="commands.html#cmddollar">\$</a></li>
<li><a href="commands.html#cmdat">\@</a></li>
<li><a href="commands.html#cmdbackslash">\\</a></li>
<li><a href="commands.html#cmdamp">\&</a></li>
<li><a href="commands.html#cmdtilde">\~</a></li>
<li><a href="commands.html#cmdlt">\<</a></li>
<li><a href="commands.html#cmdgt">\></a></li>
<li><a href="commands.html#cmdhash">\#</a></li>
<li><a href="commands.html#cmdperc">\%</a></li>
<li><a href="commands.html#cmdquot">\"</a></li>
<li><a href="commands.html#cmdchardot">\.</a></li>
<li><a href="commands.html#cmddcolon">\::</a></li>
<li><a href="commands.html#cmdpipe">\|</a></li>
<li><a href="commands.html#cmdndash">\--</a></li>
<li><a href="commands.html#cmdmdash">\---</a></li>
</ul>
</div>
<p>The following subsections provide a list of all commands that are recognized by doxygen. Unrecognized commands are treated as normal text.</p>
<p> </p><center><p> </p><h2> --- Structural indicators --- </h2>
<p> </p></center><p></p>
<h1><a class="anchor" id="cmdaddtogroup"></a>
\addtogroup <name> [(title)]</h1>
<p><a name="a:5caddtogroup"></a> Defines a group just like <a class="el" href="commands.html#cmddefgroup">\defgroup</a>, but in contrast to that command using the same <name> more than once will not result in a warning, but rather one group with a merged documentation and the first title found in any of the commands.</p>
<p>The title is optional, so this command can also be used to add a number of entities to an existing group using <code>@{</code> and <code>@}</code> like this:</p>
<pre class="fragment"> /*! \addtogroup mygrp
* Additional documentation for group 'mygrp'
* @{
*/
/*!
* A function
*/
void func1()
{
}
/*! Another function */
void func2()
{
}
/*! @} */
</pre><dl class="section see"><dt>See also</dt><dd>page <a class="el" href="grouping.html">Grouping</a>, sections <a class="el" href="commands.html#cmddefgroup">\defgroup</a>, <a class="el" href="commands.html#cmdingroup">\ingroup</a>, and <a class="el" href="commands.html#cmdweakgroup">\weakgroup</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdcallgraph"></a>
\callgraph</h1>
<p><a name="a:5ccallgraph"></a> When this command is put in a comment block of a function or method and <a class="el" href="config.html#cfg_have_dot">HAVE_DOT</a> is set to <code>YES</code>, then doxygen will generate a call graph for that function (provided the implementation of the function or method calls other documented functions). The call graph will be generated regardless of the value of <a class="el" href="config.html#cfg_call_graph">CALL_GRAPH</a>. </p><dl class="section note"><dt>Note</dt><dd>The completeness (and correctness) of the call graph depends on the doxygen code parser which is not perfect.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdcallergraph">\callergraph</a>, section <a class="el" href="commands.html#cmdhidecallgraph">\hidecallgraph</a>, section <a class="el" href="commands.html#cmdhidecallergraph">\hidecallergraph</a> and option <a class="el" href="config.html#cfg_call_graph">CALL_GRAPH</a></dd></dl>
<hr/>
<h1><a class="anchor" id="cmdhidecallgraph"></a>
\hidecallgraph</h1>
<p><a name="a:5chidecallgraph"></a> When this command is put in a comment block of a function or method and then doxygen will not generate a call graph for that function. The call graph will not be generated regardless of the value of <a class="el" href="config.html#cfg_call_graph">CALL_GRAPH</a>. </p><dl class="section note"><dt>Note</dt><dd>The completeness (and correctness) of the call graph depends on the doxygen code parser which is not perfect.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdcallergraph">\callergraph</a>, section <a class="el" href="commands.html#cmdcallgraph">\callgraph</a>, section <a class="el" href="commands.html#cmdhidecallergraph">\hidecallergraph</a> and option <a class="el" href="config.html#cfg_call_graph">CALL_GRAPH</a></dd></dl>
<hr/>
<h1><a class="anchor" id="cmdcallergraph"></a>
\callergraph</h1>
<p><a name="a:5ccallergraph"></a> When this command is put in a comment block of a function or method and <a class="el" href="config.html#cfg_have_dot">HAVE_DOT</a> is set to <code>YES</code>, then doxygen will generate a caller graph for that function (provided the implementation of the function or method calls other documented functions). The caller graph will be generated regardless of the value of <a class="el" href="config.html#cfg_caller_graph">CALLER_GRAPH</a>. </p><dl class="section note"><dt>Note</dt><dd>The completeness (and correctness) of the caller graph depends on the doxygen code parser which is not perfect.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdcallgraph">\callgraph</a>, section <a class="el" href="commands.html#cmdhidecallgraph">\hidecallgraph</a>, section <a class="el" href="commands.html#cmdhidecallergraph">\hidecallergraph</a> and option <a class="el" href="config.html#cfg_caller_graph">CALLER_GRAPH</a></dd></dl>
<hr/>
<h1><a class="anchor" id="cmdhidecallergraph"></a>
\hidecallergraph</h1>
<p><a name="a:5chidecallergraph"></a> When this command is put in a comment block of a function or method and then doxygen will not generate a caller graph for that function. The caller graph will not be generated regardless of the value of <a class="el" href="config.html#cfg_caller_graph">CALLER_GRAPH</a>. </p><dl class="section note"><dt>Note</dt><dd>The completeness (and correctness) of the caller graph depends on the doxygen code parser which is not perfect.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdcallergraph">\callergraph</a>, section <a class="el" href="commands.html#cmdcallgraph">\callgraph</a>, section <a class="el" href="commands.html#cmdhidecallgraph">\hidecallgraph</a> and option <a class="el" href="config.html#cfg_caller_graph">CALLER_GRAPH</a></dd></dl>
<hr/>
<h1><a class="anchor" id="cmdcategory"></a>
\category <name> [<header-file>] [<header-name>]</h1>
<p><a name="a:5ccategory"></a> For Objective-C only: Indicates that a comment block contains documentation for a class category with name <name>. The arguments are equal to the <a class="el" href="commands.html#cmdclass">\class</a> command.</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdclass">\class</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdclass"></a>
\class <name> [<header-file>] [<header-name>]</h1>
<p><a name="a:5cclass"></a> Indicates that a comment block contains documentation for a class with name <name>. Optionally a header file and a header name can be specified. If the header-file is specified, a link to a verbatim copy of the header will be included in the HTML documentation. The <header-name> argument can be used to overwrite the name of the link that is used in the class documentation to something other than <header-file>. This can be useful if the include name is not located on the default include path (like <X11/X.h>). With the <header-name> argument you can also specify how the include statement should look like, by adding either quotes or sharp brackets around the name. Sharp brackets are used if just the name is given. Note that the last two arguments can also be specified using the <a class="el" href="commands.html#cmdheaderfile">\headerfile</a> command.</p>
<dl class="section user"><dt>Example:</dt><dd><div class="fragment"><div class="line"><span class="comment">/* A dummy class */</span></div><div class="line"></div><div class="line"><span class="keyword">class </span>Test</div><div class="line">{</div><div class="line">};</div><div class="line"><span class="comment"></span></div><div class="line"><span class="comment">/*! \class Test class.h "inc/class.h"</span></div><div class="line"><span class="comment"> * \brief This is a test class.</span></div><div class="line"><span class="comment"> *</span></div><div class="line"><span class="comment"> * Some details about the Test class.</span></div><div class="line"><span class="comment"> */</span></div></div><!-- fragment -->
Click <a href="examples/class/html/index.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
</dd></dl>
<hr/>
<h1><a class="anchor" id="cmddef"></a>
\def <name></h1>
<p><a name="a:5cdef"></a> Indicates that a comment block contains documentation for a <code>#define</code> macro.</p>
<dl class="section user"><dt>Example:</dt><dd><div class="fragment"><div class="line"><span class="comment">/*! \file define.h</span></div><div class="line"><span class="comment"> \brief testing defines</span></div><div class="line"><span class="comment"> </span></div><div class="line"><span class="comment"> This is to test the documentation of defines.</span></div><div class="line"><span class="comment">*/</span></div><div class="line"><span class="comment"></span></div><div class="line"><span class="comment">/*!</span></div><div class="line"><span class="comment"> \def MAX(x,y)</span></div><div class="line"><span class="comment"> Computes the maximum of \a x and \a y.</span></div><div class="line"><span class="comment">*/</span></div><div class="line"><span class="comment"></span></div><div class="line"><span class="comment">/*! </span></div><div class="line"><span class="comment"> Computes the absolute value of its argument \a x.</span></div><div class="line"><span class="comment">*/</span></div><div class="line"><span class="preprocessor">#define ABS(x) (((x)>0)?(x):-(x))</span></div><div class="line"><span class="preprocessor">#define MAX(x,y) ((x)>(y)?(x):(y))</span></div><div class="line"><span class="preprocessor">#define MIN(x,y) ((x)>(y)?(y):(x)) </span></div><div class="line"><span class="comment"> /*!< Computes the minimum of \a x and \a y. */</span></div></div><!-- fragment -->
Click <a href="examples/define/html/define_8h.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
</dd></dl>
<hr/>
<h1><a class="anchor" id="cmddefgroup"></a>
\defgroup <name> (group title)</h1>
<p><a name="a:5cdefgroup"></a> Indicates that a comment block contains documentation for a <a class="el" href="grouping.html#modules">group</a> of classes, files or namespaces. This can be used to categorize classes, files or namespaces, and document those categories. You can also use groups as members of other groups, thus building a hierarchy of groups.</p>
<p>The <name> argument should be a single-word identifier.</p>
<dl class="section see"><dt>See also</dt><dd>page <a class="el" href="grouping.html">Grouping</a>, sections <a class="el" href="commands.html#cmdingroup">\ingroup</a>, <a class="el" href="commands.html#cmdaddtogroup">\addtogroup</a>, and <a class="el" href="commands.html#cmdweakgroup">\weakgroup</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmddir"></a>
\dir [<path fragment>]</h1>
<p><a name="a:5cdir"></a> Indicates that a comment block contains documentation for a directory. The "path fragment" argument should include the directory name and enough of the path to be unique with respect to the other directories in the project. The <a class="el" href="config.html#cfg_strip_from_path">STRIP_FROM_PATH</a> option determines what is stripped from the full path before it appears in the output.</p>
<hr/>
<h1><a class="anchor" id="cmdenum"></a>
\enum <name></h1>
<p><a name="a:5cenum"></a> Indicates that a comment block contains documentation for an enumeration, with name <name>. If the enum is a member of a class and the documentation block is located outside the class definition, the scope of the class should be specified as well. If a comment block is located directly in front of an enum declaration, the <code>\enum</code> comment may be omitted.</p>
<dl class="section user"><dt>Note:</dt><dd>The type of an anonymous enum cannot be documented, but the values of an anonymous enum can.</dd></dl>
<dl class="section user"><dt>Example:</dt><dd><div class="fragment"><div class="line"><span class="keyword">class </span>Enum_Test</div><div class="line">{</div><div class="line"> <span class="keyword">public</span>:</div><div class="line"> <span class="keyword">enum</span> TEnum { Val1, Val2 };</div><div class="line"><span class="comment"></span></div><div class="line"><span class="comment"> /*! Another enum, with inline docs */</span></div><div class="line"> <span class="keyword">enum</span> AnotherEnum </div><div class="line"> { </div><div class="line"> V1, <span class="comment">/*!< value 1 */</span></div><div class="line"> V2 <span class="comment">/*!< value 2 */</span></div><div class="line"> };</div><div class="line">};</div><div class="line"><span class="comment"></span></div><div class="line"><span class="comment">/*! \class Enum_Test</span></div><div class="line"><span class="comment"> * The class description.</span></div><div class="line"><span class="comment"> */</span></div><div class="line"><span class="comment"></span></div><div class="line"><span class="comment">/*! \enum Enum_Test::TEnum</span></div><div class="line"><span class="comment"> * A description of the enum type.</span></div><div class="line"><span class="comment"> */</span></div><div class="line"><span class="comment"></span></div><div class="line"><span class="comment">/*! \var Enum_Test::TEnum Enum_Test::Val1</span></div><div class="line"><span class="comment"> * The description of the first enum value.</span></div><div class="line"><span class="comment"> */</span></div></div><!-- fragment -->
Click <a href="examples/enum/html/class_test.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdexample"></a>
\example <file-name></h1>
<p><a name="a:5cexample"></a> Indicates that a comment block contains documentation for a source code example. The name of the source file is <file-name>. The text of this file will be included in the documentation, just after the documentation contained in the comment block. All examples are placed in a list. The source code is scanned for documented members and classes. If any are found, the names are cross-referenced with the documentation. Source files or directories can be specified using the <a class="el" href="config.html#cfg_example_path">EXAMPLE_PATH</a> tag of doxygen's configuration file.</p>
<p>If <file-name> itself is not unique for the set of example files specified by the <a class="el" href="config.html#cfg_example_path">EXAMPLE_PATH</a> tag, you can include part of the absolute path to disambiguate it.</p>
<p>If more than one source file is needed for the example, the <a class="el" href="commands.html#cmdinclude">\include</a> command can be used.</p>
<dl class="section user"><dt>Example:</dt><dd><div class="fragment"><div class="line"><span class="comment">/** A Example_Test class.</span></div><div class="line"><span class="comment"> * More details about this class.</span></div><div class="line"><span class="comment"> */</span></div><div class="line"></div><div class="line"><span class="keyword">class </span>Example_Test</div><div class="line">{</div><div class="line"> <span class="keyword">public</span>:<span class="comment"></span></div><div class="line"><span class="comment"> /** An example member function.</span></div><div class="line"><span class="comment"> * More details about this function.</span></div><div class="line"><span class="comment"> */</span></div><div class="line"> <span class="keywordtype">void</span> example();</div><div class="line">};</div><div class="line"></div><div class="line"><span class="keywordtype">void</span> Example_Test::example() {}</div><div class="line"><span class="comment"></span></div><div class="line"><span class="comment">/** \example example_test.cpp</span></div><div class="line"><span class="comment"> * This is an example of how to use the Example_Test class.</span></div><div class="line"><span class="comment"> * More details about this example.</span></div><div class="line"><span class="comment"> */</span></div></div><!-- fragment --> Where the example file <code>example_test.cpp</code> looks as follows: <div class="fragment"><div class="line"><span class="keywordtype">void</span> main()</div><div class="line">{</div><div class="line"> Example_Test t;</div><div class="line"> t.example();</div><div class="line">}</div></div><!-- fragment -->
Click <a href="examples/example/html/examples.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
</dd></dl>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdinclude">\include</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdendinternal"></a>
\endinternal</h1>
<p><a name="a:5cendinternal"></a> This command ends a documentation fragment that was started with a <a class="el" href="commands.html#cmdinternal">\internal</a> command. The text between <a class="el" href="commands.html#cmdinternal">\internal</a> and <code>\endinternal</code> will only be visible if <a class="el" href="config.html#cfg_internal_docs">INTERNAL_DOCS</a> is set to <code>YES</code>.</p>
<hr/>
<h1><a class="anchor" id="cmdextends"></a>
\extends <name></h1>
<p><a name="a:5cextends"></a> This command can be used to manually indicate an inheritance relation, when the programming language does not support this concept natively (e.g. C).</p>
<p>The file <code>manual.c</code> in the example directory shows how to use this command.</p>
<p>
Click <a href="examples/manual/html/index.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdimplements">\implements</a> and section <a class="el" href="commands.html#cmdmemberof">\memberof</a></dd></dl>
<hr/>
<h1><a class="anchor" id="cmdfile"></a>
\file [<name>]</h1>
<p><a name="a:5cfile"></a> Indicates that a comment block contains documentation for a source or header file with name <name>. The file name may include (part of) the path if the file-name alone is not unique. If the file name is omitted (i.e. the line after <code>\file</code> is left blank) then the documentation block that contains the <code>\file</code> command will belong to the file it is located in.</p>
<dl class="section user"><dt>Important:</dt><dd>The documentation of global functions, variables, typedefs, and enums will only be included in the output if the file they are in is documented as well.</dd></dl>
<dl class="section user"><dt>Example:</dt><dd><div class="fragment"><div class="line"><span class="comment">/** \file file.h</span></div><div class="line"><span class="comment"> * A brief file description.</span></div><div class="line"><span class="comment"> * A more elaborated file description.</span></div><div class="line"><span class="comment"> */</span></div><div class="line"><span class="comment"></span></div><div class="line"><span class="comment">/**</span></div><div class="line"><span class="comment"> * A global integer value.</span></div><div class="line"><span class="comment"> * More details about this value.</span></div><div class="line"><span class="comment"> */</span></div><div class="line"><span class="keyword">extern</span> <span class="keywordtype">int</span> globalValue;</div></div><!-- fragment -->
Click <a href="examples/file/html/file_8h.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>In the above example <a class="el" href="config.html#cfg_javadoc_autobrief">JAVADOC_AUTOBRIEF</a> has been set to <code>YES</code> in the configuration file.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdfn"></a>
\fn (function declaration)</h1>
<p><a name="a:5cfn"></a> Indicates that a comment block contains documentation for a function (either global or as a member of a class). This command is <em>only</em> needed if a comment block is <em>not</em> placed in front (or behind) the function declaration or definition.</p>
<p>If your comment block <em>is</em> in front of the function declaration or definition this command can (and to avoid redundancy should) be omitted.</p>
<p>A full function declaration including arguments should be specified after the <code>\fn</code> command on a <em>single</em> line, since the argument ends at the end of the line!</p>
<p>This command is equivalent to <a class="el" href="commands.html#cmdvar">\var</a>, <a class="el" href="commands.html#cmdtypedef">\typedef</a>, and <a class="el" href="commands.html#cmdproperty">\property</a>.</p>
<dl class="section warning"><dt>Warning</dt><dd>Do not use this command if it is not absolutely needed, since it will lead to duplication of information and thus to errors.</dd></dl>
<dl class="section user"><dt>Example:</dt><dd><div class="fragment"><div class="line"><span class="keyword">class </span>Fn_Test</div><div class="line">{</div><div class="line"> <span class="keyword">public</span>:</div><div class="line"> <span class="keyword">const</span> <span class="keywordtype">char</span> *member(<span class="keywordtype">char</span>,<span class="keywordtype">int</span>) <span class="keywordflow">throw</span>(std::out_of_range);</div><div class="line">};</div><div class="line"></div><div class="line"><span class="keyword">const</span> <span class="keywordtype">char</span> *Fn_Test::member(<span class="keywordtype">char</span> c,<span class="keywordtype">int</span> n) <span class="keywordflow">throw</span>(std::out_of_range) {}</div><div class="line"><span class="comment"></span></div><div class="line"><span class="comment">/*! \class Fn_Test</span></div><div class="line"><span class="comment"> * \brief Fn_Test class.</span></div><div class="line"><span class="comment"> *</span></div><div class="line"><span class="comment"> * Details about Fn_Test.</span></div><div class="line"><span class="comment"> */</span></div><div class="line"><span class="comment"></span></div><div class="line"><span class="comment">/*! \fn const char *Fn_Test::member(char c,int n) </span></div><div class="line"><span class="comment"> * \brief A member function.</span></div><div class="line"><span class="comment"> * \param c a character.</span></div><div class="line"><span class="comment"> * \param n an integer.</span></div><div class="line"><span class="comment"> * \exception std::out_of_range parameter is out of range.</span></div><div class="line"><span class="comment"> * \return a character pointer.</span></div><div class="line"><span class="comment"> */</span></div></div><!-- fragment -->
Click <a href="examples/func/html/class_test.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
</dd></dl>
<dl class="section see"><dt>See also</dt><dd>sections <a class="el" href="commands.html#cmdvar">\var</a>, <a class="el" href="commands.html#cmdproperty">\property</a>, and <a class="el" href="commands.html#cmdtypedef">\typedef</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdheaderfile"></a>
\headerfile <header-file> [<header-name>]</h1>
<p><a name="a:5cheaderfile"></a> Intended to be used for class, struct, or union documentation, where the documentation is in front of the definition. The arguments of this command are the same as the second and third argument of <a class="el" href="commands.html#cmdclass">\class</a>. The <header-file> name refers to the file that should be included by the application to obtain the definition of the class, struct, or union. The <header-name> argument can be used to overwrite the name of the link that is used in the class documentation to something other than <header-file>. This can be useful if the include name is not located on the default include path (like <X11/X.h>).</p>
<p>With the <header-name> argument you can also specify how the include statement should look like, by adding either double quotes or sharp brackets around the name. By default sharp brackets are used if just the name is given.</p>
<p>If a pair of double quotes is given for either the <header-file> or <header-name> argument, the current file (in which the command was found) will be used but with quotes. So for a comment block with a <code>\headerfile</code> command inside a file <code>test.h</code>, the following three commands are equivalent: </p><pre class="fragment"> \headerfile test.h "test.h"
\headerfile test.h ""
\headerfile "" </pre><p> To get sharp brackets you do not need to specify anything, but if you want to be explicit you could use any of the following: </p><pre class="fragment"> \headerfile test.h <test.h>
\headerfile test.h <>
\headerfile <> </pre><p>To globally reverse the default include representation to local includes you can set <a class="el" href="config.html#cfg_force_local_includes">FORCE_LOCAL_INCLUDES</a> to <code>YES</code>.</p>
<p>To disable the include information altogether set <a class="el" href="config.html#cfg_show_include_files">SHOW_INCLUDE_FILES</a> to <code>NO</code>.</p>
<hr/>
<h1><a class="anchor" id="cmdhideinitializer"></a>
\hideinitializer</h1>
<p><a name="a:5chideinitializer"></a> By default the value of a define and the initializer of a variable are displayed unless they are longer than 30 lines. By putting this command in a comment block of a define or variable, the initializer is always hidden. The maximum number of initialization lines can be changed by means of the configuration parameter <a class="el" href="config.html#cfg_max_initializer_lines">MAX_INITIALIZER_LINES</a>, the default value is 30.</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdshowinitializer">\showinitializer</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdidlexcept"></a>
\idlexcept <name></h1>
<p><a name="a:5cidlexcept"></a></p>
<p>Indicates that a comment block contains documentation for a IDL exception with name <name>.</p>
<hr/>
<h1><a class="anchor" id="cmdimplements"></a>
\implements <name></h1>
<p><a name="a:5cimplements"></a> This command can be used to manually indicate an inheritance relation, when the programming language does not support this concept natively (e.g. C).</p>
<p>The file <code>manual.c</code> in the example directory shows how to use this command.</p>
<p>
Click <a href="examples/manual/html/index.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdextends">\extends</a> and section <a class="el" href="commands.html#cmdmemberof">\memberof</a></dd></dl>
<hr/>
<h1><a class="anchor" id="cmdingroup"></a>
\ingroup (<groupname> [<groupname> <groupname>])</h1>
<p><a name="a:5cingroup"></a> If the <code>\ingroup</code> command is placed in a comment block of a class, file or namespace, then it will be added to the group or groups identified by <groupname>.</p>
<dl class="section see"><dt>See also</dt><dd>page <a class="el" href="grouping.html">Grouping</a>, sections <a class="el" href="commands.html#cmddefgroup">\defgroup</a>, <a class="el" href="commands.html#cmdaddtogroup">\addtogroup</a>, and <a class="el" href="commands.html#cmdweakgroup">\weakgroup</a></dd></dl>
<hr/>
<h1><a class="anchor" id="cmdinterface"></a>
\interface <name> [<header-file>] [<header-name>]</h1>
<p><a name="a:5cinterface"></a> Indicates that a comment block contains documentation for an interface with name <name>. The arguments are equal to the arguments of the <a class="el" href="commands.html#cmdclass">\class</a> command.</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdclass">\class</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdinternal"></a>
\internal</h1>
<p><a name="a:5cinternal"></a> This command starts a documentation fragment that is meant for internal use only. The fragment naturally ends at the end of the comment block. You can also force the internal section to end earlier by using the <a class="el" href="commands.html#cmdendinternal">\endinternal</a> command.</p>
<p>If the <code>\internal</code> command is put inside a section (see for example <a class="el" href="commands.html#cmdsection">\section</a>) all subsections after the command are considered to be internal as well. Only a new section at the same level will end the fragment that is considered internal.</p>
<p>You can use <a class="el" href="config.html#cfg_internal_docs">INTERNAL_DOCS</a> in the config file to show (<code>YES</code>) or hide (<code>NO</code>) the internal documentation.</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdendinternal">\endinternal</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdmainpage"></a>
\mainpage [(title)]</h1>
<p><a name="a:5cmainpage"></a></p>
<p>If the <code>\mainpage</code> command is placed in a comment block the block is used to customize the index page (in HTML) or the first chapter (in <img class="formulaInl" alt="$\mbox{\LaTeX}$" src="form_0.png"/>).</p>
<p>The title argument is optional and replaces the default title that doxygen normally generates. If you do not want any title you can specify <code>notitle</code> as the argument of <code>\mainpage</code>.</p>
<p>Here is an example: </p><pre class="fragment">/*! \mainpage My Personal Index Page
*
* \section intro_sec Introduction
*
* This is the introduction.
*
* \section install_sec Installation
*
* \subsection step1 Step 1: Opening the box
*
* etc...
*/
</pre><p>You can refer to the main page using: <code><a class="el" href="commands.html#cmdref">\ref</a> index</code>.</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdsection">\section</a>, section <a class="el" href="commands.html#cmdsubsection">\subsection</a>, and section <a class="el" href="commands.html#cmdpage">\page</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdmemberof"></a>
\memberof <name></h1>
<p><a name="a:5cmemberof"></a> This command makes a function a member of a class in a similar way as <a class="el" href="commands.html#cmdrelates">\relates</a> does, only with this command the function is represented as a real member of the class. This can be useful when the programming language does not support the concept of member functions natively (e.g. C).</p>
<p>It is also possible to use this command together with <a class="el" href="commands.html#cmdpublic">\public</a>, <a class="el" href="commands.html#cmdprotected">\protected</a> or <a class="el" href="commands.html#cmdprivate">\private</a>.</p>
<p>The file <code>manual.c</code> in the example directory shows how to use this command.</p>
<p>
Click <a href="examples/manual/html/index.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
</p>
<dl class="section see"><dt>See also</dt><dd>sections <a class="el" href="commands.html#cmdextends">\extends</a>, <a class="el" href="commands.html#cmdimplements">\implements</a>, <a class="el" href="commands.html#cmdpublic">\public</a>, <a class="el" href="commands.html#cmdprotected">\protected</a> and <a class="el" href="commands.html#cmdprivate">\private</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdname"></a>
\name [(header)]</h1>
<p><a name="a:5cname"></a></p>
<p>This command turns a comment block into a header definition of a member group. The comment block should be followed by a <code>//@{ ... //@}</code> block containing the members of the group.</p>
<p>See section <a class="el" href="grouping.html#memgroup">Member Groups</a> for an example.</p>
<hr/>
<h1><a class="anchor" id="cmdnamespace"></a>
\namespace <name></h1>
<p><a name="a:5cnamespace"></a> Indicates that a comment block contains documentation for a namespace with name <name>.</p>
<hr/>
<h1><a class="anchor" id="cmdnosubgrouping"></a>
\nosubgrouping</h1>
<p><a name="a:5cnosubgrouping"></a> This command can be put in the documentation of a class. It can be used in combination with member grouping to avoid that doxygen puts a member group as a subgroup of a Public/Protected/Private/... section.</p>
<dl class="section see"><dt>See also</dt><dd>sections <a class="el" href="commands.html#cmdpublicsection">\publicsection</a>, <a class="el" href="commands.html#cmdprotectedsection">\protectedsection</a> and <a class="el" href="commands.html#cmdprivatesection">\privatesection</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdoverload"></a>
\overload [(function declaration)]</h1>
<p><a name="a:5coverload"></a> This command can be used to generate the following standard text for an overloaded member function:</p>
<blockquote class="doxtable">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
</blockquote>
<p>If the documentation for the overloaded member function is not located in front of the function declaration or definition, the optional argument should be used to specify the correct function.</p>
<p>Any other documentation that is inside the documentation block will by appended after the generated message.</p>
<dl class="section user"><dt>Note 1:</dt><dd>You are responsible that there is indeed an earlier documented member that is overloaded by this one. To prevent that document reorders the documentation you should set <a class="el" href="config.html#cfg_sort_member_docs">SORT_MEMBER_DOCS</a> to <code>NO</code> in this case. </dd></dl>
<dl class="section user"><dt>Note 2:</dt><dd>The <code>\overload</code> command does not work inside a one-line comment. </dd></dl>
<dl class="section user"><dt>Example:</dt><dd><div class="fragment"><div class="line"><span class="keyword">class </span>Overload_Test </div><div class="line">{</div><div class="line"> <span class="keyword">public</span>:</div><div class="line"> <span class="keywordtype">void</span> drawRect(<span class="keywordtype">int</span>,<span class="keywordtype">int</span>,<span class="keywordtype">int</span>,<span class="keywordtype">int</span>);</div><div class="line"> <span class="keywordtype">void</span> drawRect(<span class="keyword">const</span> Rect &r);</div><div class="line">};</div><div class="line"></div><div class="line"><span class="keywordtype">void</span> Overload_Test::drawRect(<span class="keywordtype">int</span> x,<span class="keywordtype">int</span> y,<span class="keywordtype">int</span> w,<span class="keywordtype">int</span> h) {}</div><div class="line"><span class="keywordtype">void</span> Overload_Test::drawRect(<span class="keyword">const</span> Rect &r) {}</div><div class="line"><span class="comment"></span></div><div class="line"><span class="comment">/*! \class Overload_Test</span></div><div class="line"><span class="comment"> * \brief A short description.</span></div><div class="line"><span class="comment"> * </span></div><div class="line"><span class="comment"> * More text.</span></div><div class="line"><span class="comment"> */</span></div><div class="line"><span class="comment"></span></div><div class="line"><span class="comment">/*! \fn void Overload_Test::drawRect(int x,int y,int w,int h)</span></div><div class="line"><span class="comment"> * This command draws a rectangle with a left upper corner at ( \a x , \a y ),</span></div><div class="line"><span class="comment"> * width \a w and height \a h. </span></div><div class="line"><span class="comment"> */</span></div><div class="line"><span class="comment"></span></div><div class="line"><span class="comment">/*!</span></div><div class="line"><span class="comment"> * \overload void Overload_Test::drawRect(const Rect &r)</span></div><div class="line"><span class="comment"> */</span></div><div class="line"></div></div><!-- fragment -->
Click <a href="examples/overload/html/class_test.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdpackage"></a>
\package <name></h1>
<p><a name="a:5cpackage"></a> Indicates that a comment block contains documentation for a Java package with name <name>.</p>
<hr/>
<h1><a class="anchor" id="cmdpage"></a>
\page <name> (title)</h1>
<p><a name="a:5cpage"></a> Indicates that a comment block contains a piece of documentation that is not directly related to one specific class, file or member. The HTML generator creates a page containing the documentation. The <img class="formulaInl" alt="$\mbox{\LaTeX}$" src="form_0.png"/> generator starts a new section in the chapter 'Page documentation'.</p>
<dl class="section user"><dt>Example:</dt><dd><div class="fragment"><div class="line"><span class="comment">/*! \page page1 A documentation page</span></div><div class="line"><span class="comment"> \tableofcontents</span></div><div class="line"><span class="comment"> Leading text.</span></div><div class="line"><span class="comment"> \section sec An example section</span></div><div class="line"><span class="comment"> This page contains the subsections \ref subsection1 and \ref subsection2.</span></div><div class="line"><span class="comment"> For more info see page \ref page2.</span></div><div class="line"><span class="comment"> \subsection subsection1 The first subsection</span></div><div class="line"><span class="comment"> Text.</span></div><div class="line"><span class="comment"> \subsection subsection2 The second subsection</span></div><div class="line"><span class="comment"> More text.</span></div><div class="line"><span class="comment">*/</span></div><div class="line"><span class="comment"></span></div><div class="line"><span class="comment">/*! \page page2 Another page</span></div><div class="line"><span class="comment"> Even more info.</span></div><div class="line"><span class="comment">*/</span></div></div><!-- fragment -->
Click <a href="examples/page/html/pages.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
</dd></dl>
<dl class="section user"><dt>Note:</dt><dd>The <name> argument consists of a combination of letters and number digits. If you wish to use upper case letters (e.g. <code>MYPAGE1</code>), or mixed case letters (e.g. <code>MyPage1</code>) in the <name> argument, you should set <a class="el" href="config.html#cfg_case_sense_names">CASE_SENSE_NAMES</a> to <code>YES</code>. However, this is advisable only if your file system is case sensitive. Otherwise (and for better portability) you should use all lower case letters (e.g. <code>mypage1</code>) for <name> in all references to the page.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdsection">\section</a>, section <a class="el" href="commands.html#cmdsubsection">\subsection</a>, and section <a class="el" href="commands.html#cmdref">\ref</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdprivate"></a>
\private</h1>
<p><a name="a:5cprivate"></a> Indicates that the member documented by the comment block is private, i.e., should only be accessed by other members in the same class.</p>
<p>Note that doxygen automatically detects the protection level of members in object-oriented languages. This command is intended for use only when the language does not support the concept of protection level natively (e.g. C, PHP 4).</p>
<p>For starting a section of private members, in a way similar to the "private:" class marker in C++, use <a class="el" href="commands.html#cmdprivatesection">\privatesection</a>.</p>
<dl class="section see"><dt>See also</dt><dd>sections <a class="el" href="commands.html#cmdmemberof">\memberof</a>, <a class="el" href="commands.html#cmdpublic">\public</a>, <a class="el" href="commands.html#cmdprotected">\protected</a> and <a class="el" href="commands.html#cmdprivatesection">\privatesection</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdprivatesection"></a>
\privatesection</h1>
<p><a name="a:5cprivatesection"></a> Starting a section of private members, in a way similar to the "private:" class marker in C++. Indicates that the member documented by the comment block is private, i.e., should only be accessed by other members in the same class.</p>
<dl class="section see"><dt>See also</dt><dd>sections <a class="el" href="commands.html#cmdmemberof">\memberof</a>, <a class="el" href="commands.html#cmdpublic">\public</a>, <a class="el" href="commands.html#cmdprotected">\protected</a> and <a class="el" href="commands.html#cmdprivate">\private</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdproperty"></a>
\property (qualified property name)</h1>
<p><a name="a:5cproperty"></a> Indicates that a comment block contains documentation for a property (either global or as a member of a class). This command is equivalent to <a class="el" href="commands.html#cmdfn">\fn</a>, <a class="el" href="commands.html#cmdtypedef">\typedef</a>, and <a class="el" href="commands.html#cmdvar">\var</a>.</p>
<dl class="section see"><dt>See also</dt><dd>sections <a class="el" href="commands.html#cmdfn">\fn</a>, <a class="el" href="commands.html#cmdtypedef">\typedef</a>, and <a class="el" href="commands.html#cmdvar">\var</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdprotected"></a>
\protected</h1>
<p><a name="a:5cprotected"></a> Indicates that the member documented by the comment block is protected, i.e., should only be accessed by other members in the same or derived classes.</p>
<p>Note that doxygen automatically detects the protection level of members in object-oriented languages. This command is intended for use only when the language does not support the concept of protection level natively (e.g. C, PHP 4).</p>
<p>For starting a section of protected members, in a way similar to the "protected:" class marker in C++, use <a class="el" href="commands.html#cmdprotectedsection">\protectedsection</a>.</p>
<dl class="section see"><dt>See also</dt><dd>sections <a class="el" href="commands.html#cmdmemberof">\memberof</a>, <a class="el" href="commands.html#cmdpublic">\public</a>, <a class="el" href="commands.html#cmdprivate">\private</a> and <a class="el" href="commands.html#cmdprotectedsection">\protectedsection</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdprotectedsection"></a>
\protectedsection</h1>
<p><a name="a:5cprotectedsection"></a> Starting a section of protected members, in a way similar to the "protected:" class marker in C++. Indicates that the member documented by the comment block is protected, i.e., should only be accessed by other members in the same or derived classes.</p>
<dl class="section see"><dt>See also</dt><dd>sections <a class="el" href="commands.html#cmdmemberof">\memberof</a>, <a class="el" href="commands.html#cmdpublic">\public</a>, <a class="el" href="commands.html#cmdprivate">\private</a> and <a class="el" href="commands.html#cmdprotected">\protected</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdprotocol"></a>
\protocol <name> [<header-file>] [<header-name>]</h1>
<p><a name="a:5cprotocol"></a> Indicates that a comment block contains documentation for a protocol in Objective-C with name <name>. The arguments are equal to the <a class="el" href="commands.html#cmdclass">\class</a> command.</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdclass">\class</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdpublic"></a>
\public</h1>
<p><a name="a:5cpublic"></a> Indicates that the member documented by the comment block is public, i.e., can be accessed by any other class or function.</p>
<p>Note that doxygen automatically detects the protection level of members in object-oriented languages. This command is intended for use only when the language does not support the concept of protection level natively (e.g. C, PHP 4).</p>
<p>For starting a section of public members, in a way similar to the "public:" class marker in C++, use <a class="el" href="commands.html#cmdpublicsection">\publicsection</a>.</p>
<dl class="section see"><dt>See also</dt><dd>sections <a class="el" href="commands.html#cmdmemberof">\memberof</a>, <a class="el" href="commands.html#cmdprotected">\protected</a>, <a class="el" href="commands.html#cmdprivate">\private</a> and <a class="el" href="commands.html#cmdpublicsection">\publicsection</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdpublicsection"></a>
\publicsection</h1>
<p><a name="a:5cpublicsection"></a> Starting a section of public members, in a way similar to the "public:" class marker in C++. Indicates that the member documented by the comment block is public, i.e., can be accessed by any other class or function.</p>
<dl class="section see"><dt>See also</dt><dd>sections <a class="el" href="commands.html#cmdmemberof">\memberof</a>, <a class="el" href="commands.html#cmdprotected">\protected</a>, <a class="el" href="commands.html#cmdprivate">\private</a> and <a class="el" href="commands.html#cmdpublic">\public</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdpure"></a>
\pure</h1>
<p><a name="a:5cpure"></a> Indicates that the member documented by the comment block is pure virtual, i.e., it is abstract and has no implementation associated with it.</p>
<p>This command is intended for use only when the language does not support the concept of pure virtual methods natively (e.g. C, PHP 4).</p>
<hr/>
<h1><a class="anchor" id="cmdrelates"></a>
\relates <name></h1>
<p><a name="a:5crelates"></a> This command can be used in the documentation of a non-member function <name>. It puts the function inside the 'related function' section of the class documentation. This command is useful for documenting non-friend functions that are nevertheless strongly coupled to a certain class. It prevents the need of having to document a file, but only works for functions.</p>
<dl class="section user"><dt>Example:</dt><dd><div class="fragment"><div class="line"><span class="comment">/*! </span></div><div class="line"><span class="comment"> * A String class.</span></div><div class="line"><span class="comment"> */</span> </div><div class="line"> </div><div class="line"><span class="keyword">class </span>String</div><div class="line">{</div><div class="line"> <span class="keyword">friend</span> <span class="keywordtype">int</span> strcmp(<span class="keyword">const</span> String &,<span class="keyword">const</span> String &);</div><div class="line">};</div><div class="line"><span class="comment"></span></div><div class="line"><span class="comment">/*! </span></div><div class="line"><span class="comment"> * Compares two strings.</span></div><div class="line"><span class="comment"> */</span></div><div class="line"></div><div class="line"><span class="keywordtype">int</span> strcmp(<span class="keyword">const</span> String &s1,<span class="keyword">const</span> String &s2)</div><div class="line">{</div><div class="line">}</div><div class="line"><span class="comment"></span></div><div class="line"><span class="comment">/*! \relates String</span></div><div class="line"><span class="comment"> * A string debug function.</span></div><div class="line"><span class="comment"> */</span></div><div class="line"><span class="keywordtype">void</span> stringDebug()</div><div class="line">{</div><div class="line">}</div></div><!-- fragment -->
Click <a href="examples/relates/html/class_string.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdrelated"></a>
\related <name></h1>
<p><a name="a:5crelated"></a> Equivalent to <a class="el" href="commands.html#cmdrelates">\relates</a></p>
<hr/>
<h1><a class="anchor" id="cmdrelatesalso"></a>
\relatesalso <name></h1>
<p><a name="a:5crelatesalso"></a> This command can be used in the documentation of a non-member function <name>. It puts the function both inside the 'related function' section of the class documentation as well as leaving it at its normal file documentation location. This command is useful for documenting non-friend functions that are nevertheless strongly coupled to a certain class. It only works for functions.</p>
<hr/>
<h1><a class="anchor" id="cmdrelatedalso"></a>
\relatedalso <name></h1>
<p><a name="a:5crelatedalso"></a> Equivalent to <a class="el" href="commands.html#cmdrelatesalso">\relatesalso</a></p>
<hr/>
<h1><a class="anchor" id="cmdshowinitializer"></a>
\showinitializer</h1>
<p><a name="a:5cshowinitializer"></a> By default the value of a define and the initializer of a variable are only displayed if they are less than 30 lines long. By putting this command in a comment block of a define or variable, the initializer is shown unconditionally. The maximum number of initialization lines can be changed by means of the configuration parameter <a class="el" href="config.html#cfg_max_initializer_lines">MAX_INITIALIZER_LINES</a>, the default value is 30.</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdhideinitializer">\hideinitializer</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdstatic"></a>
\static</h1>
<p><a name="a:5cstatic"></a> Indicates that the member documented by the comment block is static, i.e., it works on a class, instead of on an instance of the class.</p>
<p>This command is intended for use only when the language does not support the concept of static methods natively (e.g. C).</p>
<hr/>
<h1><a class="anchor" id="cmdstruct"></a>
\struct <name> [<header-file>] [<header-name>]</h1>
<p><a name="a:5cstruct"></a> Indicates that a comment block contains documentation for a struct with name <name>. The arguments are equal to the arguments of the <a class="el" href="commands.html#cmdclass">\class</a> command.</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdclass">\class</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdtypedef"></a>
\typedef (typedef declaration)</h1>
<p><a name="a:5ctypedef"></a> Indicates that a comment block contains documentation for a typedef (either global or as a member of a class). This command is equivalent to <a class="el" href="commands.html#cmdfn">\fn</a>, <a class="el" href="commands.html#cmdproperty">\property</a>, and <a class="el" href="commands.html#cmdvar">\var</a>.</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdfn">\fn</a>, <a class="el" href="commands.html#cmdproperty">\property</a>, and <a class="el" href="commands.html#cmdvar">\var</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdunion"></a>
\union <name> [<header-file>] [<header-name>]</h1>
<p><a name="a:5cunion"></a> Indicates that a comment block contains documentation for a union with name <name>. The arguments are equal to the arguments of the <a class="el" href="commands.html#cmdclass">\class</a> command.</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdclass">\class</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdvar"></a>
\var (variable declaration)</h1>
<p><a name="a:5cvar"></a> Indicates that a comment block contains documentation for a variable or enum value (either global or as a member of a class). This command is equivalent to <a class="el" href="commands.html#cmdfn">\fn</a>, <a class="el" href="commands.html#cmdproperty">\property</a>, and <a class="el" href="commands.html#cmdtypedef">\typedef</a>.</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdfn">\fn</a>, <a class="el" href="commands.html#cmdproperty">\property</a>, and <a class="el" href="commands.html#cmdtypedef">\typedef</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdvhdlflow"></a>
\vhdlflow [(title for the flow chart)]</h1>
<p><a name="a:5cvhdlflow"></a> This is a VHDL specific command, which can be put in the documentation of a process to produce a flow chart of the logic in the process. Optionally a title for the flow chart can be given. </p><dl class="section note"><dt>Note</dt><dd>Currently the flow chart will only appear in the HTML output.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdweakgroup"></a>
\weakgroup <name> [(title)]</h1>
<p><a name="a:5caddtogroup"></a> Can be used exactly like <a class="el" href="commands.html#cmdaddtogroup">\addtogroup</a>, but has a lower priority when it comes to resolving conflicting grouping definitions.</p>
<dl class="section see"><dt>See also</dt><dd>page <a class="el" href="grouping.html">Grouping</a> and section <a class="el" href="commands.html#cmdaddtogroup">\addtogroup</a>.</dd></dl>
<hr/>
<p> </p><center><p> </p><h2> --- Section indicators --- </h2>
<p> </p></center><p></p>
<hr/>
<h1><a class="anchor" id="cmdattention"></a>
\attention { attention text }</h1>
<p><a name="a:5cattention"></a> Starts a paragraph where a message that needs attention may be entered. The paragraph will be indented. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent <code>\attention</code> commands will be joined into a single paragraph. The <code>\attention</code> command ends when a blank line or some other sectioning command is encountered.</p>
<hr/>
<h1><a class="anchor" id="cmdauthor"></a>
\author { list of authors }</h1>
<p><a name="a:5cauthor"></a> Starts a paragraph where one or more author names may be entered. The paragraph will be indented. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent <code>\author</code> commands will be joined into a single paragraph. Each author description will start a new line. Alternatively, one <code>\author</code> command may mention several authors. The <code>\author</code> command ends when a blank line or some other sectioning command is encountered.</p>
<dl class="section user"><dt>Example:</dt><dd><div class="fragment"><div class="line"><span class="comment">/*! </span></div><div class="line"><span class="comment"> * \brief Pretty nice class.</span></div><div class="line"><span class="comment"> * \details This class is used to demonstrate a number of section commands.</span></div><div class="line"><span class="comment"> * \author John Doe</span></div><div class="line"><span class="comment"> * \author Jan Doe</span></div><div class="line"><span class="comment"> * \version 4.1a</span></div><div class="line"><span class="comment"> * \date 1990-2011</span></div><div class="line"><span class="comment"> * \pre First initialize the system.</span></div><div class="line"><span class="comment"> * \bug Not all memory is freed when deleting an object of this class.</span></div><div class="line"><span class="comment"> * \warning Improper use can crash your application</span></div><div class="line"><span class="comment"> * \copyright GNU Public License.</span></div><div class="line"><span class="comment"> */</span></div><div class="line"><span class="keyword">class </span>SomeNiceClass {};</div></div><!-- fragment -->
Click <a href="examples/author/html/class_some_nice_class.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdauthors"></a>
\authors { list of authors }</h1>
<p><a name="a:5cauthors"></a> Equivalent to <a class="el" href="commands.html#cmdauthor">\author</a>.</p>
<hr/>
<h1><a class="anchor" id="cmdbrief"></a>
\brief { brief description }</h1>
<p><a name="a:5cbrief"></a> Starts a paragraph that serves as a brief description. For classes and files the brief description will be used in lists and at the start of the documentation page. For class and file members, the brief description will be placed at the declaration of the member and prepended to the detailed description. A brief description may span several lines (although it is advised to keep it brief!). A brief description ends when a blank line or another sectioning command is encountered. If multiple <code>\brief</code> commands are present they will be joined. See section <a class="el" href="commands.html#cmdauthor">\author</a> for an example.</p>
<p>Synonymous to <a class="el" href="commands.html#cmdshort">\short</a>.</p>
<hr/>
<h1><a class="anchor" id="cmdbug"></a>
\bug { bug description }</h1>
<p><a name="a:5cbug"></a> Starts a paragraph where one or more bugs may be reported. The paragraph will be indented. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent <code>\bug</code> commands will be joined into a single paragraph. Each bug description will start on a new line. Alternatively, one <code>\bug</code> command may mention several bugs. The <code>\bug</code> command ends when a blank line or some other sectioning command is encountered. See section <a class="el" href="commands.html#cmdauthor">\author</a> for an example.</p>
<hr/>
<h1><a class="anchor" id="cmdcond"></a>
\cond [(section-label)]</h1>
<p><a name="a:5ccond"></a> Starts a conditional section that ends with a corresponding <a class="el" href="commands.html#cmdendcond">\endcond</a> command, which is typically found in another comment block. The main purpose of this pair of commands is to (conditionally) exclude part of a file from processing (in older version of doxygen this could only be achieved using C preprocessor commands).</p>
<p>The section between <code>\cond</code> and <a class="el" href="commands.html#cmdendcond">\endcond</a> can be included by adding its section label to the <a class="el" href="config.html#cfg_enabled_sections">ENABLED_SECTIONS</a> configuration option. If the section label is omitted, the section will be excluded from processing unconditionally. The section label can be a logical expression build of section labels, round brackets, && (AND), || (OR) and ! (NOT). If you use an expression you need to wrap it in round brackets, i.e <code>\cond (!LABEL1 && LABEL2)</code>.</p>
<p>For conditional sections within a comment block one should use a <a class="el" href="commands.html#cmdif">\if</a> ... <a class="el" href="commands.html#cmdendif">\endif</a> block.</p>
<p>Conditional sections can be nested. In this case a nested section will only be shown if it and its containing section are included.</p>
<p>Here is an example showing the commands in action:</p>
<pre class="fragment">/** An interface */
class Intf
{
public:
/** A method */
virtual void func() = 0;
/// @cond TEST
/** A method used for testing */
virtual void test() = 0;
/// @endcond
};
/// @cond DEV
/*
* The implementation of the interface
*/
class Implementation : public Intf
{
public:
void func();
/// @cond TEST
void test();
/// @endcond
/// @cond
/** This method is obsolete and does
* not show up in the documentation.
*/
void obsolete();
/// @endcond
};
/// @endcond
</pre><p>The output will be different depending on whether or not <a class="el" href="config.html#cfg_enabled_sections">ENABLED_SECTIONS</a> contains <code>TEST</code>, or <code>DEV</code> </p>
<dl class="section see"><dt>See also</dt><dd>sections <a class="el" href="commands.html#cmdendcond">\endcond</a> and <a class="el" href="config.html#cfg_enabled_sections">ENABLED_SECTIONS</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdcopyright"></a>
\copyright { copyright description }</h1>
<p><a name="a:5ccopyright"></a> Starts a paragraph where the copyright of an entity can be described. This paragraph will be indented. The text of the paragraph has no special internal structure. See section <a class="el" href="commands.html#cmdauthor">\author</a> for an example.</p>
<hr/>
<h1><a class="anchor" id="cmddate"></a>
\date { date description }</h1>
<p><a name="a:5cdate"></a> Starts a paragraph where one or more dates may be entered. The paragraph will be indented. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent <code>\date</code> commands will be joined into a single paragraph. Each date description will start on a new line. Alternatively, one <code>\date</code> command may mention several dates. The <code>\date</code> command ends when a blank line or some other sectioning command is encountered. See section <a class="el" href="commands.html#cmdauthor">\author</a> for an example.</p>
<hr/>
<h1><a class="anchor" id="cmddeprecated"></a>
\deprecated { description }</h1>
<p><a name="a:5cdeprecated"></a> Starts a paragraph indicating that this documentation block belongs to a deprecated entity. Can be used to describe alternatives, expected life span, etc.</p>
<hr/>
<h1><a class="anchor" id="cmddetails"></a>
\details { detailed description }</h1>
<p><a name="a:5cdetails"></a> Just like <a class="el" href="commands.html#cmdbrief">\brief</a> starts a brief description, <code>\details</code> starts the detailed description. You can also start a new paragraph (blank line) then the <code>\details</code> command is not needed.</p>
<hr/>
<h1><a class="anchor" id="cmdelse"></a>
\else</h1>
<p><a name="a:5celse"></a> Starts a conditional section if the previous conditional section was not enabled. The previous section should have been started with a <a class="el" href="commands.html#cmdif">\if</a>, <a class="el" href="commands.html#cmdifnot">\ifnot</a>, or <a class="el" href="commands.html#cmdelseif">\elseif</a> command.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="commands.html#cmdif">\if</a>, <a class="el" href="commands.html#cmdifnot">\ifnot</a>, <a class="el" href="commands.html#cmdelseif">\elseif</a>, <a class="el" href="commands.html#cmdendif">\endif.</a></dd></dl>
<hr/>
<h1><a class="anchor" id="cmdelseif"></a>
\elseif (section-label)</h1>
<p><a name="a:5celseif"></a> Starts a conditional documentation section if the previous section was not enabled. A conditional section is disabled by default. To enable it you must put the section-label after the <a class="el" href="config.html#cfg_enabled_sections">ENABLED_SECTIONS</a> tag in the configuration file. The section label can be a logical expression build of section names, round brackets, && (AND), || (OR) and ! (NOT). Conditional blocks can be nested. A nested section is only enabled if all enclosing sections are enabled as well.</p>
<dl class="section see"><dt>See also</dt><dd>sections <a class="el" href="commands.html#cmdendif">\endif</a>, <a class="el" href="commands.html#cmdifnot">\ifnot</a>, <a class="el" href="commands.html#cmdelse">\else</a>, and <a class="el" href="commands.html#cmdelseif">\elseif</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdendcond"></a>
\endcond</h1>
<p><a name="a:5cendcond"></a> Ends a conditional section that was started by <a class="el" href="commands.html#cmdcond">\cond</a>.</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdcond">\cond</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdendif"></a>
\endif</h1>
<p><a name="a:5cendif"></a> Ends a conditional section that was started by <a class="el" href="commands.html#cmdif">\if</a> or <a class="el" href="commands.html#cmdifnot">\ifnot</a> For each <a class="el" href="commands.html#cmdif">\if</a> or <a class="el" href="commands.html#cmdifnot">\ifnot</a> one and only one matching <a class="el" href="commands.html#cmdendif">\endif</a> must follow.</p>
<dl class="section see"><dt>See also</dt><dd>sections <a class="el" href="commands.html#cmdif">\if</a> and <a class="el" href="commands.html#cmdifnot">\ifnot</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdexception"></a>
\exception <exception-object> { exception description }</h1>
<p><a name="a:5cexception"></a> Starts an exception description for an exception object with name <exception-object>. Followed by a description of the exception. The existence of the exception object is not checked. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent <code>\exception</code> commands will be joined into a single paragraph. Each exception description will start on a new line. The <code>\exception</code> description ends when a blank line or some other sectioning command is encountered. See section <a class="el" href="commands.html#cmdfn">\fn</a> for an example.</p>
<hr/>
<h1><a class="anchor" id="cmdif"></a>
\if (section-label)</h1>
<p><a name="a:5cif"></a> Starts a conditional documentation section. The section ends with a matching <a class="el" href="commands.html#cmdendif">\endif</a> command. A conditional section is disabled by default. To enable it you must put the section-label after the <a class="el" href="config.html#cfg_enabled_sections">ENABLED_SECTIONS</a> tag in the configuration file.</p>
<p>The section label can be a logical expression build of section names, round brackets, && (AND), || (OR) and ! (NOT). If you use an expression you need to wrap it in round brackets, i.e <code>\cond (!LABEL1 && LABEL2)</code>.</p>
<p>Conditional blocks can be nested. A nested section is only enabled if all enclosing sections are enabled as well.</p>
<dl class="section user"><dt>Example:</dt><dd><pre class="fragment"> /*! Unconditionally shown documentation.
* \if Cond1
* Only included if Cond1 is set.
* \endif
* \if Cond2
* Only included if Cond2 is set.
* \if Cond3
* Only included if Cond2 and Cond3 are set.
* \endif
* More text.
* \endif
* Unconditional text.
*/
</pre></dd></dl>
<p>You can also use conditional commands inside aliases. To document a class in two languages you could for instance use:</p>
<dl class="section user"><dt>Example 2:</dt><dd><pre class="fragment">/*! \english
* This is English.
* \endenglish
* \dutch
* Dit is Nederlands.
* \enddutch
*/
class Example
{
};
</pre></dd></dl>
<p>Where the following aliases are defined in the configuration file:</p>
<pre class="fragment">ALIASES = "english=\if english" \
"endenglish=\endif" \
"dutch=\if dutch" \
"enddutch=\endif"
</pre><p>and <a class="el" href="config.html#cfg_enabled_sections">ENABLED_SECTIONS</a> can be used to enable either <code>english</code> or <code>dutch</code>.</p>
<dl class="section see"><dt>See also</dt><dd>sections <a class="el" href="commands.html#cmdendif">\endif</a>, <a class="el" href="commands.html#cmdifnot">\ifnot</a>, <a class="el" href="commands.html#cmdelse">\else</a>, <a class="el" href="commands.html#cmdelseif">\elseif</a>, and <a class="el" href="config.html#cfg_enabled_sections">ENABLED_SECTIONS</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdifnot"></a>
\ifnot (section-label)</h1>
<p><a name="a:5cifnot"></a> Starts a conditional documentation section. The section ends with a matching <a class="el" href="commands.html#cmdendif">\endif</a> command. This conditional section is enabled by default. To disable it you must put the section-label after the <a class="el" href="config.html#cfg_enabled_sections">ENABLED_SECTIONS</a> tag in the configuration file. The section label can be a logical expression build of section names, round brackets, && (AND), || (OR) and ! (NOT).</p>
<dl class="section see"><dt>See also</dt><dd>sections <a class="el" href="commands.html#cmdendif">\endif</a>, <a class="el" href="commands.html#cmdif">\if</a>, <a class="el" href="commands.html#cmdelse">\else</a>, and <a class="el" href="commands.html#cmdelseif">\elseif</a>, and <a class="el" href="config.html#cfg_enabled_sections">ENABLED_SECTIONS</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdinvariant"></a>
\invariant { description of invariant }</h1>
<p><a name="a:5cinvariant"></a> Starts a paragraph where the invariant of an entity can be described. The paragraph will be indented. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent <code>\invariant</code> commands will be joined into a single paragraph. Each invariant description will start on a new line. Alternatively, one <code>\invariant</code> command may mention several invariants. The <code>\invariant</code> command ends when a blank line or some other sectioning command is encountered.</p>
<hr/>
<h1><a class="anchor" id="cmdnote"></a>
\note { text }</h1>
<p><a name="a:5cnote"></a> Starts a paragraph where a note can be entered. The paragraph will be indented. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent <code>\note</code> commands will be joined into a single paragraph. Each note description will start on a new line. Alternatively, one <code>\note</code> command may mention several notes. The <code>\note</code> command ends when a blank line or some other sectioning command is encountered. See section <a class="el" href="commands.html#cmdpar">\par</a> for an example.</p>
<hr/>
<h1><a class="anchor" id="cmdpar"></a>
\par [(paragraph title)] { paragraph }</h1>
<p><a name="a:5cpar"></a> If a paragraph title is given this command starts a paragraph with a user defined heading. The heading extends until the end of the line. The paragraph following the command will be indented.</p>
<p>If no paragraph title is given this command will start a new paragraph. This will also work inside other paragraph commands (like <a class="el" href="commands.html#cmdparam">\param</a> or <a class="el" href="commands.html#cmdwarning">\warning</a>) without ending that command.</p>
<p>The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. The <code>\par</code> command ends when a blank line or some other sectioning command is encountered.</p>
<dl class="section user"><dt>Example:</dt><dd><div class="fragment"><div class="line"><span class="comment">/*! \class Par_Test</span></div><div class="line"><span class="comment"> * Normal text.</span></div><div class="line"><span class="comment"> *</span></div><div class="line"><span class="comment"> * \par User defined paragraph:</span></div><div class="line"><span class="comment"> * Contents of the paragraph.</span></div><div class="line"><span class="comment"> *</span></div><div class="line"><span class="comment"> * \par</span></div><div class="line"><span class="comment"> * New paragraph under the same heading.</span></div><div class="line"><span class="comment"> *</span></div><div class="line"><span class="comment"> * \note</span></div><div class="line"><span class="comment"> * This note consists of two paragraphs.</span></div><div class="line"><span class="comment"> * This is the first paragraph.</span></div><div class="line"><span class="comment"> *</span></div><div class="line"><span class="comment"> * \par</span></div><div class="line"><span class="comment"> * And this is the second paragraph.</span></div><div class="line"><span class="comment"> *</span></div><div class="line"><span class="comment"> * More normal text. </span></div><div class="line"><span class="comment"> */</span></div><div class="line"> </div><div class="line"><span class="keyword">class </span>Par_Test {};</div></div><!-- fragment -->
Click <a href="examples/par/html/class_test.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdparam"></a>
\param [(dir)] <parameter-name> { parameter description }</h1>
<p><a name="a:5cparam"></a> Starts a parameter description for a function parameter with name <parameter-name>, followed by a description of the parameter. The existence of the parameter is checked and a warning is given if the documentation of this (or any other) parameter is missing or not present in the function declaration or definition.</p>
<p>The <code>\param</code> command has an optional attribute, (dir), specifying the direction of the parameter. Possible values are "[in]", "[in,out]", and "[out]", note the [square] brackets in this description. When a parameter is both input and output, [in,out] is used as attribute. Here is an example for the function <code>memcpy:</code> </p><div class="fragment"><div class="line"><span class="comment">/*!</span></div><div class="line"><span class="comment"> * Copies bytes from a source memory area to a destination memory area,</span></div><div class="line"><span class="comment"> * where both areas may not overlap.</span></div><div class="line"><span class="comment"> * @param[out] dest The memory area to copy to.</span></div><div class="line"><span class="comment"> * @param[in] src The memory area to copy from.</span></div><div class="line"><span class="comment"> * @param[in] n The number of bytes to copy</span></div><div class="line"><span class="comment"> */</span></div><div class="line"><span class="keywordtype">void</span> memcpy(<span class="keywordtype">void</span> *dest, <span class="keyword">const</span> <span class="keywordtype">void</span> *src, <span class="keywordtype">size_t</span> n);</div></div><!-- fragment --><p>The parameter description is a paragraph with no special internal structure. All visual enhancement commands may be used inside the paragraph.</p>
<p>Multiple adjacent <code>\param</code> commands will be joined into a single paragraph. Each parameter description will start on a new line. The <code>\param</code> description ends when a blank line or some other sectioning command is encountered. See section <a class="el" href="commands.html#cmdfn">\fn</a> for an example.</p>
<p>Note that you can also document multiple parameters with a single <code>\param</code> command using a comma separated list. Here is an example:</p>
<div class="fragment"><div class="line"><span class="comment">/** Sets the position.</span></div><div class="line"><span class="comment"> * @param x,y,z Coordinates of the position in 3D space.</span></div><div class="line"><span class="comment"> */</span></div><div class="line"><span class="keywordtype">void</span> setPosition(<span class="keywordtype">double</span> x,<span class="keywordtype">double</span> y,<span class="keywordtype">double</span> z,<span class="keywordtype">double</span> t)</div><div class="line">{</div><div class="line">}</div></div><!-- fragment --><p>Note that for PHP one can also specify the type (or types if you separate them with a pipe symbol) which are allowed for a parameter (as this is not part of the definition). The syntax is the same as for phpDocumentor, i.e. </p><pre class="fragment">@param datatype1|datatype2 $paramname description
</pre><hr/>
<h1><a class="anchor" id="cmdparblock"></a>
\parblock</h1>
<p><a name="a:5cparblock"></a> For commands that expect a single paragraph as argument (such as <a class="el" href="commands.html#cmdpar">\par</a>, <a class="el" href="commands.html#cmdparam">\param</a> and <a class="el" href="commands.html#cmdwarning">\warning</a>), the <a class="el" href="commands.html#cmdparblock">\parblock</a> command allows to start a description that covers multiple paragraphs, which then ends with <a class="el" href="commands.html#cmdendparblock">\endparblock</a>.</p>
<p>Example: </p><pre class="fragment">/** Example of a param command with a description consisting of two paragraphs
* \param p
* \parblock
* First paragraph of the param description.
*
* Second paragraph of the param description.
* \endparblock
* Rest of the comment block continues.
*/
</pre><p> Note that the <code>\parblock</code> command may also appear directly after <a class="el" href="commands.html#cmdparam">\param</a>'s first argument.</p>
<hr/>
<h1><a class="anchor" id="cmdendparblock"></a>
\endparblock</h1>
<p><a name="a:5cendparblock"></a> This ends a block of paragraphs started with <a class="el" href="commands.html#cmdparblock">\parblock</a>.</p>
<hr/>
<h1><a class="anchor" id="cmdtparam"></a>
\tparam <template-parameter-name> { description }</h1>
<p><a name="a:5ctparam"></a> Starts a template parameter for a class or function template parameter with name <template-parameter-name>, followed by a description of the template parameter.</p>
<p>Otherwise similar to <a class="el" href="commands.html#cmdparam">\param</a>.</p>
<hr/>
<h1><a class="anchor" id="cmdpost"></a>
\post { description of the postcondition }</h1>
<p><a name="a:5cpost"></a> Starts a paragraph where the postcondition of an entity can be described. The paragraph will be indented. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent <code>\post</code> commands will be joined into a single paragraph. Each postcondition will start on a new line. Alternatively, one <code>\post</code> command may mention several postconditions. The <code>\post</code> command ends when a blank line or some other sectioning command is encountered.</p>
<hr/>
<h1><a class="anchor" id="cmdpre"></a>
\pre { description of the precondition }</h1>
<p><a name="a:5cpre"></a> Starts a paragraph where the precondition of an entity can be described. The paragraph will be indented. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent <code>\pre</code> commands will be joined into a single paragraph. Each precondition will start on a new line. Alternatively, one <code>\pre</code> command may mention several preconditions. The <code>\pre</code> command ends when a blank line or some other sectioning command is encountered.</p>
<hr/>
<h1><a class="anchor" id="cmdremark"></a>
\remark { remark text }</h1>
<p><a name="a:5cremark"></a> Starts a paragraph where one or more remarks may be entered. The paragraph will be indented. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent <code>\remark</code> commands will be joined into a single paragraph. Each remark will start on a new line. Alternatively, one <code>\remark</code> command may mention several remarks. The <code>\remark</code> command ends when a blank line or some other sectioning command is encountered.</p>
<hr/>
<h1><a class="anchor" id="cmdremarks"></a>
\remarks { remark text }</h1>
<p><a name="a:5cremarks"></a> Equivalent to <a class="el" href="commands.html#cmdremark">\remark</a>.</p>
<hr/>
<h1><a class="anchor" id="cmdresult"></a>
\result { description of the result value }</h1>
<p><a name="a:5cresult"></a> Equivalent to <a class="el" href="commands.html#cmdreturn">\return</a>.</p>
<hr/>
<h1><a class="anchor" id="cmdreturn"></a>
\return { description of the return value }</h1>
<p><a name="a:5creturn"></a> Starts a return value description for a function. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent <code>\return</code> commands will be joined into a single paragraph. The <code>\return</code> description ends when a blank line or some other sectioning command is encountered. See section <a class="el" href="commands.html#cmdfn">\fn</a> for an example.</p>
<hr/>
<h1><a class="anchor" id="cmdreturns"></a>
\returns { description of the return value }</h1>
<p><a name="a:5creturns"></a> Equivalent to <a class="el" href="commands.html#cmdreturn">\return</a>.</p>
<hr/>
<h1><a class="anchor" id="cmdretval"></a>
\retval <return value> { description }</h1>
<p><a name="a:5cretval"></a> Starts a description for a function's return value with name <return value>, followed by a description of the return value. The text of the paragraph that forms the description has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent <code>\retval</code> commands will be joined into a single paragraph. Each return value description will start on a new line. The <code>\retval</code> description ends when a blank line or some other sectioning command is encountered.</p>
<hr/>
<h1><a class="anchor" id="cmdsa"></a>
\sa { references }</h1>
<p><a name="a:5csa"></a> Starts a paragraph where one or more cross-references to classes, functions, methods, variables, files or URL may be specified. Two names joined by either <code>::</code> or <code>#</code> are understood as referring to a class and one of its members. One of several overloaded methods or constructors may be selected by including a parenthesized list of argument types after the method name.</p>
<p>Synonymous to <a class="el" href="commands.html#cmdsee">\see</a>.</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="autolink.html">autolink</a> for information on how to create links to objects.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdsee"></a>
\see { references }</h1>
<p><a name="a:5csee"></a> Equivalent to <a class="el" href="commands.html#cmdsa">\sa</a>. Introduced for compatibility with Javadoc.</p>
<hr/>
<h1><a class="anchor" id="cmdshort"></a>
\short { short description }</h1>
<p><a name="a:5cshort"></a> Equivalent to <a class="el" href="commands.html#cmdbrief">\brief</a>.</p>
<hr/>
<h1><a class="anchor" id="cmdsince"></a>
\since { text }</h1>
<p><a name="a:5csince"></a> This command can be used to specify since when (version or time) an entity is available. The paragraph that follows <code>\since</code> does not have any special internal structure. All visual enhancement commands may be used inside the paragraph. The <code>\since</code> description ends when a blank line or some other sectioning command is encountered.</p>
<hr/>
<h1><a class="anchor" id="cmdtest"></a>
\test { paragraph describing a test case }</h1>
<p><a name="a:5ctest"></a> Starts a paragraph where a test case can be described. The description will also add the test case to a separate test list. The two instances of the description will be cross-referenced. Each test case in the test list will be preceded by a header that indicates the origin of the test case.</p>
<hr/>
<h1><a class="anchor" id="cmdthrow"></a>
\throw <exception-object> { exception description }</h1>
<p><a name="a:5cthrow"></a> Synonymous <a class="el" href="commands.html#cmdexception">\exception</a>.</p>
<dl class="section user"><dt>Note:</dt><dd>the command <a class="el" href="commands.html#cmdthrows">\throws</a> is a synonym for this command.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdexception">\exception</a></dd></dl>
<hr/>
<h1><a class="anchor" id="cmdthrows"></a>
\throws <exception-object> { exception description }</h1>
<p><a name="a:5cthrows"></a> Equivalent to <a class="el" href="commands.html#cmdthrow">\throw</a>.</p>
<hr/>
<h1><a class="anchor" id="cmdtodo"></a>
\todo { paragraph describing what is to be done }</h1>
<p><a name="a:5ctodo"></a> Starts a paragraph where a TODO item is described. The description will also add an item to a separate TODO list. The two instances of the description will be cross-referenced. Each item in the TODO list will be preceded by a header that indicates the origin of the item.</p>
<hr/>
<h1><a class="anchor" id="cmdversion"></a>
\version { version number }</h1>
<p><a name="a:5cversion"></a> Starts a paragraph where one or more version strings may be entered. The paragraph will be indented. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent <code>\version</code> commands will be joined into a single paragraph. Each version description will start on a new line. Alternatively, one <code>\version</code> command may mention several version strings. The \version command ends when a blank line or some other sectioning command is encountered. See section <a class="el" href="commands.html#cmdauthor">\author</a> for an example.</p>
<hr/>
<h1><a class="anchor" id="cmdwarning"></a>
\warning { warning message }</h1>
<p><a name="a:5cwarning"></a> Starts a paragraph where one or more warning messages may be entered. The paragraph will be indented. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent <code>\warning</code> commands will be joined into a single paragraph. Each warning description will start on a new line. Alternatively, one <code>\warning</code> command may mention several warnings. The <code>\warning</code> command ends when a blank line or some other sectioning command is encountered. See section <a class="el" href="commands.html#cmdauthor">\author</a> for an example.</p>
<hr/>
<h1><a class="anchor" id="cmdxrefitem"></a>
\xrefitem <key> "(heading)" "(list title)" { text }</h1>
<p><a name="a:5cxrefitem"></a> This command is a generalization of commands such as <a class="el" href="commands.html#cmdtodo">\todo</a> and <a class="el" href="commands.html#cmdbug">\bug</a>. It can be used to create user-defined text sections which are automatically cross-referenced between the place of occurrence and a related page, which will be generated. On the related page all sections of the same type will be collected.</p>
<p>The first argument <key> is an identifier uniquely representing the type of the section. The second argument is a quoted string representing the heading of the section under which text passed as the fourth argument is put. The third argument (list title) is used as the title for the related page containing all items with the same key. The keys <code>"todo"</code>, <code>"test"</code>, <code>"bug"</code> and <code>"deprecated"</code> are predefined.</p>
<p>To get an idea on how to use the <code>\xrefitem</code> command and what its effect is, consider the todo list, which (for English output) can be seen an alias for the command </p><pre class="fragment">\xrefitem todo "Todo" "Todo List" </pre><p>Since it is very tedious and error-prone to repeat the first three parameters of the command for each section, the command is meant to be used in combination with the <a class="el" href="config.html#cfg_aliases">ALIASES</a> option in the configuration file. To define a new command <code>\reminder</code>, for instance, one should add the following line to the configuration file: </p><pre class="fragment">ALIASES += "reminder=\xrefitem reminders \"Reminder\" \"Reminders\"" </pre><p> Note the use of escaped quotes for the second and third argument of the <code>\xrefitem</code> command.</p>
<p>In case parameter "(heading)" is the empty string no heading is generated. This can be useful when used in combination with the <a class="el" href="commands.html#cmdpage">\page</a> command e.g. </p><pre class="fragment">/** @page my_errors My Errors
* @brief Errors page
*
* Errors page contents.
*/
/** \error ERROR 101: in case a file can not be opened.
Check about file system read/write access. */
#define MY_ERR_CANNOT_OPEN_FILE 101
/** \error ERROR 102: in case a file can not be closed.
Check about file system read/write access. */
#define MY_ERR_CANNOT_CLOSE_FILE 102
</pre><p> with <code>\error</code> defined as </p><pre class="fragment">ALIASES += "error=\xrefitem my_errors \"\" \"\"" </pre><hr/>
<p> </p><center><p> </p><h2> --- Commands to create links --- </h2>
<p> </p></center><p></p>
<hr/>
<h1><a class="anchor" id="cmdaddindex"></a>
\addindex (text)</h1>
<p><a name="a:5caddindex"></a> This command adds (text) to the <img class="formulaInl" alt="$\mbox{\LaTeX}$" src="form_0.png"/> index.</p>
<hr/>
<h1><a class="anchor" id="cmdanchor"></a>
\anchor <word></h1>
<p><a name="a:5canchor"></a> This command places an invisible, named anchor into the documentation to which you can refer with the <a class="el" href="commands.html#cmdref">\ref</a> command.</p>
<dl class="section note"><dt>Note</dt><dd>Anchors can currently only be put into a comment block that is marked as a page (using <a class="el" href="commands.html#cmdpage">\page</a>) or mainpage (<a class="el" href="commands.html#cmdmainpage">\mainpage</a>).</dd></dl>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdref">\ref</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdcite"></a>
\cite <label></h1>
<p><a name="a:5ccite"></a> Adds a bibliographic reference in the text and in the list of bibliographic references. The <label> must be a valid BibTeX label that can be found in one of the .bib files listed in <a class="el" href="config.html#cfg_cite_bib_files">CITE_BIB_FILES</a>. For the <img class="formulaInl" alt="$\mbox{\LaTeX}$" src="form_0.png"/> output the formatting of the reference in the text can be configured with <a class="el" href="config.html#cfg_latex_bib_style">LATEX_BIB_STYLE</a>. For other output formats a fixed representation is used. Note that using this command requires the <code>bibtex</code> tool to be present in the search path.</p>
<hr/>
<h1><a class="anchor" id="cmdendlink"></a>
\endlink</h1>
<p><a name="a:5cendlink"></a> This command ends a link that is started with the <a class="el" href="commands.html#cmdlink">\link</a> command.</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdlink">\link</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdlink"></a>
\link <link-object></h1>
<p><a name="a:5clink"></a> The links that are automatically generated by doxygen always have the name of the object they point to as link-text.</p>
<p>The <code>\link</code> command can be used to create a link to an object (a file, class, or member) with a user specified link-text. The link command should end with an <a class="el" href="commands.html#cmdendlink">\endlink</a> command. All text between the <code>\link</code> and <a class="el" href="commands.html#cmdendlink">\endlink</a> commands serves as text for a link to the <link-object> specified as the first argument of <code>\link</code>.</p>
<dl class="section see"><dt>See also</dt><dd>Section <a class="el" href="autolink.html">autolink</a> for more information on automatically generated links and valid link-objects.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdref"></a>
\ref <name> ["(text)"]</h1>
<p><a name="a:5cref"></a> Creates a reference to a named section, subsection, page or anchor. For HTML documentation the reference command will generate a link to the section. For a section or subsection the title of the section will be used as the text of the link. For an anchor the optional text between quotes will be used or <name> if no text is specified. For <img class="formulaInl" alt="$\mbox{\LaTeX}$" src="form_0.png"/> documentation the reference command will generate a section number for sections or the text followed by a page number if <name> refers to an anchor.</p>
<dl class="section see"><dt>See also</dt><dd>Section <a class="el" href="commands.html#cmdpage">\page</a> for an example of the <code>\ref</code> command.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdrefitem"></a>
\refitem <name></h1>
<p><a name="a:5crefitem"></a> Just like the <a class="el" href="commands.html#cmdref">\ref</a> command, this command creates a reference to a named section, but this reference appears in a list that is started by <a class="el" href="commands.html#cmdsecreflist">\secreflist</a> and ends with <a class="el" href="commands.html#cmdendsecreflist">\endsecreflist</a>. An example of such a list can be seen <a class="el" href="commands.html#showsecreflist">at the top of the page</a>.</p>
<hr/>
<h1><a class="anchor" id="cmdsecreflist"></a>
\secreflist</h1>
<p><a name="a:5csecreflist"></a> Starts an index list of item, created with <a class="el" href="commands.html#cmdrefitem">\refitem</a> that each link to a named section.</p>
<hr/>
<h1><a class="anchor" id="cmdendsecreflist"></a>
\endsecreflist</h1>
<p><a name="a:5cendsecreflist"></a> End an index list started with <a class="el" href="commands.html#cmdsecreflist">\secreflist</a>.</p>
<hr/>
<h1><a class="anchor" id="cmdsubpage"></a>
\subpage <name> ["(text)"]</h1>
<p><a name="a:5csubpage"></a> This command can be used to create a hierarchy of pages. The same structure can be made using the <a class="el" href="commands.html#cmddefgroup">\defgroup</a> and <a class="el" href="commands.html#cmdingroup">\ingroup</a> commands, but for pages the <code>\subpage</code> command is often more convenient. The main page (see <a class="el" href="commands.html#cmdmainpage">\mainpage</a>) is typically the root of hierarchy.</p>
<p>This command behaves similar as <a class="el" href="commands.html#cmdref">\ref</a> in the sense that it creates a reference to a page labeled <name> with the optional link text as specified in the second argument.</p>
<p>It differs from the <a class="el" href="commands.html#cmdref">\ref</a> command in that it only works for pages, and creates a parent-child relation between pages, where the child page (or sub page) is identified by label <name>.</p>
<p>See the <a class="el" href="commands.html#cmdsection">\section</a> and <a class="el" href="commands.html#cmdsubsection">\subsection</a> commands if you want to add structure without creating multiple pages.</p>
<dl class="section note"><dt>Note</dt><dd>Each page can be the sub page of only one other page and no cyclic relations are allowed, i.e. the page hierarchy must have a tree structure.</dd></dl>
<p>Here is an example: </p><pre class="fragment">/*! \mainpage A simple manual
Some general info.
This manual is divided in the following sections:
- \subpage intro
- \subpage advanced "Advanced usage"
*/
//-----------------------------------------------------------
/*! \page intro Introduction
This page introduces the user to the topic.
Now you can proceed to the \ref advanced "advanced section".
*/
//-----------------------------------------------------------
/*! \page advanced Advanced Usage
This page is for advanced users.
Make sure you have first read \ref intro "the introduction".
*/
</pre><hr/>
<h1><a class="anchor" id="cmdtableofcontents"></a>
\tableofcontents</h1>
<p><a name="a:5ctableofcontents"></a> Creates a table of contents at the top of a page, listing all sections and subsections in the page.</p>
<dl class="section warning"><dt>Warning</dt><dd>This command only works inside related page documentation and <em>not</em> in other documentation blocks and only has effect in the HTML output!</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdsection"></a>
\section <section-name> (section title)</h1>
<p><a name="a:5csection"></a> Creates a section with name <section-name>. The title of the section should be specified as the second argument of the <code>\section</code> command.</p>
<dl class="section warning"><dt>Warning</dt><dd>This command only works inside related page documentation and <em>not</em> in other documentation blocks!</dd></dl>
<dl class="section see"><dt>See also</dt><dd>Section <a class="el" href="commands.html#cmdpage">\page</a> for an example of the <code>\section</code> command.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdsubsection"></a>
\subsection <subsection-name> (subsection title)</h1>
<p><a name="a:5csubsection"></a> Creates a subsection with name <subsection-name>. The title of the subsection should be specified as the second argument of the <code>\subsection</code> command.</p>
<dl class="section warning"><dt>Warning</dt><dd>This command only works inside a section of a related page documentation block and <em>not</em> in other documentation blocks!</dd></dl>
<dl class="section see"><dt>See also</dt><dd>Section <a class="el" href="commands.html#cmdpage">\page</a> for an example of the <code>\subsection</code> command.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdsubsubsection"></a>
\subsubsection <subsubsection-name> (subsubsection title)</h1>
<p><a name="a:5csubsubsection"></a> Creates a subsubsection with name <subsubsection-name>. The title of the subsubsection should be specified as the second argument of the <code>\subsubsection</code> command.</p>
<dl class="section warning"><dt>Warning</dt><dd>This command only works inside a subsection of a related page documentation block and <em>not</em> in other documentation blocks!</dd></dl>
<dl class="section see"><dt>See also</dt><dd>Section <a class="el" href="commands.html#cmdpage">\page</a> for an example of the <a class="el" href="commands.html#cmdsection">\section</a> command and <a class="el" href="commands.html#cmdsubsection">\subsection</a> command.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdparagraph"></a>
\paragraph <paragraph-name> (paragraph title)</h1>
<p><a name="a:5cparagraph"></a> Creates a named paragraph with name <paragraph-name>. The title of the paragraph should be specified as the second argument of the <code>\paragraph</code> command.</p>
<dl class="section warning"><dt>Warning</dt><dd>This command only works inside a subsubsection of a related page documentation block and <em>not</em> in other documentation blocks!</dd></dl>
<hr/>
<p> </p><center><p> </p><h2> --- Commands for displaying examples --- </h2>
<p> </p></center><p></p>
<hr/>
<h1><a class="anchor" id="cmddontinclude"></a>
\dontinclude <file-name></h1>
<p><a name="a:5cdontinclude"></a> This command can be used to parse a source file without actually verbatim including it in the documentation (as the <a class="el" href="commands.html#cmdinclude">\include</a> command does). This is useful if you want to divide the source file into smaller pieces and add documentation between the pieces. Source files or directories can be specified using the <a class="el" href="config.html#cfg_example_path">EXAMPLE_PATH</a> tag of doxygen's configuration file.</p>
<p>The class and member declarations and definitions inside the code fragment are 'remembered' during the parsing of the comment block that contained the <code>\dontinclude</code> command.</p>
<p>For line by line descriptions of source files, one or more lines of the example can be displayed using the <a class="el" href="commands.html#cmdline">\line</a>, <a class="el" href="commands.html#cmdskip">\skip</a>, <a class="el" href="commands.html#cmdskipline">\skipline</a>, and <a class="el" href="commands.html#cmduntil">\until</a> commands. An internal pointer is used for these commands. The <code>\dontinclude</code> command sets the pointer to the first line of the example.</p>
<dl class="section user"><dt>Example:</dt><dd><div class="fragment"><div class="line"><span class="comment"></span></div><div class="line"><span class="comment">/*! A test class. */</span></div><div class="line"></div><div class="line"><span class="keyword">class </span>Include_Test</div><div class="line">{</div><div class="line"> <span class="keyword">public</span>:<span class="comment"></span></div><div class="line"><span class="comment"> /// a member function</span></div><div class="line"><span class="comment"></span> <span class="keywordtype">void</span> example();</div><div class="line">};</div><div class="line"><span class="comment"></span></div><div class="line"><span class="comment">/*! \page example</span></div><div class="line"><span class="comment"> * \dontinclude include_test.cpp</span></div><div class="line"><span class="comment"> * Our main function starts like this:</span></div><div class="line"><span class="comment"> * \skip main</span></div><div class="line"><span class="comment"> * \until {</span></div><div class="line"><span class="comment"> * First we create an object \c t of the Include_Test class.</span></div><div class="line"><span class="comment"> * \skipline Include_Test</span></div><div class="line"><span class="comment"> * Then we call the example member function </span></div><div class="line"><span class="comment"> * \line example</span></div><div class="line"><span class="comment"> * After that our little test routine ends.</span></div><div class="line"><span class="comment"> * \line }</span></div><div class="line"><span class="comment"> */</span></div></div><!-- fragment --> Where the example file <code>example_test.cpp</code> looks as follows: <div class="fragment"><div class="line"><span class="keywordtype">void</span> main()</div><div class="line">{</div><div class="line"> Example_Test t;</div><div class="line"> t.example();</div><div class="line">}</div></div><!-- fragment -->
Click <a href="examples/include/html/example.html">here</a>
for the corresponding HTML documentation that is generated by doxygen.
</dd></dl>
<p>Alternatively, the <a class="el" href="commands.html#cmdsnippet">\snippet</a> command can be used to include only a fragment of a source file. For this to work the fragment has to be marked.</p>
<dl class="section see"><dt>See also</dt><dd>sections <a class="el" href="commands.html#cmdline">\line</a>, <a class="el" href="commands.html#cmdskip">\skip</a>, <a class="el" href="commands.html#cmdskipline">\skipline</a>, <a class="el" href="commands.html#cmduntil">\until</a>, and <a class="el" href="commands.html#cmdinclude">\include</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdinclude"></a>
\include <file-name></h1>
<p><a name="a:5cinclude"></a> This command can be used to include a source file as a block of code. The command takes the name of an include file as an argument. Source files or directories can be specified using the <a class="el" href="config.html#cfg_example_path">EXAMPLE_PATH</a> tag of doxygen's configuration file.</p>
<p>If <file-name> itself is not unique for the set of example files specified by the <a class="el" href="config.html#cfg_example_path">EXAMPLE_PATH</a> tag, you can include part of the absolute path to disambiguate it.</p>
<p>Using the <code>\include</code> command is equivalent to inserting the file into the documentation block and surrounding it with <a class="el" href="commands.html#cmdcode">\code</a> and <a class="el" href="commands.html#cmdendcode">\endcode</a> commands.</p>
<p>The main purpose of the <code>\include</code> command is to avoid code duplication in case of example blocks that consist of multiple source and header files.</p>
<p>For a line by line description of a source files use the <a class="el" href="commands.html#cmddontinclude">\dontinclude</a> command in combination with the <a class="el" href="commands.html#cmdline">\line</a>, <a class="el" href="commands.html#cmdskip">\skip</a>, <a class="el" href="commands.html#cmdskipline">\skipline</a>, and <a class="el" href="commands.html#cmduntil">\until</a> commands.</p>
<p>Alternatively, the <a class="el" href="commands.html#cmdsnippet">\snippet</a> command can be used to include only a fragment of a source file. For this to work the fragment has to be marked.</p>
<dl class="section note"><dt>Note</dt><dd>Doxygen's special commands do not work inside blocks of code. It is allowed to nest C-style comments inside a code block though.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>sections <a class="el" href="commands.html#cmdexample">\example</a>, <a class="el" href="commands.html#cmddontinclude">\dontinclude</a>, <a class="el" href="commands.html#cmdverbatim">\verbatim</a> and <a class="el" href="commands.html#cmdincludedoc">\includedoc</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdincludelineno"></a>
\includelineno <file-name></h1>
<p><a name="a:5cincludelineno"></a> This command works the same way as <a class="el" href="commands.html#cmdinclude">\include</a>, but will add line numbers to the included file.</p>
<dl class="section see"><dt>See also</dt><dd>sections <a class="el" href="commands.html#cmdinclude">\include</a> and <a class="el" href="commands.html#cmdsnippetlineno">\snippetlineno</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdincludedoc"></a>
\includedoc <file-name></h1>
<p><a name="a:5cincludedoc"></a> This command works the same way as <a class="el" href="commands.html#cmdinclude">\include</a>, but it will include the content of the file as if it were at the place where this command is called. The result is that the content is parsed by doxygen and placed in the documentation.</p>
<dl class="section note"><dt>Note</dt><dd>Some commands like <a class="el" href="commands.html#cmdcond">\cond</a> and <a class="el" href="commands.html#cmdif">\if</a> don't work with this command due to the moment of parsing.</dd>
<dd>
The included documentation should not have comment signs in it as the will appear in the documentation as well.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdinclude">\include</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdline"></a>
\line ( pattern )</h1>
<p><a name="a:5cline"></a> This command searches line by line through the example that was last included using <a class="el" href="commands.html#cmdinclude">\include</a> or <a class="el" href="commands.html#cmddontinclude">\dontinclude</a> until it finds a non-blank line. If that line contains the specified pattern, it is written to the output.</p>
<p>The internal pointer that is used to keep track of the current line in the example, is set to the start of the line following the non-blank line that was found (or to the end of the example if no such line could be found).</p>
<p>See section <a class="el" href="commands.html#cmddontinclude">\dontinclude</a> for an example.</p>
<hr/>
<h1><a class="anchor" id="cmdskip"></a>
\skip ( pattern )</h1>
<p><a name="a:5cskip"></a> This command searches line by line through the example that was last included using <a class="el" href="commands.html#cmdinclude">\include</a> or <a class="el" href="commands.html#cmddontinclude">\dontinclude</a> until it finds a line that contains the specified pattern.</p>
<p>The internal pointer that is used to keep track of the current line in the example, is set to the start of the line that contains the specified pattern (or to the end of the example if the pattern could not be found).</p>
<p>See section <a class="el" href="commands.html#cmddontinclude">\dontinclude</a> for an example.</p>
<hr/>
<h1><a class="anchor" id="cmdskipline"></a>
\skipline ( pattern )</h1>
<p><a name="a:5cskipline"></a> This command searches line by line through the example that was last included using <a class="el" href="commands.html#cmdinclude">\include</a> or <a class="el" href="commands.html#cmddontinclude">\dontinclude</a> until it finds a line that contains the specified pattern. It then writes the line to the output.</p>
<p>The internal pointer that is used to keep track of the current line in the example, is set to the start of the line following the line that is written (or to the end of the example if the pattern could not be found).</p>
<dl class="section user"><dt>Note:</dt><dd>The command: <pre class="fragment">\skipline pattern</pre> is equivalent to: <pre class="fragment">\skip pattern
\line pattern</pre></dd></dl>
<p>See section <a class="el" href="commands.html#cmddontinclude">\dontinclude</a> for an example.</p>
<hr/>
<h1><a class="anchor" id="cmdsnippet"></a>
\snippet <file-name> ( block_id )</h1>
<p><a name="a:5csnippet"></a> Where the <a class="el" href="commands.html#cmdinclude">\include</a> command can be used to include a complete file as source code, this command can be used to quote only a fragment of a source file. In case <code>this</code> is used as <file-name> the current file is taken as file to take the snippet from.</p>
<p>For example, the putting the following command in the documentation, references a snippet in file <code>example.cpp</code> residing in a subdirectory which should be pointed to by <a class="el" href="config.html#cfg_example_path">EXAMPLE_PATH</a>.</p>
<pre class="fragment"> \snippet snippets/example.cpp Adding a resource
</pre><p>The text following the file name is the unique identifier for the snippet. This is used to delimit the quoted code in the relevant snippet file as shown in the following example that corresponds to the above <code>\snippet</code> command:</p>
<div class="fragment"><div class="line"> QImage image(64, 64, QImage::Format_RGB32);</div><div class="line"> image.fill(qRgb(255, 160, 128));</div><div class="line"><span class="comment"></span></div><div class="line"><span class="comment">//! [Adding a resource]</span></div><div class="line"><span class="comment"></span> document->addResource(QTextDocument::ImageResource,</div><div class="line"> QUrl(<span class="stringliteral">"mydata://image.png"</span>), QVariant(image));<span class="comment"></span></div><div class="line"><span class="comment">//! [Adding a resource]</span></div><div class="line"><span class="comment"></span> ...</div></div><!-- fragment --><p>Note that the lines containing the block markers will not be included, so the output will be:</p>
<div class="fragment"><div class="line">document->addResource(QTextDocument::ImageResource,</div><div class="line"> QUrl(<span class="stringliteral">"mydata://image.png"</span>), QVariant(image));</div></div><!-- fragment --><p>Note also that the [block_id] markers should appear exactly twice in the source file.</p>
<p>see section <a class="el" href="commands.html#cmddontinclude">\dontinclude</a> for an alternative way to include fragments of a source file that does not require markers.</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdsnippetdoc">\snippetdoc</a> and <a class="el" href="commands.html#cmdsnippetlineno">\snippetlineno</a>. <hr/>
</dd></dl>
<h1><a class="anchor" id="cmdsnippetlineno"></a>
\snippetlineno <file-name> ( block_id )</h1>
<p><a name="a:5csnippetlineno"></a> This command works the same way as <a class="el" href="commands.html#cmdsnippet">\snippet</a>, but will add line numbers to the included snippet.</p>
<dl class="section see"><dt>See also</dt><dd>sections <a class="el" href="commands.html#cmdsnippet">\snippet</a> and <a class="el" href="commands.html#cmdincludelineno">\includelineno</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdsnippetdoc"></a>
\snippetdoc <file-name> ( block_id )</h1>
<p><a name="a:5csnippetdoc"></a> This command works the same way as <a class="el" href="commands.html#cmdsnippet">\snippet</a>, but it will include the content of the file between the <code>block-id</code>s as if it were at the place where this command is called. The result is that the content is parsed by doxygen and placed in the documentation.</p>
<dl class="section note"><dt>Note</dt><dd>Some commands like <a class="el" href="commands.html#cmdcond">\cond</a> and <a class="el" href="commands.html#cmdif">\if</a> don't work with this command due to the moment of parsing.</dd>
<dd>
The included documentation should not have comment signs in it as the will appear in the documentation as well.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdsnippet">\snippet</a> and <a class="el" href="commands.html#cmdincludedoc">\includedoc</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmduntil"></a>
\until ( pattern )</h1>
<p><a name="a:5cuntil"></a> This command writes all lines of the example that was last included using <a class="el" href="commands.html#cmdinclude">\include</a> or <a class="el" href="commands.html#cmddontinclude">\dontinclude</a> to the output, until it finds a line containing the specified pattern. The line containing the pattern will be written as well.</p>
<p>The internal pointer that is used to keep track of the current line in the example, is set to the start of the line following last written line (or to the end of the example if the pattern could not be found).</p>
<p>See section <a class="el" href="commands.html#cmddontinclude">\dontinclude</a> for an example.</p>
<hr/>
<h1><a class="anchor" id="cmdverbinclude"></a>
\verbinclude <file-name></h1>
<p><a name="a:5cverbinclude"></a> This command includes the file <file-name> verbatim in the documentation. The command is equivalent to pasting the file in the documentation and placing <a class="el" href="commands.html#cmdverbatim">\verbatim</a> and <a class="el" href="commands.html#cmdendverbatim">\endverbatim</a> commands around it.</p>
<p>Files or directories that doxygen should look for can be specified using the <a class="el" href="config.html#cfg_example_path">EXAMPLE_PATH</a> tag of doxygen's configuration file.</p>
<hr/>
<h1><a class="anchor" id="cmdhtmlinclude"></a>
\htmlinclude <file-name></h1>
<p><a name="a:5chtmlinclude"></a> This command includes the file <file-name> as is in the HTML documentation. The command is equivalent to pasting the file in the documentation and placing <a class="el" href="commands.html#cmdhtmlonly">\htmlonly</a> and <a class="el" href="commands.html#cmdendhtmlonly">\endhtmlonly</a> commands around it.</p>
<p>Files or directories that doxygen should look for can be specified using the <a class="el" href="config.html#cfg_example_path">EXAMPLE_PATH</a> tag of doxygen's configuration file.</p>
<hr/>
<h1><a class="anchor" id="cmdlatexinclude"></a>
\latexinclude <file-name></h1>
<p><a name="a:5clatexinclude"></a> This command includes the file <file-name> as is in the <img class="formulaInl" alt="$\mbox{\LaTeX}$" src="form_0.png"/> documentation. The command is equivalent to pasting the file in the documentation and placing <a class="el" href="commands.html#cmdlatexonly">\latexonly</a> and <a class="el" href="commands.html#cmdendlatexonly">\endlatexonly</a> commands around it.</p>
<p>Files or directories that doxygen should look for can be specified using the <a class="el" href="config.html#cfg_example_path">EXAMPLE_PATH</a> tag of doxygen's configuration file.</p>
<hr/>
<p> </p><center><p> </p><h2> --- Commands for visual enhancements --- </h2>
<p> </p></center><p></p>
<h1><a class="anchor" id="cmda"></a>
\a <word></h1>
<p><a name="a:5ca"></a> Displays the argument <word> in italics. Use this command to emphasize words. Use this command to refer to member arguments in the running text.</p>
<dl class="section user"><dt>Example:</dt><dd><pre class="fragment"> ... the \a x and \a y coordinates are used to ...</pre> This will result in the following text:<br />
<br />
... the <em>x</em> and <em>y</em> coordinates are used to ...</dd></dl>
<p>Equivalent to <a class="el" href="commands.html#cmde">\e</a> and <a class="el" href="commands.html#cmdem">\em</a>. To emphasize multiple words use <em>multiple words</em>.</p>
<hr/>
<h1><a class="anchor" id="cmdarg"></a>
\arg { item-description }</h1>
<p><a name="a:5carg"></a> This command has one argument that continues until the first blank line or until another <code>\arg</code> is encountered. The command can be used to generate a simple, not nested list of arguments. Each argument should start with a <code>\arg</code> command.</p>
<dl class="section user"><dt>Example:</dt><dd>Typing: <pre class="fragment"> \arg \c AlignLeft left alignment.
\arg \c AlignCenter center alignment.
\arg \c AlignRight right alignment
No other types of alignment are supported.</pre> will result in the following text:<br />
<br />
<ul>
<li>
<code>AlignLeft</code> left alignment. </li>
<li>
<code>AlignCenter</code> center alignment. </li>
<li>
<code>AlignRight</code> right alignment </li>
</ul>
<br />
No other types of alignment are supported.</dd></dl>
<dl class="section user"><dt>Note:</dt><dd>For nested lists, HTML commands should be used.</dd></dl>
<p>Equivalent to <a class="el" href="commands.html#cmdli">\li</a></p>
<hr/>
<h1><a class="anchor" id="cmdb"></a>
\b <word></h1>
<p><a name="a:5cb"></a> Displays the argument <word> using a bold font. Equivalent to <b>word</b>. To put multiple words in bold use <b>multiple words</b>.</p>
<hr/>
<h1><a class="anchor" id="cmdc"></a>
\c <word></h1>
<p><a name="a:5cc"></a> Displays the argument <word> using a typewriter font. Use this to refer to a word of code. Equivalent to <tt>word</tt>.</p>
<dl class="section user"><dt>Example:</dt><dd>Typing: <pre class="fragment"> ... This function returns \c void and not \c int ...</pre> will result in the following text:<br />
<br />
... This function returns <code>void</code> and not <code>int</code> ...</dd></dl>
<p>Equivalent to <a class="el" href="commands.html#cmdp">\p</a> To have multiple words in typewriter font use <tt>multiple words</tt>.</p>
<hr/>
<h1><a class="anchor" id="cmdcode"></a>
\code [ '{'<word>'}']</h1>
<p><a name="a:5ccode"></a> Starts a block of code. A code block is treated differently from ordinary text. It is interpreted as source code. The names of classes and members and other documented entities are automatically replaced by links to the documentation.</p>
<p>By default the language that is assumed for syntax highlighting is based on the location where the <code>\code</code> block was found. If this part of a Python file for instance, the syntax highlight will be done according to the Python syntax.</p>
<p>If it unclear from the context which language is meant (for instance the comment is in a <code>.txt</code> or <code>.markdown</code> file) then you can also explicitly indicate the language, by putting the file extension typically that doxygen associated with the language in curly brackets after the code block. Here is an example:</p>
<pre class="fragment"> \code{.py}
class Python:
pass
\endcode
\code{.cpp}
class Cpp {};
\endcode
</pre><p>If the contents of the code block are in a language that doxygen cannot parse, doxygen will just show the output as-is. You can make this explicit using .unparsed, or by giving some other extension that doxygen doesn't support, e.g.</p>
<pre class="fragment"> \code{.unparsed}
Show this as-is please
\endcode
\code{.sh}
echo "This is a shell script"
\endcode
</pre><dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdendcode">\endcode</a> and section <a class="el" href="commands.html#cmdverbatim">\verbatim</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdcopydoc"></a>
\copydoc <link-object></h1>
<p><a name="a:5ccopydoc"></a> Copies a documentation block from the object specified by <link-object> and pastes it at the location of the command. This command can be useful to avoid cases where a documentation block would otherwise have to be duplicated or it can be used to extend the documentation of an inherited member.</p>
<p>The link object can point to a member (of a class, file or group), a class, a namespace, a group, a page, or a file (checked in that order). Note that if the object pointed to is a member (function, variable, typedef, etc), the compound (class, file, or group) containing it should also be documented for the copying to work.</p>
<p>To copy the documentation for a member of a class one can, for instance, put the following in the documentation:</p>
<pre class="fragment"> /*! @copydoc MyClass::myfunction()
* More documentation.
*/
</pre><p>if the member is overloaded, you should specify the argument types explicitly (without spaces!), like in the following:</p>
<pre class="fragment"> //! @copydoc MyClass::myfunction(type1,type2)
</pre><p>Qualified names are only needed if the context in which the documentation block is found requires them.</p>
<p>The <code>\copydoc</code> command can be used recursively, but cycles in the <code>\copydoc</code> relation will be broken and flagged as an error.</p>
<p>Note that <code>\copydoc foo()</code> is roughly equivalent to doing: </p><pre class="fragment"> \brief \copybrief foo()
\details \copydetails foo()
</pre><p> See <a class="el" href="commands.html#cmdcopybrief">\copybrief</a> and <a class="el" href="commands.html#cmdcopydetails">\copydetails</a> for copying only the brief or detailed part of the comment block.</p>
<hr/>
<h1><a class="anchor" id="cmdcopybrief"></a>
\copybrief <link-object></h1>
<p><a name="a:5ccopybrief"></a> Works in a similar way as <a class="el" href="commands.html#cmdcopydoc">\copydoc</a> but will only copy the brief description, not the detailed documentation.</p>
<hr/>
<h1><a class="anchor" id="cmdcopydetails"></a>
\copydetails <link-object></h1>
<p><a name="a:5ccopydetails"></a> Works in a similar way as <a class="el" href="commands.html#cmdcopydoc">\copydoc</a> but will only copy the detailed documentation, not the brief description.</p>
<hr/>
<h1><a class="anchor" id="cmddocbookonly"></a>
\docbookonly</h1>
<p><a name="a:5cdocbookonly"></a> Starts a block of text that will be verbatim included in the generated docbook documentation only. The block ends with a <a class="el" href="commands.html#cmdenddocbookonly">\enddocbookonly</a> command.</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdmanonly">\manonly</a>, <a class="el" href="commands.html#cmdlatexonly">\latexonly</a>, <a class="el" href="commands.html#cmdrtfonly">\rtfonly</a>, <a class="el" href="commands.html#cmdxmlonly">\xmlonly</a>, and <a class="el" href="commands.html#cmdhtmlonly">\htmlonly</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmddot"></a>
\dot ["caption"] [<sizeindication>=<size>]</h1>
<p><a name="a:5cdot"></a> Starts a text fragment which should contain a valid description of a dot graph. The text fragment ends with <a class="el" href="commands.html#cmdenddot">\enddot</a>. Doxygen will pass the text on to dot and include the resulting image (and image map) into the output.</p>
<p>The first argument is optional and can be used to specify the caption that is displayed below the image. This argument has to be specified between quotes even if it does not contain any spaces. The quotes are stripped before the caption is displayed.</p>
<p>The second argument is also optional and can be used to specify the width or height of the image. For a description of the possibilities see the paragraph <a class="el" href="commands.html#image_sizeindicator">Size indication</a> with the <a class="el" href="commands.html#cmdimage">\image</a> command.</p>
<p>The nodes of a graph can be made clickable by using the URL attribute. By using the command <a class="el" href="commands.html#cmdref">\ref</a> inside the URL value you can conveniently link to an item inside doxygen. Here is an example: </p><div class="fragment"><div class="line"><span class="comment">/*! class B */</span></div><div class="line"><span class="keyword">class </span>B {};</div><div class="line"><span class="comment"></span></div><div class="line"><span class="comment">/*! class C */</span></div><div class="line"><span class="keyword">class </span>C {};</div><div class="line"><span class="comment"></span></div><div class="line"><span class="comment">/*! \mainpage</span></div><div class="line"><span class="comment"> </span></div><div class="line"><span class="comment"> * Class relations expressed via an inline dot graph:</span></div><div class="line"><span class="comment"> * \dot</span></div><div class="line"><span class="comment"> * digraph example {</span></div><div class="line"><span class="comment"> * node [shape=record, fontname=Helvetica, fontsize=10];</span></div><div class="line"><span class="comment"> * b [ label="class B" URL="\ref B"];</span></div><div class="line"><span class="comment"> * c [ label="class C" URL="\ref C"];</span></div><div class="line"><span class="comment"> * b -> c [ arrowhead="open", style="dashed" ];</span></div><div class="line"><span class="comment"> * }</span></div><div class="line"><span class="comment"> * \enddot</span></div><div class="line"><span class="comment"> * Note that the classes in the above graph are clickable</span></div><div class="line"><span class="comment"> * (in the HTML output).</span></div><div class="line"><span class="comment"> */</span></div></div><!-- fragment --><hr/>
<h1><a class="anchor" id="cmdmsc"></a>
\msc ["caption"] [<sizeindication>=<size>]</h1>
<p><a name="a:5cmsc"></a> Starts a text fragment which should contain a valid description of a message sequence chart. See <a href="http://www.mcternan.me.uk/mscgen/">http://www.mcternan.me.uk/mscgen/</a> for examples. The text fragment ends with <a class="el" href="commands.html#cmdendmsc">\endmsc</a>.</p>
<p>The first argument is optional and can be used to specify the caption that is displayed below the image. This argument has to be specified between quotes even if it does not contain any spaces. The quotes are stripped before the caption is displayed.</p>
<p>The second argument is also optional and can be used to specify the width or height of the image. For a description of the possibilities see the paragraph <a class="el" href="commands.html#image_sizeindicator">Size indication</a> with the <a class="el" href="commands.html#cmdimage">\image</a> command.</p>
<dl class="section note"><dt>Note</dt><dd>The text fragment should only include the part of the message sequence chart that is within the <code>msc {...}</code> block. </dd>
<dd>
You need to install the <code>mscgen</code> tool, if you want to use this command.</dd></dl>
<p>Here is an example of the use of the <code>\msc</code> command. </p><div class="fragment"><div class="line"><span class="comment">/** Sender class. Can be used to send a command to the server.</span></div><div class="line"><span class="comment"> * The receiver will acknowledge the command by calling Ack().</span></div><div class="line"><span class="comment"> * \msc</span></div><div class="line"><span class="comment"> * Sender,Receiver;</span></div><div class="line"><span class="comment"> * Sender->Receiver [label="Command()", URL="\ref Receiver::Command()"];</span></div><div class="line"><span class="comment"> * Sender<-Receiver [label="Ack()", URL="\ref Ack()", ID="1"];</span></div><div class="line"><span class="comment"> * \endmsc</span></div><div class="line"><span class="comment"> */</span></div><div class="line"><span class="keyword">class </span>Sender</div><div class="line">{</div><div class="line"> <span class="keyword">public</span>:<span class="comment"></span></div><div class="line"><span class="comment"> /** Acknowledgment from server */</span></div><div class="line"> <span class="keywordtype">void</span> Ack(<span class="keywordtype">bool</span> ok);</div><div class="line">};</div><div class="line"><span class="comment"></span></div><div class="line"><span class="comment">/** Receiver class. Can be used to receive and execute commands.</span></div><div class="line"><span class="comment"> * After execution of a command, the receiver will send an acknowledgment</span></div><div class="line"><span class="comment"> * \msc</span></div><div class="line"><span class="comment"> * Receiver,Sender;</span></div><div class="line"><span class="comment"> * Receiver<-Sender [label="Command()", URL="\ref Command()"];</span></div><div class="line"><span class="comment"> * Receiver->Sender [label="Ack()", URL="\ref Sender::Ack()", ID="1"];</span></div><div class="line"><span class="comment"> * \endmsc</span></div><div class="line"><span class="comment"> */</span></div><div class="line"><span class="keyword">class </span>Receiver</div><div class="line">{</div><div class="line"> <span class="keyword">public</span>:<span class="comment"></span></div><div class="line"><span class="comment"> /** Executable a command on the server */</span></div><div class="line"> <span class="keywordtype">void</span> Command(<span class="keywordtype">int</span> commandId);</div><div class="line">};</div></div><!-- fragment --><dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdmscfile">\mscfile</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdstartuml"></a>
\startuml [{file}] ["caption"] [<sizeindication>=<size>]</h1>
<p><a name="a:5cstartuml"></a> Starts a text fragment which should contain a valid description of a PlantUML diagram. See <a href="http://plantuml.sourceforge.net/">http://plantuml.sourceforge.net/</a> for examples. The text fragment ends with <a class="el" href="commands.html#cmdenduml">\enduml</a>. </p><dl class="section note"><dt>Note</dt><dd>You need to install Java and the PlantUML's jar file, if you want to use this command. The location of the jar file should be specified using <a class="el" href="config.html#cfg_plantuml_jar_path">PLANTUML_JAR_PATH</a>.</dd></dl>
<p>The first argument is optional and is for compatibility with running PlantUML as a preprocessing step before running doxygen, you can also add the name of the image file after <code>\startuml</code> and inside curly brackets, i.e. </p><pre class="fragment"> @startuml{myimage.png} "Image Caption" width=5cm
Alice -> Bob : Hello
@enduml</pre><p> When the name of the image is specified, doxygen will generate an image with that name. Without the name doxygen will choose a name automatically.</p>
<p>The second argument is optional and can be used to specify the caption that is displayed below the image. This argument has to be specified between quotes even if it does not contain any spaces. The quotes are stripped before the caption is displayed.</p>
<p>The third argument is also optional and can be used to specify the width or height of the image. For a description of the possibilities see the paragraph <a class="el" href="commands.html#image_sizeindicator">Size indication</a> with the <a class="el" href="commands.html#cmdimage">\image</a> command.</p>
<p>Here is an example of the use of the <code>\startuml</code> command. </p><div class="fragment"><div class="line"><span class="comment">/** Sender class. Can be used to send a command to the server.</span></div><div class="line"><span class="comment"> * The receiver will acknowledge the command by calling Ack().</span></div><div class="line"><span class="comment"> * \startuml</span></div><div class="line"><span class="comment"> * Sender->Receiver : Command()</span></div><div class="line"><span class="comment"> * Sender<--Receiver : Ack()</span></div><div class="line"><span class="comment"> * \enduml</span></div><div class="line"><span class="comment"> */</span></div><div class="line"><span class="keyword">class </span>Sender</div><div class="line">{</div><div class="line"> <span class="keyword">public</span>:<span class="comment"></span></div><div class="line"><span class="comment"> /** Acknowledgment from server */</span></div><div class="line"> <span class="keywordtype">void</span> Ack(<span class="keywordtype">bool</span> ok);</div><div class="line">};</div><div class="line"><span class="comment"></span></div><div class="line"><span class="comment">/** Receiver class. Can be used to receive and execute commands.</span></div><div class="line"><span class="comment"> * After execution of a command, the receiver will send an acknowledgment</span></div><div class="line"><span class="comment"> * \startuml</span></div><div class="line"><span class="comment"> * Receiver<-Sender : Command()</span></div><div class="line"><span class="comment"> * Receiver-->Sender : Ack()</span></div><div class="line"><span class="comment"> * \enduml</span></div><div class="line"><span class="comment"> */</span></div><div class="line"><span class="keyword">class </span>Receiver</div><div class="line">{</div><div class="line"> <span class="keyword">public</span>:<span class="comment"></span></div><div class="line"><span class="comment"> /** Executable a command on the server */</span></div><div class="line"> <span class="keywordtype">void</span> Command(<span class="keywordtype">int</span> commandId);</div><div class="line">};</div></div><!-- fragment --><hr/>
<h1><a class="anchor" id="cmddotfile"></a>
\dotfile <file> ["caption"] [<sizeindication>=<size>]</h1>
<p><a name="a:5cdotfile"></a> Inserts an image generated by dot from <file> into the documentation.</p>
<p>The first argument specifies the file name of the image. doxygen will look for files in the paths (or files) that you specified after the <a class="el" href="config.html#cfg_dotfile_dirs">DOTFILE_DIRS</a> tag. If the dot file is found it will be used as an input file to the dot tool. The resulting image will be put into the correct output directory. If the dot file name contains spaces you'll have to put quotes ("...") around it.</p>
<p>The second argument is optional and can be used to specify the caption that is displayed below the image. This argument has to be specified between quotes even if it does not contain any spaces. The quotes are stripped before the caption is displayed.</p>
<p>The third argument is also optional and can be used to specify the width or height of the image. For a description of the possibilities see the paragraph <a class="el" href="commands.html#image_sizeindicator">Size indication</a> with the <a class="el" href="commands.html#cmdimage">\image</a> command.</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmddot">\dot</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdmscfile"></a>
\mscfile <file> ["caption"] [<sizeindication>=<size>]</h1>
<p><a name="a:5cmscfile"></a> Inserts an image generated by mscgen from <file> into the documentation. See <a href="http://www.mcternan.me.uk/mscgen/">http://www.mcternan.me.uk/mscgen/</a> for examples.</p>
<p>The first argument specifies the file name of the image. doxygen will look for files in the paths (or files) that you specified after the <a class="el" href="config.html#cfg_mscfile_dirs">MSCFILE_DIRS</a> tag. If the msc file is found it will be used as an input file to the mscgen tool. The resulting image will be put into the correct output directory. If the msc file name contains spaces you'll have to put quotes ("...") around it.</p>
<p>The second argument is optional and can be used to specify the caption that is displayed below the image. This argument has to be specified between quotes even if it does not contain any spaces. The quotes are stripped before the caption is displayed.</p>
<p>The third argument is also optional and can be used to specify the width or height of the image. For a description of the possibilities see the paragraph <a class="el" href="commands.html#image_sizeindicator">Size indication</a> with the <a class="el" href="commands.html#cmdimage">\image</a> command.</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdmsc">\msc</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmddiafile"></a>
\diafile <file> ["caption"] [<sizeindication>=<size>]</h1>
<p><a name="a:5cdiafile"></a> Inserts an image made in dia from <file> into the documentation.</p>
<p>The first argument specifies the file name of the image. doxygen will look for files in the paths (or files) that you specified after the <a class="el" href="config.html#cfg_diafile_dirs">DIAFILE_DIRS</a> tag. If the dia file is found it will be used as an input file dia. The resulting image will be put into the correct output directory. If the dia file name contains spaces you'll have to put quotes ("...") around it.</p>
<p>The second argument is optional and can be used to specify the caption that is displayed below the image. This argument has to be specified between quotes even if it does not contain any spaces. The quotes are stripped before the caption is displayed.</p>
<p>The third argument is also optional and can be used to specify the width or height of the image. For a description of the possibilities see the paragraph <a class="el" href="commands.html#image_sizeindicator">Size indication</a> with the <a class="el" href="commands.html#cmdimage">\image</a> command.</p>
<hr/>
<h1><a class="anchor" id="cmde"></a>
\e <word></h1>
<p><a name="a:5ce"></a> Displays the argument <word> in italics. Use this command to emphasize words.</p>
<dl class="section user"><dt>Example:</dt><dd>Typing: <pre class="fragment"> ... this is a \e really good example ...</pre> will result in the following text:<br />
<br />
... this is a <em>really</em> good example ...</dd></dl>
<p>Equivalent to <a class="el" href="commands.html#cmda">\a</a> and <a class="el" href="commands.html#cmdem">\em</a>. To emphasize multiple words use <em>multiple words</em>.</p>
<hr/>
<h1><a class="anchor" id="cmdem"></a>
\em <word></h1>
<p><a name="a:5cem"></a> Displays the argument <word> in italics. Use this command to emphasize words.</p>
<dl class="section user"><dt>Example:</dt><dd>Typing: <pre class="fragment"> ... this is a \em really good example ...</pre> will result in the following text:<br />
<br />
... this is a <em>really</em> good example ...</dd></dl>
<p>Equivalent to <a class="el" href="commands.html#cmda">\a</a> and <a class="el" href="commands.html#cmde">\e</a>. To emphasize multiple words use <em>multiple words</em>.</p>
<hr/>
<h1><a class="anchor" id="cmdendcode"></a>
\endcode</h1>
<p><a name="a:5cendcode"></a> Ends a block of code. </p><dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdcode">\code</a></dd></dl>
<hr/>
<h1><a class="anchor" id="cmdenddocbookonly"></a>
\enddocbookonly</h1>
<p><a name="a:5cenddocbookonly"></a> Ends a block of text that was started with a <a class="el" href="commands.html#cmddocbookonly">\docbookonly</a> command.</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmddocbookonly">\docbookonly</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdenddot"></a>
\enddot</h1>
<p><a name="a:5cenddot"></a> Ends a block that was started with <a class="el" href="commands.html#cmddot">\dot</a>.</p>
<hr/>
<h1><a class="anchor" id="cmdendmsc"></a>
\endmsc</h1>
<p><a name="a:5cendmsc"></a> Ends a block that was started with <a class="el" href="commands.html#cmdmsc">\msc</a>.</p>
<hr/>
<h1><a class="anchor" id="cmdenduml"></a>
\enduml</h1>
<p><a name="a:5cenduml"></a> Ends a block that was started with <a class="el" href="commands.html#cmdstartuml">\startuml</a>.</p>
<hr/>
<h1><a class="anchor" id="cmdendhtmlonly"></a>
\endhtmlonly</h1>
<p><a name="a:5cendhtmlonly"></a> Ends a block of text that was started with a <a class="el" href="commands.html#cmdhtmlonly">\htmlonly</a> command.</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdhtmlonly">\htmlonly</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdendlatexonly"></a>
\endlatexonly</h1>
<p><a name="a:5cendlatexonly"></a> Ends a block of text that was started with a <a class="el" href="commands.html#cmdlatexonly">\latexonly</a> command.</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdlatexonly">\latexonly</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdendmanonly"></a>
\endmanonly</h1>
<p><a name="a:5cendmanonly"></a> Ends a block of text that was started with a <a class="el" href="commands.html#cmdmanonly">\manonly</a> command.</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdmanonly">\manonly</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdendrtfonly"></a>
\endrtfonly</h1>
<p><a name="a:5cendrtfonly"></a> Ends a block of text that was started with a <a class="el" href="commands.html#cmdrtfonly">\rtfonly</a> command.</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdrtfonly">\rtfonly</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdendverbatim"></a>
\endverbatim</h1>
<p><a name="a:5cendverbatim"></a> Ends a block of text that was started with a <a class="el" href="commands.html#cmdverbatim">\verbatim</a> command.</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdverbatim">\verbatim</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdendxmlonly"></a>
\endxmlonly</h1>
<p><a name="a:5cendxmlonly"></a> Ends a block of text that was started with a <a class="el" href="commands.html#cmdxmlonly">\xmlonly</a> command.</p>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdxmlonly">\xmlonly</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdfdollar"></a>
\f$</h1>
<p><a name="a:5cf:24"></a></p>
<p>Marks the start and end of an in-text formula. </p><dl class="section see"><dt>See also</dt><dd>section <a class="el" href="formulas.html">formulas</a> for an example.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdfbropen"></a>
\f[</h1>
<p><a name="a:5cf:5b"></a></p>
<p>Marks the start of a long formula that is displayed centered on a separate line. </p><dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdfbrclose">\f]</a> and section <a class="el" href="formulas.html">formulas</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdfbrclose"></a>
\f]</h1>
<p><a name="a:5cf:5d"></a></p>
<p>Marks the end of a long formula that is displayed centered on a separate line. </p><dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdfbropen">\f[</a> and section <a class="el" href="formulas.html">formulas</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdfcurlyopen"></a>
\f{environment}{</h1>
<p><a name="a:5cf:7b"></a></p>
<p>Marks the start of a formula that is in a specific environment. </p><dl class="section note"><dt>Note</dt><dd>The second <code>{</code> is optional and is only to help editors (such as <code>Vim</code>) to do proper syntax highlighting by making the number of opening and closing braces the same. </dd></dl>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdfcurlyclose">\f}</a> and section <a class="el" href="formulas.html">formulas</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdfcurlyclose"></a>
\f}</h1>
<p><a name="a:5cf:7d"></a></p>
<p>Marks the end of a formula that is in a specific environment. </p><dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdfcurlyopen">\f{</a> and section <a class="el" href="formulas.html">formulas</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdhtmlonly"></a>
\htmlonly ["[block]"]</h1>
<p><a name="a:5chtmlonly"></a> Starts a block of text that will be verbatim included in the generated HTML documentation only. The block ends with a <a class="el" href="commands.html#cmdendhtmlonly">\endhtmlonly</a> command.</p>
<p>This command can be used to include HTML code that is too complex for doxygen (i.e. applets, java-scripts, and HTML tags that require specific attributes).</p>
<p>Normally the contents between <a class="el" href="commands.html#cmdhtmlonly">\htmlonly</a> and <a class="el" href="commands.html#cmdendhtmlonly">\endhtmlonly</a> is inserted as-is. When you want to insert a HTML fragment that has block scope like a table or list which should appear outside <p>..</p>, this can lead to invalid HTML. You can use \htmlonly[block] to make doxygen end the current paragraph and restart it after \endhtmlonly.</p>
<dl class="section note"><dt>Note</dt><dd>environment variables (like $(HOME) ) are resolved inside a HTML-only block.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>section <a class="el" href="commands.html#cmdmanonly">\manonly</a>, <a class="el" href="commands.html#cmdlatexonly">\latexonly</a>, <a class="el" href="commands.html#cmdrtfonly">\rtfonly</a>, <a class="el" href="commands.html#cmdxmlonly">\xmlonly</a>, and <a class="el" href="commands.html#cmddocbookonly">\docbookonly</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdimage"></a>
\image <format> <file> ["caption"] [<sizeindication>=<size>]</h1>
<p><a name="a:5cimage"></a> Inserts an image into the documentation. This command is format specific, so if you want to insert an image for more than one format you'll have to repeat this command for each format.</p>
<p>The first argument specifies the output format in which the image should be embedded. Currently, the following values are supported: <code>html</code>, <code>latex</code>, <code>docbook</code> and <code>rtf</code>.</p>
<p>The second argument specifies the file name of the image. doxygen will look for files in the paths (or files) that you specified after the <a class="el" href="config.html#cfg_image_path">IMAGE_PATH</a> tag. If the image is found it will be copied to the correct output directory. If the image name contains spaces you'll have to put quotes ("...") around the name. You can also specify an absolute URL instead of a file name, but then doxygen does not copy the image nor check its existence.</p>
<p>The third argument is optional and can be used to specify the caption that is displayed below the image. This argument has to be specified on a single line and between quotes even if it does not contain any spaces. The quotes are stripped before the caption is displayed.</p>
<p>The fourth argument is also optional and can be used to specify the width or height of the image. This can be useful for <img class="formulaInl" alt="$\mbox{\LaTeX}$" src="form_0.png"/> or docbook output (i.e. format=<code>latex</code> or format=<code>docbook</code>). <a class="anchor" id="image_sizeindicator"></a></p><dl class="section user"><dt>Size indication</dt><dd>The <code>sizeindication</code> can specify the width or height to be used (or a combination). The size specifier in <img class="formulaInl" alt="$\mbox{\LaTeX}$" src="form_0.png"/> (for example <code>10cm</code> or <code>4in</code> or a symbolic width like <code>\\textwidth</code>).</dd></dl>
<p>Here is example of a comment block:</p>
<pre class="fragment"> /*! Here is a snapshot of my new application:
* \image html application.jpg
* \image latex application.eps "My application" width=10cm
*/
</pre><p>And this is an example of how the relevant part of the configuration file may look:</p>
<pre class="fragment"> IMAGE_PATH = my_image_dir
</pre><dl class="section warning"><dt>Warning</dt><dd>The image format for HTML is limited to what your browser supports. For <img class="formulaInl" alt="$\mbox{\LaTeX}$" src="form_0.png"/>, the image format must be Encapsulated PostScript (eps). <br />
<br />
Doxygen does not check if the image is in the correct format. So <em>you</em> have to make sure this is the case!</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdlatexonly"></a>
\latexonly</h1>
<p><a name="a:5clatexonly"></a> Starts a block of text that will be verbatim included in the generated <img class="formulaInl" alt="$\mbox{\LaTeX}$" src="form_0.png"/> documentation only. The block ends with a <a class="el" href="commands.html#cmdendlatexonly">\endlatexonly</a> command.</p>
<p>This command can be used to include <img class="formulaInl" alt="$\mbox{\LaTeX}$" src="form_0.png"/> code that is too complex for doxygen (i.e. images, formulas, special characters). You can use the <a class="el" href="commands.html#cmdhtmlonly">\htmlonly</a> and <a class="el" href="commands.html#cmdendhtmlonly">\endhtmlonly</a> pair to provide a proper HTML alternative.</p>
<p><b>Note:</b> environment variables (like $(HOME) ) are resolved inside a <img class="formulaInl" alt="$\mbox{\LaTeX}$" src="form_0.png"/>-only block.</p>
<dl class="section see"><dt>See also</dt><dd>sections <a class="el" href="commands.html#cmdrtfonly">\rtfonly</a>, <a class="el" href="commands.html#cmdxmlonly">\xmlonly</a>, <a class="el" href="commands.html#cmdmanonly">\manonly</a>, <a class="el" href="commands.html#cmdhtmlonly">\htmlonly</a>, and <a class="el" href="commands.html#cmdhtmlonly">\docbookonly</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdmanonly"></a>
\manonly</h1>
<p><a name="a:5cmanonly"></a> Starts a block of text that will be verbatim included in the generated MAN documentation only. The block ends with a <a class="el" href="commands.html#cmdendmanonly">\endmanonly</a> command.</p>
<p>This command can be used to include groff code directly into MAN pages. You can use the <a class="el" href="commands.html#cmdhtmlonly">\htmlonly</a> and <a class="el" href="commands.html#cmdendhtmlonly">\endhtmlonly</a> and <a class="el" href="commands.html#cmdlatexonly">\latexonly</a> and <a class="el" href="commands.html#cmdendlatexonly">\endlatexonly</a> pairs to provide proper HTML and <img class="formulaInl" alt="$\mbox{\LaTeX}$" src="form_0.png"/> alternatives.</p>
<dl class="section see"><dt>See also</dt><dd>sections <a class="el" href="commands.html#cmdhtmlonly">\htmlonly</a>, <a class="el" href="commands.html#cmdxmlonly">\xmlonly</a>, <a class="el" href="commands.html#cmdrtfonly">\rtfonly</a>, <a class="el" href="commands.html#cmdlatexonly">\latexonly</a>, and <a class="el" href="commands.html#cmddocbookonly">\docbookonly</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdli"></a>
\li { item-description }</h1>
<p><a name="a:5cli"></a> This command has one argument that continues until the first blank line or until another <code>\li</code> is encountered. The command can be used to generate a simple, not nested list of arguments. Each argument should start with a <code>\li</code> command.</p>
<dl class="section user"><dt>Example:</dt><dd>Typing: <pre class="fragment"> \li \c AlignLeft left alignment.
\li \c AlignCenter center alignment.
\li \c AlignRight right alignment
No other types of alignment are supported.</pre> will result in the following text:<br />
<br />
<ul>
<li>
<code>AlignLeft</code> left alignment. </li>
<li>
<code>AlignCenter</code> center alignment. </li>
<li>
<code>AlignRight</code> right alignment </li>
</ul>
<br />
No other types of alignment are supported.</dd></dl>
<dl class="section user"><dt>Note:</dt><dd>For nested lists, HTML commands should be used.</dd></dl>
<p>Equivalent to <a class="el" href="commands.html#cmdarg">\arg</a></p>
<hr/>
<h1><a class="anchor" id="cmdn"></a>
\n</h1>
<p><a name="a:5cn"></a> Forces a new line. Equivalent to <br> and inspired by the <code>printf</code> function.</p>
<hr/>
<h1><a class="anchor" id="cmdp"></a>
\p <word></h1>
<p><a name="a:5cp"></a> Displays the parameter <word> using a typewriter font. You can use this command to refer to member function parameters in the running text.</p>
<dl class="section user"><dt>Example:</dt><dd><pre class="fragment"> ... the \p x and \p y coordinates are used to ...</pre> This will result in the following text:<br />
<br />
... the <code>x</code> and <code>y</code> coordinates are used to ...</dd></dl>
<p>Equivalent to <a class="el" href="commands.html#cmdc">\c</a> To have multiple words in typewriter font use <tt>multiple words</tt>.</p>
<hr/>
<h1><a class="anchor" id="cmdrtfonly"></a>
\rtfonly</h1>
<p><a name="a:5crtfonly"></a> Starts a block of text that will be verbatim included in the generated RTF documentation only. The block ends with a <a class="el" href="commands.html#cmdendrtfonly">\endrtfonly</a> command.</p>
<p>This command can be used to include RTF code that is too complex for doxygen.</p>
<p><b>Note:</b> environment variables (like $(HOME) ) are resolved inside a RTF-only block.</p>
<dl class="section see"><dt>See also</dt><dd>sections <a class="el" href="commands.html#cmdmanonly">\manonly</a>, <a class="el" href="commands.html#cmdxmlonly">\xmlonly</a>, <a class="el" href="commands.html#cmdlatexonly">\latexonly</a>, <a class="el" href="commands.html#cmdhtmlonly">\htmlonly</a>, and <a class="el" href="commands.html#cmddocbookonly">\docbookonly</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdverbatim"></a>
\verbatim</h1>
<p><a name="a:5cverbatim"></a> Starts a block of text that will be verbatim included in the documentation. The block should end with a <a class="el" href="commands.html#cmdendverbatim">\endverbatim</a> command. All commands are disabled in a verbatim block.</p>
<dl class="section warning"><dt>Warning</dt><dd>Make sure you include a <a class="el" href="commands.html#cmdendverbatim">\endverbatim</a> command for each <code>\verbatim</code> command or the parser will get confused!</dd></dl>
<dl class="section see"><dt>See also</dt><dd>sections <a class="el" href="commands.html#cmdcode">\code</a>, <a class="el" href="commands.html#cmdendverbatim">\endverbatim</a> and <a class="el" href="commands.html#cmdverbinclude">\verbinclude</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdxmlonly"></a>
\xmlonly</h1>
<p><a name="a:5cxmlonly"></a> Starts a block of text that will be verbatim included in the generated XML output only. The block ends with a <a class="el" href="commands.html#cmdendxmlonly">\endxmlonly</a> command.</p>
<p>This command can be used to include custom XML tags.</p>
<dl class="section see"><dt>See also</dt><dd>sections <a class="el" href="commands.html#cmdmanonly">\manonly</a>, <a class="el" href="commands.html#cmdrtfonly">\rtfonly</a>, <a class="el" href="commands.html#cmdlatexonly">\latexonly</a>, <a class="el" href="commands.html#cmdhtmlonly">\htmlonly</a>, and <a class="el" href="commands.html#cmddocbookonly">\docbookonly</a>.</dd></dl>
<hr/>
<h1><a class="anchor" id="cmdbackslash"></a>
\\</h1>
<p><a name="a:5c:5c"></a> This command writes a backslash character (<code>\</code>) to the output. The backslash has to be escaped in some cases because doxygen uses it to detect commands.</p>
<hr/>
<h1><a class="anchor" id="cmdat"></a>
\@</h1>
<p><a name="a:5c:40"></a> This command writes an at-sign (<code>@</code>) to the output. The at-sign has to be escaped in some cases because doxygen uses it to detect JavaDoc commands.</p>
<hr/>
<h1><a class="anchor" id="cmdtilde"></a>
\~[LanguageId]</h1>
<p><a name="a:5c:7e"></a> This command enables/disables a language specific filter. This can be used to put documentation for different language into one comment block and use the <a class="el" href="config.html#cfg_output_language">OUTPUT_LANGUAGE</a> tag to filter out only a specific language. Use <code>\~language_id</code> to enable output for a specific language only and <code>\~</code> to enable output for all languages (this is also the default mode).</p>
<p>Example: </p><pre class="fragment">/*! \~english This is English \~dutch Dit is Nederlands \~german Dies ist
Deutsch. \~ output for all languages.
*/
</pre><hr/>
<h1><a class="anchor" id="cmdamp"></a>
\&</h1>
<p><a name="a:5c:26"></a> This command writes the <code>&</code> character to the output. This character has to be escaped because it has a special meaning in HTML.</p>
<hr/>
<h1><a class="anchor" id="cmddollar"></a>
\$</h1>
<p><a name="a:5c:24"></a> This command writes the <code>$</code> character to the output. This character has to be escaped in some cases, because it is used to expand environment variables.</p>
<hr/>
<h1><a class="anchor" id="cmdhash"></a>
\#</h1>
<p><a name="a:5c:23"></a> This command writes the <code>#</code> character to the output. This character has to be escaped in some cases, because it is used to refer to documented entities.</p>
<hr/>
<h1><a class="anchor" id="cmdlt"></a>
\<</h1>
<p><a name="a:5c:3c"></a> This command writes the <code><</code> character to the output. This character has to be escaped because it has a special meaning in HTML.</p>
<hr/>
<h1><a class="anchor" id="cmdgt"></a>
\></h1>
<p><a name="a:5c:3e"></a> This command writes the <code>></code> character to the output. This character has to be escaped because it has a special meaning in HTML.</p>
<hr/>
<h1><a class="anchor" id="cmdperc"></a>
\%</h1>
<p><a name="a:5c:25"></a> This command writes the <code>%</code> character to the output. This character has to be escaped in some cases, because it is used to prevent auto-linking to word that is also a documented class or struct.</p>
<hr/>
<h1><a class="anchor" id="cmdquot"></a>
\"</h1>
<p><a name="a:5c:22"></a> This command writes the <code>"</code> character to the output. This character has to be escaped in some cases, because it is used in pairs to indicate an unformatted text fragment.</p>
<hr/>
<h1><a class="anchor" id="cmdchardot"></a>
\.</h1>
<p><a name="a:5c."></a> This command writes a dot (<code>.</code>) to the output. This can be useful to prevent ending a brief description when <a class="el" href="config.html#cfg_javadoc_autobrief">JAVADOC_AUTOBRIEF</a> is enabled or to prevent starting a numbered list when the dot follows a number at the start of a line.</p>
<hr/>
<h1><a class="anchor" id="cmddcolon"></a>
\::</h1>
<p><a name="a:5c:3a:3a"></a> This command writes a double colon (<code>::</code>) to the output. This character sequence has to be escaped in some cases, because it is used to reference to documented entities.</p>
<hr/>
<h1><a class="anchor" id="cmdpipe"></a>
\|</h1>
<p><a name="a:5c:7c"></a> This command writes a pipe symbol (|) to the output. This character has to be escaped in some cases, because it is used for Markdown tables.</p>
<hr/>
<h1><a class="anchor" id="cmdndash"></a>
\--</h1>
<p><a name="a:5c--"></a> This command writes two dashes (--) to the output. This allows writing two consecutive dashes to the output instead of one n-dash character (–).</p>
<hr/>
<h1><a class="anchor" id="cmdmdash"></a>
\---</h1>
<p><a name="a:5c---"></a> This command writes three dashes (---) to the output. This allows writing three consecutive dashes to the output instead of one m-dash character (—).</p>
<hr/>
<p> </p><center><p> </p><h2> --- Commands included for Qt compatibility --- </h2>
<p> </p></center><p></p>
<p>The following commands are supported to remain compatible to the Qt class browser generator. Do <em>not</em> use these commands in your own documentation. </p><ul>
<li>
\annotatedclasslist </li>
<li>
\classhierarchy </li>
<li>
\define </li>
<li>
\functionindex </li>
<li>
\header </li>
<li>
\headerfilelist </li>
<li>
\inherit </li>
<li>
\l </li>
<li>
\postheader </li>
</ul>
<hr/>
<p>
</p>
Go to the <a href="htmlcmds.html">next</a> section or return to the
<a href="index.html">index</a>.
<p>
</p>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
</div>
</body>
</html>
|