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 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<fpdoc-descriptions>
<package name="fcl">
<!--
====================================================================
IniFiles
====================================================================
-->
<module name="IniFiles">
<short>Ini files support</short>
<descr>
<p><file>IniFiles</file> provides support for handling <file>.ini</file> files.
It contains an implementation completely independent of the Windows API for
handling such files. The basic (abstract) functionality is defined in
<link id="TCustomInifile"/> and is implemented in <link id="TIniFile"/> and
<link id="TMemIniFile"/>. The API presented by these components is Delphi
compatible.</p>
</descr>
<!-- unresolved type reference Visibility: default -->
<element name="classes">
<short>Stream and stringlist support</short>
</element>
<!-- unresolved type reference Visibility: default -->
<element name="sysutils">
<short>Exception and formatting routines</short>
</element>
<!--
********************************************************************
#fcl.IniFiles.TIniFileKey
********************************************************************
-->
<!-- object Visibility: default -->
<element name="TIniFileKey">
<short>Object representing a key=value pair in the ini file.</short>
<descr>
<var>TIniFileKey</var> is used to keep the key/value pairs in the ini file
in memory. It is an internal structure, used internally by the <link
id="TIniFile"/> class.
</descr>
<seealso>
<link id="TIniFile"/>
</seealso>
</element>
<!-- constructor Visibility: public -->
<element name="TIniFileKey.Create">
<short>Create a new instance of <var>TIniFileKey</var></short>
<descr>
<var>Create</var> instantiates a new instance of <var>TIniFileKey</var> on
the heap. It fills <link id="TIniFileKey.Ident">Ident</link> with
<var>AIdent</var> and <link id="TIniFileKey.Value">Value</link> with
<var>AValue</var>.
</descr>
<seealso>
<link id="TIniFileKey.Ident">Ident</link>
<link id="TIniFileKey.Value">Value</link>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TIniFileKey.Create.AIdent">
<short>Key name</short>
</element>
<!-- argument Visibility: default -->
<element name="TIniFileKey.Create.AValue">
<short>Key value</short>
</element>
<!-- property Visibility: public -->
<element name="TIniFileKey.Ident">
<short>Key name</short>
<descr>
<var>Ident</var> is the key value part of the key/value pair.
</descr>
<seealso>
<link id="TIniFileKey.Value">Value</link>
</seealso>
</element>
<!-- property Visibility: public -->
<element name="TIniFileKey.Value">
<short>Key value</short>
<descr>
<var>Value</var> is the value part of the key/value pair.
</descr>
<seealso>
<link id="TIniFileKey.Ident">Ident</link>
</seealso>
</element>
<!--
********************************************************************
#fcl.IniFiles.TIniFileKeyList
********************************************************************
-->
<!-- object Visibility: default -->
<element name="TIniFileKeyList">
<short>Key list object</short>
<descr>
<var>TIniFileKeyList</var> maintains a list of <link id="TIniFileKey"/>
instances on behalf of the <link id="TIniFileSection"/> class. It stores
they keys of one section of the .ini files.
</descr>
<seealso>
<link id="TIniFileKey"/>
<link id="TIniFileSection"/>
</seealso>
</element>
<!-- destructor Visibility: public -->
<element name="TIniFileKeyList.Destroy">
<short>Free the instance</short>
<descr>
<var>Destroy</var> clears up the list using <link
id="TIniFileKeyList.Clear">Clear</link> and then calls the inherited destroy.
</descr>
<seealso>
<link id="TIniFileKeyList.Clear">Clear</link>
</seealso>
</element>
<!-- procedure Visibility: public -->
<element name="TIniFileKeyList.Clear">
<short>Clear the list</short>
<descr>
<var>Clear</var> removes all <link id="TIniFileKey"/> instances from the
list, and frees the instances.
</descr>
<seealso>
<link id="TIniFileKey"/>
</seealso>
</element>
<!-- property Visibility: public -->
<element name="TIniFileKeyList.Items">
<short>Indexed access to <var>TIniFileKey</var> items in the list</short>
<descr>
<var>Items</var> provides indexed access to the <link id="TIniFileKey"/>
items in the list. The index is zero-based and runs from 0 to
<var>Count-1</var>.
</descr>
<seealso>
<link id="TIniFileKey"/>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TIniFileKeyList.Items.Index">
<short>Index of item to retrieve.</short>
</element>
<!--
********************************************************************
#fcl.IniFiles.TIniFileSection
********************************************************************
-->
<!-- object Visibility: default -->
<element name="TIniFileSection">
<short>Ini file section object</short>
<descr>
<var>TIniFileSection</var> is a class which represents a section in the
<file>.ini</file>, and is used internally by the <link id="TIniFile"/>
class (one instance of <var>TIniFileSection</var> is created for each
section in the file by the <link id="TIniFileSectionList"/> list).
The name of the section is stored in the <link id="TIniFileSection.Name">Name</link> property, and the key/value pairs in
this section are available in the <link
id="TIniFileSection.KeyList">KeyList</link> property.
</descr>
<seealso>
<link id="TIniFileKeyList"/>
<link id="TIniFile"/>
<link id="TIniFileSectionList"/>
</seealso>
</element>
<!-- constructor Visibility: public -->
<element name="TIniFileSection.Create">
<short>Create a new section object</short>
<descr>
<var>Create</var> instantiates a new <var>TIniFileSection</var> class, and
sets the name to <var>AName</var>. It allocates a <link
id="TIniFileKeyList"/> instance to keep all the key/value pairs for this
section.
</descr>
<seealso>
<link id="TIniFileKeyList"/>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TIniFileSection.Create.AName">
<short>Name for the section</short>
</element>
<!-- destructor Visibility: public -->
<element name="TIniFileSection.Destroy">
<short>Free the section object from memory</short>
<descr>
<var>Destroy</var> cleans up the key list, and then calls the inherited
<var>Destroy</var>, removing the <var>TIniFileSection</var> instance
from memory.
</descr>
<seealso>
<link id="TIniFileSection.Create">Create</link>
<link id="TIniFileKeyList"/>
</seealso>
</element>
<!-- property Visibility: public -->
<element name="TIniFileSection.Name">
<short>Name of the section</short>
<descr>
<var>Name</var> is the name of the section in the file.
</descr>
<seealso>
<link id="TIniFileSection.KeyList"/>
</seealso>
</element>
<!-- property Visibility: public -->
<element name="TIniFileSection.KeyList">
<short>List of key/value pairs in this section</short>
<descr>
<var>KeyList</var> is the <link id="TIniFileKeyList"/> instance that is used
by the <var>TIniFileSection</var> to keep the key/value pairs of the
section.
</descr>
<seealso>
<link id="TIniFileSection.Name"/>
<link id="TIniFileKeyList"/>
</seealso>
</element>
<element name="TIniFileSection.Empty">
<short>Is the section empty</short>
<descr>
<var>Empty</var> returns <var>True</var> if the section contains no key
values (even if they are empty). It may contain comments.
</descr>
</element>
<!--
********************************************************************
#fcl.IniFiles.TIniFileSectionList
********************************************************************
-->
<!-- object Visibility: default -->
<element name="TIniFileSectionList">
<short>Section objects list</short>
<descr>
<var>TIniFileSectionList</var> maintains a list of <link
id="TIniFileSection"/> instances, one for each section in an .ini file.
<var>TIniFileSectionList</var> is used internally by the <link
id="TIniFile"/> class to represent the sections in the file.
</descr>
<seealso>
<link id="TIniFileSection"/>
<link id="TIniFile"/>
</seealso>
</element>
<!-- destructor Visibility: public -->
<element name="TIniFileSectionList.Destroy">
<short>Free the object from memory</short>
<descr>
<var>Destroy</var> calls <link id="TIniFileSectionList.Clear">Clear</link>
to clear the section list and the calls the inherited <var>Destroy</var>
</descr>
<seealso>
<link id="TIniFileSectionList.Clear">Clear</link>
</seealso>
</element>
<!-- procedure Visibility: public -->
<element name="TIniFileSectionList.Clear">
<short>Clear the list</short>
<descr>
<var>Clear</var> removes all <link id="TIniFileSection"/> items from the
list, and frees the items it removes from the list.
</descr>
<seealso>
<link id="TIniFileSection"/>
<link id="TIniFileSectionList.Items"/>
</seealso>
</element>
<!-- property Visibility: public -->
<element name="TIniFileSectionList.Items">
<short>Indexed access to all the section objects in the list</short>
<descr>
<var>Items</var> provides indexed access to all the section objects in the
list. <var>Index</var> should run from 0 to <var>Count-1</var>.
</descr>
<seealso>
<link id="TIniFileSection"/>
<link id="TIniFileSectionList.Clear"/>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TIniFileSectionList.Items.Index">
<short>Index of section object to retrieve</short>
</element>
<!--
********************************************************************
#fcl.IniFiles.TCustomIniFile
********************************************************************
-->
<!-- object Visibility: default -->
<element name="TCustomIniFile">
<short>Abstract ini file object</short>
<descr>
<p>
<var>TCustomIniFile</var> implements all calls for manipulating a
<file>.ini</file>. It does not implement any of this behaviour, the
behaviour must be implemented in a descendent class like <link
id="TIniFile"/> or <link id="TMemIniFile"/>.
</p>
<p>
Since <var>TCustomIniFile</var> is an abstract class, it should never
be created directly. Instead, one of the <var>TIniFile</var> or
<var>TMemIniFile</var> classes should be created.
</p>
</descr>
<seealso>
<link id="TIniFile"/>
<link id="TMemIniFile"/>
</seealso>
</element>
<!-- constructor Visibility: public -->
<element name="TCustomIniFile.Create">
<short>Instantiate a new instance of <var>TCustomIniFile</var>.</short>
<descr>
<p>
<var>Create</var> creates a new instance of <var>TCustomIniFile</var> and
loads it with the data from <var>AFileName</var>, if this file exists.
If the <var>AEscapeLineFeeds</var> parameter is <var>True</var>, then lines
which have their end-of-line markers escaped with a backslash, will be
concatenated. This means that the following 2 lines
</p>
<pre>
Description=This is a \
line with a long text
</pre>
<p>
is equivalent to
</p>
<pre>
Description=This is a line with a long text
</pre>
<p>
By default, not escaping of linefeeds is performed (for Delphi
compatibility)
</p>
</descr>
<errors>
If the file cannot be read, an exception may be raised.
</errors>
<seealso>
<link id="TCustomIniFile.Destroy">Destroy</link>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.Create.AFileName">
<short>Filename to read</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.Create.AEscapeLineFeeds">
<short>Should escaping of linefeeds be enabled ?</short>
</element>
<!-- destructor Visibility: public -->
<element name="TCustomIniFile.Destroy">
<short>Remove the <var>TCustomIniFile</var> instance from memory</short>
<descr>
<var>Destroy</var> cleans up all internal structures and then calls the
inherited <var>Destroy</var>.
</descr>
<seealso>
<link id="TCustomIniFile"/>
</seealso>
</element>
<!-- function Visibility: public -->
<element name="TCustomIniFile.SectionExists">
<short>Check if a section exists.</short>
<descr>
<var>SectionExists</var> returns <var>True</var> if a section with name
<var>Section</var> exists, and contains keys. (comments are not considered
keys)
</descr>
<seealso>
<link id="TCustomIniFile.ValueExists"/>
</seealso>
</element>
<!-- function result Visibility: default -->
<element name="TCustomIniFile.SectionExists.Result">
<short><var>True</var> if a section named <var>Section</var> exists and is
non-empty.</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.SectionExists.Section">
<short>Name of the section</short>
</element>
<!-- function Visibility: public -->
<element name="TCustomIniFile.ReadString">
<short>Read a string valued key</short>
<descr>
<var>ReadString</var> reads the key <var>Ident</var> in section <var>Section</var>,
and returns the value as a string. If the specified key or section do not exist,
then the value in <var>Default</var> is returned. Note that if the key
exists, but is empty, an empty string will be returned.
</descr>
<seealso>
<link id="TCustomIniFile.WriteString">WriteString</link>
<link id="TCustomIniFile.ReadInteger">ReadInteger</link>
<link id="TCustomIniFile.ReadBool">ReadBool</link>
<link id="TCustomIniFile.ReadDate">ReadDate</link>
<link id="TCustomIniFile.ReadDateTime">ReadDateTime</link>
<link id="TCustomIniFile.ReadTime">ReadTime</link>
<link id="TCustomIniFile.ReadFloat">ReadFloat</link>
<link id="TCustomIniFile.ReadBinaryStream">ReadBinaryStream</link>
</seealso>
</element>
<!-- function result Visibility: default -->
<element name="TCustomIniFile.ReadString.Result">
<short>Value of <var>Ident</var> as a string.</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadString.Section">
<short>Section to read <var>Ident</var> from</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadString.Ident">
<short>Name of key to retrieve value from</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadString.Default">
<short>Default value to return when the key <var>Ident</var> does not exist.</short>
</element>
<!-- procedure Visibility: public -->
<element name="TCustomIniFile.WriteString">
<short>Write a string value</short>
<descr>
<p>
<var>WriteString</var> writes the string <var>Value</var> with the name
<var>Ident</var> to the section <var>Section</var>, overwriting any previous
value that may exist there. The section will be created if it does not
exist.
</p>
<p>
Note that it is not possible to write strings with newline characters in them.
Newlines can be read from a .ini file, but there is no support for writing them.
</p>
</descr>
<seealso>
<link id="TCustomIniFile.ReadString">ReadString</link>
<link id="TCustomIniFile.WriteInteger">WriteInteger</link>
<link id="TCustomIniFile.WriteBool">WriteBool</link>
<link id="TCustomIniFile.WriteDate">WriteDate</link>
<link id="TCustomIniFile.WriteDateTime">WriteDateTime</link>
<link id="TCustomIniFile.WriteTime">WriteTime</link>
<link id="TCustomIniFile.WriteFloat">WriteFloat</link>
<link id="TCustomIniFile.WriteBinaryStream">WriteBinaryStream</link>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.WriteString.Section">
<short>Section to write key value to</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.WriteString.Ident">
<short>Key name with which to write value</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.WriteString.Value">
<short>String value to write</short>
</element>
<!-- function Visibility: public -->
<element name="TCustomIniFile.ReadInteger">
<short>Read an integer value from the file</short>
<descr>
<var>ReadInteger</var> reads the key <var>Ident</var> in section <var>Section</var>,
and returns the value as an integer. If the specified key or section do not exist,
then the value in <var>Default</var> is returned. If the key
exists, but contains an invalid integer value, <var>Default</var> is also returned.
</descr>
<seealso>
<link id="TCustomIniFile.WriteInteger">WriteInteger</link>
<link id="TCustomIniFile.ReadString">ReadString</link>
<link id="TCustomIniFile.ReadBool">ReadBool</link>
<link id="TCustomIniFile.ReadDate">ReadDate</link>
<link id="TCustomIniFile.ReadDateTime">ReadDateTime</link>
<link id="TCustomIniFile.ReadTime">ReadTime</link>
<link id="TCustomIniFile.ReadFloat">ReadFloat</link>
<link id="TCustomIniFile.ReadBinaryStream">ReadBinaryStream</link>
</seealso>
</element>
<!-- function result Visibility: default -->
<element name="TCustomIniFile.ReadInteger.Result">
<short>Value of <var>Ident</var> as an integer.</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadInteger.Section">
<short>Section to read <var>Ident</var> from</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadInteger.Ident">
<short>Name of key to retrieve value from</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadInteger.Default">
<short>Default value to return when the key <var>Ident</var> does not exist.</short>
</element>
<!-- procedure Visibility: public -->
<element name="TCustomIniFile.WriteInteger">
<short>Write an integer value</short>
<descr>
<var>WriteInteger</var> writes the integer <var>Value</var> with the name
<var>Ident</var> to the section <var>Section</var>, overwriting any previous
value that may exist there. The section will be created if it does not
exist.
</descr>
<seealso>
<link id="TCustomIniFile.ReadInteger">ReadInteger</link>
<link id="TCustomIniFile.WriteString">WriteString</link>
<link id="TCustomIniFile.WriteBool">WriteBool</link>
<link id="TCustomIniFile.WriteDate">WriteDate</link>
<link id="TCustomIniFile.WriteDateTime">WriteDateTime</link>
<link id="TCustomIniFile.WriteTime">WriteTime</link>
<link id="TCustomIniFile.WriteFloat">WriteFloat</link>
<link id="TCustomIniFile.WriteBinaryStream">WriteBinaryStream</link>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.WriteInteger.Section">
<short>Section to write key value to</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.WriteInteger.Ident">
<short>Key name with which to write value</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.WriteInteger.Value">
<short>Integer value to write</short>
</element>
<!-- function Visibility: public -->
<element name="TCustomIniFile.ReadBool">
<short></short>
<descr>
<var>ReadString</var> reads the key <var>Ident</var> in section <var>Section</var>,
and returns the value as a boolean (valid values are 0 and 1). If the specified key
or section do not exist, then the value in <var>Default</var> is returned. If the key
exists, but contains an invalid integer value, <var>False</var> is also returned.
</descr>
<errors>
</errors>
<seealso>
<link id="TCustomIniFile.WriteBool">WriteBool</link>
<link id="TCustomIniFile.ReadInteger">ReadInteger</link>
<link id="TCustomIniFile.ReadString">ReadString</link>
<link id="TCustomIniFile.ReadDate">ReadDate</link>
<link id="TCustomIniFile.ReadDateTime">ReadDateTime</link>
<link id="TCustomIniFile.ReadTime">ReadTime</link>
<link id="TCustomIniFile.ReadFloat">ReadFloat</link>
<link id="TCustomIniFile.ReadBinaryStream">ReadBinaryStream</link>
</seealso>
</element>
<!-- function result Visibility: default -->
<element name="TCustomIniFile.ReadBool.Result">
<short>Value of <var>Ident</var> as a boolean</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadBool.Section">
<short>Section to read <var>Ident</var> from</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadBool.Ident">
<short>Name of key to retrieve value from</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadBool.Default">
<short>Default value to return when the key <var>Ident</var> does not exist.</short>
</element>
<!-- procedure Visibility: public -->
<element name="TCustomIniFile.WriteBool">
<short>Write boolean value</short>
<descr>
<var>WriteBool</var> writes the boolean <var>Value</var> with the name
<var>Ident</var> to the section <var>Section</var>, overwriting any previous
value that may exist there. The section will be created if it does not
exist.
</descr>
<seealso>
<link id="TCustomIniFile.ReadBool">ReadBool</link>
<link id="TCustomIniFile.WriteInteger">WriteInteger</link>
<link id="TCustomIniFile.WriteString">WriteString</link>
<link id="TCustomIniFile.WriteDate">WriteDate</link>
<link id="TCustomIniFile.WriteDateTime">WriteDateTime</link>
<link id="TCustomIniFile.WriteTime">WriteTime</link>
<link id="TCustomIniFile.WriteFloat">WriteFloat</link>
<link id="TCustomIniFile.WriteBinaryStream">WriteBinaryStream</link>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.WriteBool.Section">
<short>Section to write key value to</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.WriteBool.Ident">
<short>Key name with which to write value</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.WriteBool.Value">
<short>Boolean value to write</short>
</element>
<!-- function Visibility: public -->
<element name="TCustomIniFile.ReadDate">
<short>Read a date value</short>
<descr>
<var>ReadDate</var> reads the key <var>Ident</var> in section <var>Section</var>,
and returns the value as a date (<var>TDateTime</var>). If the specified key or section do not exist,
then the value in <var>Default</var> is returned. If the key
exists, but contains an invalid date value, <var>Default</var> is also returned.
The international settings of the <file>SysUtils</file> are taken into
account when deciding if the read value is a correct date.
</descr>
<errors>
</errors>
<seealso>
<link id="TCustomIniFile.WriteDate">WriteDate</link>
<link id="TCustomIniFile.ReadInteger">ReadInteger</link>
<link id="TCustomIniFile.ReadBool">ReadBool</link>
<link id="TCustomIniFile.ReadString">ReadString</link>
<link id="TCustomIniFile.ReadDateTime">ReadDateTime</link>
<link id="TCustomIniFile.ReadTime">ReadTime</link>
<link id="TCustomIniFile.ReadFloat">ReadFloat</link>
<link id="TCustomIniFile.ReadBinaryStream">ReadBinaryStream</link>
</seealso>
</element>
<!-- function result Visibility: default -->
<element name="TCustomIniFile.ReadDate.Result">
<short>Value of <var>Ident</var> as a <var>TDateTime</var></short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadDate.Section">
<short>Section to read <var>Ident</var> from</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadDate.Ident">
<short>Name of key to retrieve value from</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadDate.Default">
<short>Default value to return when the key <var>Ident</var> does not exist.</short>
</element>
<!-- function Visibility: public -->
<element name="TCustomIniFile.ReadDateTime">
<short>Read a Date/Time value</short>
<descr>
<var>ReadDateTime</var> reads the key <var>Ident</var> in section <var>Section</var>,
and returns the value as a date/time (<var>TDateTime</var>). If the specified key or section do not exist,
then the value in <var>Default</var> is returned. If the key
exists, but contains an invalid date/time value, <var>Default</var> is also returned.
The international settings of the <file>SysUtils</file> are taken into
account when deciding if the read value is a correct date/time.
</descr>
<seealso>
<link id="TCustomIniFile.WriteDateTime">WriteDateTime</link>
<link id="TCustomIniFile.ReadInteger">ReadInteger</link>
<link id="TCustomIniFile.ReadBool">ReadBool</link>
<link id="TCustomIniFile.ReadDate">ReadDate</link>
<link id="TCustomIniFile.ReadString">ReadString</link>
<link id="TCustomIniFile.ReadTime">ReadTime</link>
<link id="TCustomIniFile.ReadFloat">ReadFloat</link>
<link id="TCustomIniFile.ReadBinaryStream">ReadBinaryStream</link>
</seealso>
</element>
<!-- function result Visibility: default -->
<element name="TCustomIniFile.ReadDateTime.Result">
<short>Value of <var>Ident</var> as a <var>TDateTime</var></short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadDateTime.Section">
<short>Section to read <var>Ident</var> from</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadDateTime.Ident">
<short>Name of key to retrieve value from</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadDateTime.Default">
<short>Default value to return when the key <var>Ident</var> does not exist.</short>
</element>
<!-- function Visibility: public -->
<element name="TCustomIniFile.ReadFloat">
<short>Read a floating point value</short>
<descr>
<var>ReadFloat</var> reads the key <var>Ident</var> in section <var>Section</var>,
and returns the value as a float (<var>Double</var>). If the specified key or section do not exist,
then the value in <var>Default</var> is returned. If the key
exists, but contains an invalid float value, <var>Default</var> is also returned.
The international settings of the <file>SysUtils</file> are taken into
account when deciding if the read value is a correct float.
</descr>
<seealso>
<link id="TCustomIniFile.WriteFloat">WriteFloat</link>
<link id="TCustomIniFile.ReadInteger">ReadInteger</link>
<link id="TCustomIniFile.ReadBool">ReadBool</link>
<link id="TCustomIniFile.ReadDate">ReadDate</link>
<link id="TCustomIniFile.ReadDateTime">ReadDateTime</link>
<link id="TCustomIniFile.ReadTime">ReadTime</link>
<link id="TCustomIniFile.ReadString">ReadString</link>
<link id="TCustomIniFile.ReadBinaryStream">ReadBinaryStream</link>
</seealso>
</element>
<!-- function result Visibility: default -->
<element name="TCustomIniFile.ReadFloat.Result">
<short>Value of <var>Ident</var> as a floating point value</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadFloat.Section">
<short>Section to read <var>Ident</var> from</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadFloat.Ident">
<short>Name of key to retrieve value from</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadFloat.Default">
<short>Default value to return when the key <var>Ident</var> does not exist.</short>
</element>
<!-- function Visibility: public -->
<element name="TCustomIniFile.ReadTime">
<short>Read a time value</short>
<descr>
<var>ReadTime</var> reads the key <var>Ident</var> in section <var>Section</var>,
and returns the value as a time (<var>TDateTime</var>). If the specified key or section do not exist,
then the value in <var>Default</var> is returned. If the key
exists, but contains an invalid time value, <var>Default</var> is also returned.
The international settings of the <file>SysUtils</file> are taken into
account when deciding if the read value is a correct time.
</descr>
<errors>
</errors>
<seealso>
<link id="TCustomIniFile.WriteTime">WriteTime</link>
<link id="TCustomIniFile.ReadInteger">ReadInteger</link>
<link id="TCustomIniFile.ReadBool">ReadBool</link>
<link id="TCustomIniFile.ReadDate">ReadDate</link>
<link id="TCustomIniFile.ReadDateTime">ReadDateTime</link>
<link id="TCustomIniFile.ReadString">ReadString</link>
<link id="TCustomIniFile.ReadFloat">ReadFloat</link>
<link id="TCustomIniFile.ReadBinaryStream">ReadBinaryStream</link>
</seealso>
</element>
<!-- function result Visibility: default -->
<element name="TCustomIniFile.ReadTime.Result">
<short>Value of <var>Ident</var> as a <var>TDateTime</var></short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadTime.Section">
<short>Section to read <var>Ident</var> from</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadTime.Ident">
<short>Name of key to retrieve value from</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadTime.Default">
<short>Default value to return when the key <var>Ident</var> does not exist.</short>
</element>
<!-- function Visibility: public -->
<element name="TCustomIniFile.ReadBinaryStream">
<short>Read binary data</short>
<descr>
<p>
<var>ReadBinaryStream</var> reads the key <var>Name</var> in section <var>Section</var>,
and returns the value in the stream <var>Value</var>. If the specified key or section do
not exist, then the contents of <var>Value</var> are left untouched. The
stream is not cleared prior to adding data to it.
</p>
<p>
The data is interpreted as a series of 2-byte hexadecimal values, each
representing a byte in the data stream, i.e, it should always be an even
number of hexadecimal characters.
</p>
</descr>
<seealso>
<link id="TCustomIniFile.WriteBinaryStream">WriteBinaryStream</link>
<link id="TCustomIniFile.ReadInteger">ReadInteger</link>
<link id="TCustomIniFile.ReadBool">ReadBool</link>
<link id="TCustomIniFile.ReadDate">ReadDate</link>
<link id="TCustomIniFile.ReadDateTime">ReadDateTime</link>
<link id="TCustomIniFile.ReadTime">ReadTime</link>
<link id="TCustomIniFile.ReadFloat">ReadFloat</link>
<link id="TCustomIniFile.ReadString">ReadString</link>
</seealso>
</element>
<!-- function result Visibility: default -->
<element name="TCustomIniFile.ReadBinaryStream.Result">
<short>Number of bytes written to <var>Value</var></short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadBinaryStream.Section">
<short>Section to read <var>Name</var> from</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadBinaryStream.Name">
<short>Name of key to retrieve value from</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadBinaryStream.Value">
<short>Stream to write data to.</short>
</element>
<!-- procedure Visibility: public -->
<element name="TCustomIniFile.WriteDate">
<short>Write date value</short>
<descr>
<var>WriteDate</var> writes the date <var>Value</var> with the name
<var>Ident</var> to the section <var>Section</var>, overwriting any previous
value that may exist there. The section will be created if it does not
exist. The date is written using the internationalization settings in the
<file>SysUtils</file> unit.
</descr>
<errors>
</errors>
<seealso>
<link id="TCustomIniFile.ReadDate">ReadDate</link>
<link id="TCustomIniFile.WriteInteger">WriteInteger</link>
<link id="TCustomIniFile.WriteBool">WriteBool</link>
<link id="TCustomIniFile.WriteString">WriteString</link>
<link id="TCustomIniFile.WriteDateTime">WriteDateTime</link>
<link id="TCustomIniFile.WriteTime">WriteTime</link>
<link id="TCustomIniFile.WriteFloat">WriteFloat</link>
<link id="TCustomIniFile.WriteBinaryStream">WriteBinaryStream</link>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.WriteDate.Section">
<short>Section to write key value to</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.WriteDate.Ident">
<short>Key name with which to write value</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.WriteDate.Value">
<short>Date value to write</short>
</element>
<!-- procedure Visibility: public -->
<element name="TCustomIniFile.WriteDateTime">
<short>Write date/time value</short>
<descr>
<var>WriteDateTime</var> writes the date/time <var>Value</var> with the name
<var>Ident</var> to the section <var>Section</var>, overwriting any previous
value that may exist there. The section will be created if it does not
exist. The date/time is written using the internationalization settings in the
<file>SysUtils</file> unit.
</descr>
<seealso>
<link id="TCustomIniFile.ReadDateTime">ReadDateTime</link>
<link id="TCustomIniFile.WriteInteger">WriteInteger</link>
<link id="TCustomIniFile.WriteBool">WriteBool</link>
<link id="TCustomIniFile.WriteDate">WriteDate</link>
<link id="TCustomIniFile.WriteString">WriteString</link>
<link id="TCustomIniFile.WriteTime">WriteTime</link>
<link id="TCustomIniFile.WriteFloat">WriteFloat</link>
<link id="TCustomIniFile.WriteBinaryStream">WriteBinaryStream</link>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.WriteDateTime.Section">
<short>Section to write key value to</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.WriteDateTime.Ident">
<short>Key name with which to write value</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.WriteDateTime.Value">
<short>Date/Time value to write</short>
</element>
<!-- procedure Visibility: public -->
<element name="TCustomIniFile.WriteFloat">
<short>Write a floating-point value</short>
<descr>
<var>WriteFloat</var> writes the time <var>Value</var> with the name
<var>Ident</var> to the section <var>Section</var>, overwriting any previous
value that may exist there. The section will be created if it does not
exist. The floating point value is written using the internationalization
settings in the <file>SysUtils</file> unit.
</descr>
<seealso>
<link id="TCustomIniFile.ReadFloat">ReadFloat</link>
<link id="TCustomIniFile.WriteInteger">WriteInteger</link>
<link id="TCustomIniFile.WriteBool">WriteBool</link>
<link id="TCustomIniFile.WriteDate">WriteDate</link>
<link id="TCustomIniFile.WriteDateTime">WriteDateTime</link>
<link id="TCustomIniFile.WriteTime">WriteTime</link>
<link id="TCustomIniFile.WriteString">WriteString</link>
<link id="TCustomIniFile.WriteBinaryStream">WriteBinaryStream</link>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.WriteFloat.Section">
<short>Section to write key value to</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.WriteFloat.Ident">
<short>Key name with which to write value</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.WriteFloat.Value">
<short>Float value to write</short>
</element>
<!-- procedure Visibility: public -->
<element name="TCustomIniFile.WriteTime">
<short>Write time value</short>
<descr>
<var>WriteTime</var> writes the time <var>Value</var> with the name
<var>Ident</var> to the section <var>Section</var>, overwriting any previous
value that may exist there. The section will be created if it does not
exist. The time is written using the internationalization settings in the
<file>SysUtils</file> unit.
</descr>
<seealso>
<link id="TCustomIniFile.ReadTime">ReadTime</link>
<link id="TCustomIniFile.WriteInteger">WriteInteger</link>
<link id="TCustomIniFile.WriteBool">WriteBool</link>
<link id="TCustomIniFile.WriteDate">WriteDate</link>
<link id="TCustomIniFile.WriteDateTime">WriteDateTime</link>
<link id="TCustomIniFile.WriteString">WriteString</link>
<link id="TCustomIniFile.WriteFloat">WriteFloat</link>
<link id="TCustomIniFile.WriteBinaryStream">WriteBinaryStream</link>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.WriteTime.Section">
<short>Section to write key value to</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.WriteTime.Ident">
<short>Key name with which to write value</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.WriteTime.Value">
<short>Time value to write</short>
</element>
<!-- procedure Visibility: public -->
<element name="TCustomIniFile.WriteBinaryStream">
<short>Write binary data</short>
<descr>
<p>
<var>WriteBinaryStream</var> writes the binary data in <var>Value</var> with the name
<var>Ident</var> to the section <var>Section</var>, overwriting any previous
value that may exist there. The section will be created if it does not
exist.
</p>
<p>
The binary data is encoded using a 2-byte hexadecimal value per byte in the
data stream. The data stream must be seekable, so it's size can be
determined. The data stream is not repositioned, it must be at the correct
position.
</p>
</descr>
<seealso>
<link id="TCustomIniFile.ReadBinaryStream">ReadBinaryStream</link>
<link id="TCustomIniFile.WriteInteger">WriteInteger</link>
<link id="TCustomIniFile.WriteBool">WriteBool</link>
<link id="TCustomIniFile.WriteDate">WriteDate</link>
<link id="TCustomIniFile.WriteDateTime">WriteDateTime</link>
<link id="TCustomIniFile.WriteTime">WriteTime</link>
<link id="TCustomIniFile.WriteFloat">WriteFloat</link>
<link id="TCustomIniFile.WriteString">WriteString</link>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.WriteBinaryStream.Section">
<short>Section to write key value to</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.WriteBinaryStream.Name">
<short>Key name with which to write value</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.WriteBinaryStream.Value">
<short>Binary data to write</short>
</element>
<!-- procedure Visibility: public -->
<element name="TCustomIniFile.ReadSection">
<short>Read the key names in a section</short>
<descr>
<var>ReadSection</var> will return the names of the keys in section
<var>Section</var> in <var>Strings</var>, one string per key. If a
non-existing section is specified, the list is cleared. To return the values
of the keys as well, the <link
id="TCustomIniFile.ReadSectionValues">ReadSectionValues</link> method should
be used.
</descr>
<seealso>
<link id="TCustomIniFile.ReadSections">ReadSections</link>
<link id="TCustomIniFile.SectionExists">SectionExists</link>
<link id="TCustomIniFile.ReadSectionValues">ReadSectionValues</link>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadSection.Section">
<short>Section for which to read key names</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadSection.Strings">
<short>Stringlist to store key names in</short>
</element>
<!-- procedure Visibility: public -->
<element name="TCustomIniFile.ReadSections">
<short>Read the list of sections</short>
<descr>
<var>ReadSections</var> returns the names of existing sections in
<var>Strings</var>. It also returns names of empty sections.
</descr>
<seealso>
<link id="TCustomIniFile.SectionExists">SectionExists</link>
<link id="TCustomIniFile.ReadSectionValues">ReadSectionValues</link>
<link id="TCustomIniFile.ReadSection">ReadSection</link>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadSections.Strings">
<short>Stringlist in which to return section names</short>
</element>
<!-- procedure Visibility: public -->
<element name="TCustomIniFile.ReadSectionValues">
<short>Read names and values of a section</short>
<descr>
<var>ReadSectionValues</var> returns the keys and their values in the
section <var>Section</var> in <var>Strings</var>. They are returned as
<var>Key=Value</var> strings, one per key, so the <var>Values</var> property
of the stringlist can be used to read the values. To retrieve just the names
of the available keys, <link id="TCustomIniFile.ReadSection">ReadSection</link>
can be used.
</descr>
<seealso>
<link id="TCustomIniFile.SectionExists">SectionExists</link>
<link id="TCustomIniFile.ReadSections">ReadSections</link>
<link id="TCustomIniFile.ReadSection">ReadSection</link>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadSectionValues.Section">
<short>Section for which to read key names and values</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ReadSectionValues.Strings">
<short>Stringlist to store key/value pairs in</short>
</element>
<!-- procedure Visibility: public -->
<element name="TCustomIniFile.EraseSection">
<short>Clear a section </short>
<descr>
<var>EraseSection</var> deletes all values from the section named
<var>Section</var> and removes the section from the ini file.
If the section didn't exist prior to a call to <var>EraseSection</var>, nothing happens.
</descr>
<seealso>
<link id="TCustomIniFile.SectionExists">SectionExists</link>
<link id="TCustomIniFile.ReadSections">ReadSections</link>
<link id="TCustomIniFile.DeleteKey">DeleteKey</link>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.EraseSection.Section">
<short>Name of section to erase</short>
</element>
<!-- procedure Visibility: public -->
<element name="TCustomIniFile.DeleteKey">
<short>Delete a key from a section</short>
<descr>
<var>DeleteKey</var> deletes the key <var>Ident</var> from section
<var>Section</var>. If the key or section didn't exist prior to the
<var>DeleteKey</var> call, nothing happens.
</descr>
<seealso>
<link id="TCustomIniFile.EraseSection">EraseSection</link>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.DeleteKey.Section">
<short>Section from which to delete key</short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.DeleteKey.Ident">
<short>Name of key to delete</short>
</element>
<!-- procedure Visibility: public -->
<element name="TCustomIniFile.UpdateFile">
<short>Update the file on disk</short>
<descr>
<var>UpdateFile</var> writes the in-memory image of the ini-file to disk.
To speed up operation of the inifile class, the whole ini-file is read into
memory when the class is created, and all operations are performed
in-memory. If <var>CacheUpdates</var> is set to <var>True</var>, any
changes to the inifile are only in memory, until they are committed to disk
with a call to <var>UpdateFile</var>. If <var>CacheUpdates</var> is set to
<var>False</var>, then all operations which cause a change in the .ini file
will immediatly be committed to disk with a call to
<var>UpdateFile</var>. Since the whole file is written to disk, this may have
serious impact on performance.
</descr>
<seealso>
<link id="TIniFile.CacheUpdates">CacheUpdates</link>
</seealso>
</element>
<!-- function Visibility: public -->
<element name="TCustomIniFile.ValueExists">
<short>Check if a value exists</short>
<descr>
<var>ValueExists</var> checks whether the key <var>Ident</var> exists in
section <var>Section</var>. It returns <var>True</var> if a key was found,
or <var>False</var> if not. The key may be empty.
</descr>
<seealso>
<link id="TCustomIniFile.SectionExists">SectionExists</link>
</seealso>
</element>
<!-- function result Visibility: default -->
<element name="TCustomIniFile.ValueExists.Result">
<short><var>True</var> if <var>Ident</var> exists in section <var>Section</var></short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ValueExists.Section">
<short>Section in which to look for <var>Ident</var></short>
</element>
<!-- argument Visibility: default -->
<element name="TCustomIniFile.ValueExists.Ident">
<short>Key name to look for.</short>
</element>
<!-- property Visibility: public -->
<element name="TCustomIniFile.FileName">
<short>Name of the .ini file</short>
<descr>
<var>FileName</var> is the name of the ini file on disk. It should be
specified when the <var>TCustomIniFile</var> instance is created. Contrary
to the Delphi implementation, if no path component is present in the
filename, the filename is not searched in the windows directory.
</descr>
<seealso>
<link id="TCustomIniFile.Create">Create</link>
</seealso>
</element>
<!-- property Visibility: public -->
<element name="TCustomIniFile.EscapeLineFeeds">
<short>Should linefeeds be escaped ?</short>
<descr>
<p>
<var>EscapeLineFeeds</var> determines whether escaping of linefeeds is
enabled: For a description of this feature, see <link
id="TCustomIniFile.Create">Create</link>, as the value of this property must
be specified when the <var>TCustomIniFile</var> instance is created.
</p>
<p>
By default, <var>EscapeLineFeeds</var> is <var>False</var>.
</p>
</descr>
<seealso>
<link id="TCustomIniFile.Create">Create</link>
<link id="TCustomIniFile.CaseSensitive">CaseSensitive</link>
</seealso>
</element>
<!-- property Visibility: public -->
<element name="TCustomIniFile.CaseSensitive">
<short>Are key and section names case sensitive</short>
<descr>
<var>CaseSensitive</var> determines whether searches for sections and keys
are performed case-sensitive or not. By default, they are not case
sensitive.
</descr>
<seealso>
<link id="TCustomIniFile.EscapeLineFeeds">EscapeLineFeeds</link>
</seealso>
</element>
<!--
********************************************************************
#fcl.IniFiles.TIniFile
********************************************************************
-->
<!-- object Visibility: default -->
<element name="TIniFile">
<short>Ini file implementation</short>
<descr>
<p>
<var>TIniFile</var> is an implementation of <link id="TCustomIniFile"/>
which does the same as <link id="TMemIniFile"/>, namely it reads the whole file
into memory. Unlike <var>TMemIniFile</var> it does not cache updates in
memory, but immediatly writes any changes to disk.
</p>
<p>
<var>TIniFile</var> introduces no new methods, it just implements the
abstract methods introduced in <var>TCustomIniFile</var>
</p>
</descr>
<seealso>
<link id="TCustomIniFile"/>
<link id="TMemIniFile"/>
</seealso>
</element>
<!-- constructor Visibility: public -->
<element name="TIniFile.Create">
<short>Create a new instance of <var>TIniFile</var></short>
<descr>
<var>Create</var> creates a new instance of <var>TIniFile</var> and
initializes the class by reading the file from disk if the filename
<var>AFileName</var> is specified, or from stream in case <var>AStream</var>
is specified. It also sets most variables to their initial values, i.e.
<var>AEscapeLineFeeds</var> is saved prior to reading the file, and
<var>Cacheupdates</var> is set to <var>False</var>.
</descr>
<seealso>
<link id="TCustomIniFile"/>
<link id="TMemIniFile"/>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TIniFile.Create.AFileName">
<short>Filename to read from</short>
</element>
<!-- argument Visibility: default -->
<element name="TIniFile.Create.AEscapeLineFeeds">
<short>Should escaping of linefeeds be enabled ?</short>
</element>
<!-- argument Visibility: default -->
<element name="TIniFile.Create.AStream">
<short>Stream to read ini data from</short>
</element>
<!-- destructor Visibility: public -->
<element name="TIniFile.Destroy">
<short>Remove the <var>TIniFile</var> instance from memory</short>
<descr>
<var>Destroy</var> writes any pending changes to disk, and cleans up the
<var>TIniFile</var> structures, and then calls the inherited
<var>Destroy</var>, effectively removing the instance from memory.
</descr>
<errors>
If an error happens when the file is written to disk, an exception will be
raised.
</errors>
<seealso>
<link id="TCustomIniFile.UpdateFile">UpdateFile</link>
<link id="TIniFile.CacheUpdates">CacheUpdates</link>
</seealso>
</element>
<!-- function Visibility: public -->
<element name="TIniFile.ReadString">
<short>Read a string</short>
<descr>
<var>ReadString</var> implements the <link id="TCustomIniFile.ReadString"/>
abstract method by looking at the in-memory copy of the ini file and
returning the string found there.
</descr>
<seealso>
<link id="TCustomIniFile.ReadString"/>
</seealso>
</element>
<!-- function result Visibility: default -->
<element name="TIniFile.ReadString.Result">
<short>Value of the string or <var>Default</var> if none found.</short>
</element>
<!-- argument Visibility: default -->
<element name="TIniFile.ReadString.Section">
<short>Section to search key value in</short>
</element>
<!-- argument Visibility: default -->
<element name="TIniFile.ReadString.Ident">
<short>Key name</short>
</element>
<!-- argument Visibility: default -->
<element name="TIniFile.ReadString.Default">
<short>Default value if none is found.</short>
</element>
<!-- procedure Visibility: public -->
<element name="TIniFile.WriteString">
<short>Write string to file</short>
<descr>
<var>WriteString</var> implements the <link id="TCustomIniFile.WriteString"/>
abstract method by writing the string to the in-memory copy of the ini file.
If <link id="TIniFile.CacheUpdates">CacheUpdates</link> property is
<var>False</var>, then the whole file is immediatly written to disk as well.
</descr>
<errors>
If an error happens when the file is written to disk, an exception will be
raised.
</errors>
<seealso>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TIniFile.WriteString.Section">
<short>Section to write key value in</short>
</element>
<!-- argument Visibility: default -->
<element name="TIniFile.WriteString.Ident">
<short>Key name to use</short>
</element>
<!-- argument Visibility: default -->
<element name="TIniFile.WriteString.Value">
<short>String value to write</short>
</element>
<!-- procedure Visibility: public -->
<element name="TIniFile.ReadSection">
<short>Read the key names in a section</short>
<descr>
<var>ReadSection</var> reads the key names from <var>Section</var> into
<var>Strings</var>, taking the in-memory copy of the ini file.
This is the implementation for the abstract <link id="TCustomIniFile.ReadSection"/>
</descr>
<seealso>
<link id="TCustomIniFile.ReadSection"/>
<link id="TIniFile.ReadSectionRaw"/>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TIniFile.ReadSection.Section">
<short>Section to read names from</short>
</element>
<!-- argument Visibility: default -->
<element name="TIniFile.ReadSection.Strings">
<short>Stringlist to store names in</short>
</element>
<!-- procedure Visibility: public -->
<element name="TIniFile.ReadSectionRaw">
<short>Read raw section</short>
<descr>
<var>ReadSectionRaw</var> returns the contents of the section
<var>Section</var> as it is: this includes the comments in the
section. (these are also stored in memory)
</descr>
<seealso>
<link id="TIniFile.ReadSection"/>
<link id="TCustomIniFile.ReadSection"/>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TIniFile.ReadSectionRaw.Section">
<short>Section name to read</short>
</element>
<!-- argument Visibility: default -->
<element name="TIniFile.ReadSectionRaw.Strings">
<short>Strings to store section contents in</short>
</element>
<!-- procedure Visibility: public -->
<element name="TIniFile.ReadSections">
<short>Read section names</short>
<descr>
<var>ReadSections</var> is the implementation of <link
id="TCustomIniFile.ReadSections"/>. It operates on the in-memory copy of the
inifile, and places all section names in <var>Strings</var>.
</descr>
<seealso>
<link id="TIniFile.ReadSection"/>
<link id="TCustomIniFile.ReadSections"/>
<link id="TIniFile.ReadSectionValues"/>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TIniFile.ReadSections.Strings">
<short>Stringlist to store section names in</short>
</element>
<!-- procedure Visibility: public -->
<element name="TIniFile.ReadSectionValues">
<short></short>
<descr>
<var>ReadSectionValues</var> is the implementation of <link
id="TCustomIniFile.ReadSectionValues"/>. It operates on the in-memory copy of the
inifile, and places all key names from <var>Section</var> together with
their values in <var>Strings</var>.
</descr>
<seealso>
<link id="TIniFile.ReadSection"/>
<link id="TCustomIniFile.ReadSectionValues"/>
<link id="TIniFile.ReadSections"/>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TIniFile.ReadSectionValues.Section">
<short>Section to read key name/values from</short>
</element>
<!-- argument Visibility: default -->
<element name="TIniFile.ReadSectionValues.Strings">
<short>Stringlist to store key/value pairs in.</short>
</element>
<!-- procedure Visibility: public -->
<element name="TIniFile.EraseSection">
<short></short>
<descr>
<var>Erasesection</var> deletes the section <var>Section</var> from memory,
if <link id="TIniFile.CacheUpdates">CacheUpdates</link> is <var>False</var>,
then the file is immediatly updated on disk. This method is the
implementation of the abstract <link id="TCustomIniFile.EraseSection"/>
method.
</descr>
<seealso>
<link id="TCustomIniFile.EraseSection"/>
<link id="TIniFile.ReadSection"/>
<link id="TIniFile.ReadSections"/>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TIniFile.EraseSection.Section">
<short>Section to erase</short>
</element>
<!-- procedure Visibility: public -->
<element name="TIniFile.DeleteKey">
<short>Delete key</short>
<descr>
<var>DeleteKey</var> deletes the <var>Ident</var> from the section
<var>Section</var>. This operation is performed on the in-memory copy of the
ini file. if <link id="TIniFile.CacheUpdates">CacheUpdates</link> is
<var>False</var>, then the file is immediatly updated on disk.
</descr>
<seealso>
<link id="TIniFile.CacheUpdates">CacheUpdates</link>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TIniFile.DeleteKey.Section">
<short>Section in which to delete key</short>
</element>
<!-- argument Visibility: default -->
<element name="TIniFile.DeleteKey.Ident">
<short>Name of key to delete</short>
</element>
<!-- procedure Visibility: public -->
<element name="TIniFile.UpdateFile">
<short>Update the file on disk</short>
<descr>
<var>UpdateFile</var> writes the in-memory data for the ini file to disk.
The whole file is written. If the ini file was instantiated from a stream,
then the stream is updated. Note that the stream must be seekable for this
to work correctly. The ini file is marked as 'clean' after a call to
<var>UpdateFile</var> (i.e. not in need of writing to disk).
</descr>
<errors>
If an error occurs when writing to stream or disk, an exception may be
raised.
</errors>
<seealso>
<link id="TIniFile.CacheUpdates">CacheUpdates</link>
</seealso>
</element>
<!-- property Visibility: public -->
<element name="TIniFile.Stream">
<short>Stream from which ini file was read</short>
<descr>
<var>Stream</var> is the stream which was used to create the
<var>IniFile</var>. The <link id="TIniFile.UpdateFile">UpdateFile</link>
method will use this stream to write changes to.
</descr>
<seealso>
<link id="TIniFile.Create">Create</link>
<link id="TIniFile.UpdateFile">UpdateFile</link>
</seealso>
</element>
<!-- property Visibility: public -->
<element name="TIniFile.CacheUpdates">
<short>Should changes be kept in memory</short>
<descr>
<var>CacheUpdates</var> determines how to deal with changes to the ini-file
data: if set to <var>True</var> then changes are kept in memory till the
file is written to disk with a call to <link id="TIniFile.UpdateFile">UpdateFile</link>.
If it is set to <var>False</var> then each call that changes the data of the
ini-file will result in a call to <var>UpdateFile</var>. This is the default
behaviour, but it may aversely affect performance.
</descr>
<seealso>
<link id="TIniFile.UpdateFile">UpdateFile</link>
</seealso>
</element>
<!--
********************************************************************
#fcl.IniFiles.TMemIniFile
********************************************************************
-->
<!-- object Visibility: default -->
<element name="TMemIniFile">
<short>Inifile cached in memory</short>
<descr>
<var>TMemIniFile</var> is a simple descendent of <link id="TIniFile"/> which
introduces some extra methods to be compatible to the Delphi implementation
of <var>TMemIniFile</var>. The FPC implementation of <var>TIniFile</var> is
implemented as a <var>TMemIniFile</var>, except that <var>TIniFile</var>
does not cache its updates, and <var>TMemIniFile</var> does.
</descr>
<seealso>
<link id="TIniFile"/>
<link id="TCustomIniFile"/>
<link id="TIniFile.CacheUpdates">CacheUpdates</link>
</seealso>
</element>
<!-- constructor Visibility: public -->
<element name="TMemIniFile.Create">
<short>Create a new instance of <var>TMemIniFile</var></short>
<descr>
<var>Create</var> simply calls the inherited <link
id="TIniFile.Create">Create</link>, and sets the <link
id="TIniFile.CacheUpdates">CacheUpdates</link> to <var>True</var> so updates
will be kept in memory till they are explicitly written to disk.
</descr>
<seealso>
<link id="TIniFile.Create"/>
<link id="TIniFile.CacheUpdates">CacheUpdates</link>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TMemIniFile.Create.AFileName">
<short>Name of file to read data from</short>
</element>
<!-- argument Visibility: default -->
<element name="TMemIniFile.Create.AEscapeLineFeeds">
<short>Should linefeed escaping be turned on</short>
</element>
<!-- procedure Visibility: public -->
<element name="TMemIniFile.Clear">
<short>Clear the data</short>
<descr>
<var>Clear</var> removes all sections and key/value pairs from memory. If <link
id="TIniFile.CacheUpdates">CacheUpdates</link> is set to <var>False</var>
then the file on disk will immediatly be emptied.
</descr>
<seealso>
<link id="TMemIniFile.SetStrings">SetStrings</link>
<link id="TMemIniFile.GetStrings">GetStrings</link>
</seealso>
</element>
<!-- procedure Visibility: public -->
<element name="TMemIniFile.GetStrings">
<short>Get contents of ini file as stringlist</short>
<descr>
<p>
<var>GetStrings</var> returns the whole contents of the ini file in a single
stringlist, <var>List</var>. This includes comments and empty sections.
</p>
<p>
The <var>GetStrings</var> call can be used to get data for a call to <link
id="TMemIniFile.SetStrings">SetStrings</link>, which can be used to copy
data between 2 in-memory ini files.
</p>
</descr>
<seealso>
<link id="TMemIniFile.SetStrings">SetStrings</link>
<link id="TMemIniFile.Clear">Clear</link>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TMemIniFile.GetStrings.List">
<short>Stringlist in which to copy the data</short>
</element>
<!-- procedure Visibility: public -->
<element name="TMemIniFile.Rename">
<short>Rename the ini file</short>
<descr>
<var>Rename</var> will rename the ini file with the new name
<var>AFileName</var>. If <var>Reload</var> is <var>True</var> then the
in-memory contents will be cleared and replaced with the contents
found in <var>AFileName</var>, if it exists. If <var>Reload</var> is
<var>False</var>, the next call to <var>UpdateFile</var> will replace the
contents of <var>AFileName</var> with the in-memory data.
</descr>
<seealso>
<link id="TIniFile.UpdateFile">UpdateFile</link>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TMemIniFile.Rename.AFileName">
<short>New filename</short>
</element>
<!-- argument Visibility: default -->
<element name="TMemIniFile.Rename.Reload">
<short>Load memory data from new file ?</short>
</element>
<!-- procedure Visibility: public -->
<element name="TMemIniFile.SetStrings">
<short>Set data from a stringlist</short>
<descr>
<p>
<var>SetStrings</var> sets the in-memory data from the <var>List</var>
stringlist. The data is first cleared.
</p>
<p>
The <var>SetStrings</var> call can be used to set the data of the ini file
to a list of strings obtained with <link id="TMemIniFile.GetStrings">GetStrings</link>.
The two calls combined can be used to copy data between 2 in-memory ini files.
</p>
</descr>
<seealso>
<link id="TMemIniFile.GetStrings">GetStrings</link>
<link id="TMemIniFile.Clear">Clear</link>
</seealso>
</element>
<!-- argument Visibility: default -->
<element name="TMemIniFile.SetStrings.List">
<short>Stringlist to get data from</short>
</element>
<!--
********************************************************************
#fcl.IniFiles.THashedStringList
********************************************************************
-->
<!-- object Visibility: default -->
<element name="THashedStringList">
<short>String list with support for has values</short>
<descr>
<var>THashedStringList</var> is a <link
id="#rtl.classes.tstringlist">TStringList</link> descendent which creates
has values for the strings and names (in the case of a name-value pair)
stored in it. The <link id="THashedStringList.IndexOf">IndexOf</link> and
<link id="THashedStringList.IndexOfName">IndexOfName</link> functions make
use of these hash values to quicklier locate a value.
</descr>
<seealso>
<link id="THashedStringList.IndexOf">IndexOf</link>
<link id="THashedStringList.IndexOfName">IndexOfName</link>
</seealso>
</element>
<!-- constructor Visibility: public -->
<element name="THashedStringList.Create">
<short>Instantiates a new instance of <var>THashedStringList</var></short>
<descr>
<var>Create</var> calls the inherited <var>Create</var>, and then instantiates
the hash tables.
</descr>
<errors>
If no enough memory is available, an exception may be raised.
</errors>
<seealso>
<link id="THashedStringList.Destroy"/>
</seealso>
</element>
<!-- destructor Visibility: public -->
<element name="THashedStringList.Destroy">
<short>Clean up instance</short>
<descr>
<var>Destroy</var> cleans up the hash tables and then calls the inherited
<var>Destroy</var>.
</descr>
<seealso>
<link id="THashedStringList.Create"/>
</seealso>
</element>
<!-- function Visibility: public -->
<element name="THashedStringList.IndexOf">
<short>Returns the index of a string in the list of strings</short>
<descr>
<var>IndexOf</var> overrides the <link id="#rtl.classes.TStringList.IndexOf"/> method
and uses the hash values to look for the location of <var>S</var>.
</descr>
<seealso>
<link id="#rtl.classes.TStringList.IndexOf"/>
<link id="THashedStringList.IndexOfName"/>
</seealso>
</element>
<!-- function result Visibility: default -->
<element name="THashedStringList.IndexOf.Result">
<short>Index of <var>S</var> or -1 if <var>S</var> is not in the list.</short>
</element>
<!-- argument Visibility: default -->
<element name="THashedStringList.IndexOf.S">
<short>String to locate in the list</short>
</element>
<!-- function Visibility: public -->
<element name="THashedStringList.IndexOfName">
<short>Return the index of a name in the list of name=value pairs</short>
<descr>
<var>IndexOfName</var> overrides the <link id="#rtl.classes.TStrings.IndexOfName"/> method
and uses the hash values of the names to look for the location of <var>Name</var>.
</descr>
<seealso>
<link id="#rtl.classes.TStrings.IndexOfName"/>
<link id="THashedStringList.IndexOf"/>
</seealso>
</element>
<!-- function result Visibility: default -->
<element name="THashedStringList.IndexOfName.Result">
<short>Index of name <var>Name</var> or -1 if no name=value pair exists with
<var>Name</var>.</short>
</element>
<!-- argument Visibility: default -->
<element name="THashedStringList.IndexOfName.Name">
<short>Name to look for</short>
</element>
<!-- function result Visibility: default -->
<element name="TIniFileSection.Empty.Result">
<short>True if the section is empty</short>
</element>
<!-- property Visibility: public -->
<element name="TCustomIniFile.StripQuotes">
<short>Should quotes be stripped from string values</short>
<descr>
<var>StripQuotes</var> determines whether quotes around string values are
stripped from the value when reading the values from file. By default,
quotes are not stripped (this is Delphi and Windows compatible).
</descr>
</element>
<!-- function Visibility: public -->
<element name="TCustomIniFile.ReadInt64">
<short>Read Int64 value</short>
<descr>
<p>
<var>ReadInt64</var> reads a signed 64-bit integer value from the ini file.
The value is searched in the <var>Section</var> section, with key
<var>Ident</var>.
</p>
<p>
If the value is not found at the specified <var>Section</var>,
<var>Ident</var> pair, or the value is not a <var>Int64</var> value then the
<var>Default</var> value is returned instead.
</p>
<p>
This function is needed because <link id="ReadInteger"/> only reads at most a 32-bit value.
</p>
</descr>
<seealso>
<link id="ReadInteger"/>
<link id="WriteInt64"/>
</seealso>
</element>
<!-- function result Visibility: public -->
<element name="TCustomIniFile.ReadInt64.Result">
<short>The value found at the specified location, or the default value.</short>
</element>
<!-- argument Visibility: public -->
<element name="TCustomIniFile.ReadInt64.Section">
<short>Section to search the value in.</short>
</element>
<!-- argument Visibility: public -->
<element name="TCustomIniFile.ReadInt64.Ident">
<short>Key for the value in the specified section</short>
</element>
<!-- argument Visibility: public -->
<element name="TCustomIniFile.ReadInt64.Default">
<short>Default value if no valid value was found</short>
</element>
<!-- procedure Visibility: public -->
<element name="TCustomIniFile.WriteInt64">
<short>Write a Int64 value.</short>
<descr>
<var>WriteInt64</var> writes <var>Value</var> as a signed 64-bit integer value
to section <var>Section</var>, key <var>Ident</var>.
</descr>
<seealso>
<link id="WriteInteger"/>
<link id="ReadInt64"/>
</seealso>
</element>
<!-- argument Visibility: public -->
<element name="TCustomIniFile.WriteInt64.Section">
<short>Section to write to</short>
</element>
<!-- argument Visibility: public -->
<element name="TCustomIniFile.WriteInt64.Ident">
<short>Key name</short>
</element>
<!-- argument Visibility: public -->
<element name="TCustomIniFile.WriteInt64.Value">
<short>Value to write</short>
</element>
</module> <!-- IniFiles -->
</package>
</fpdoc-descriptions>
|