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
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
Documentation for LCL (Lazarus Component Library) and LazUtils (Lazarus
Utilities) are published under the Creative Commons Attribution-ShareAlike 4.0
International public license.
https://creativecommons.org/licenses/by-sa/4.0/legalcode.txt
https://gitlab.com/freepascal.org/lazarus/lazarus/-/blob/main/docs/cc-by-sa-4-0.txt
Copyright (c) 1997-2025, by the Lazarus Development Team.
-->
<fpdoc-descriptions>
<package name="lazutils">
<!--
====================================================================
LazConfigStorage
====================================================================
-->
<module name="LazConfigStorage">
<short>
Defines various base classes for loading and saving configuration files.
</short>
<descr>
<p>
<file>lazconfigstorage.pas</file> is part of the <file>LazUtils</file> package.
</p>
<p>
Author: Mattias Gaertner
</p>
</descr>
<!-- unresolved external references -->
<element name="Classes"/>
<element name="SysUtils"/>
<element name="typinfo"/>
<element name="Laz_AVL_Tree"/>
<element name="LazLoggerBase"/>
<element name="AvgLvlTree"/>
<element name="LazStringUtils"/>
<element name="TConfigStorage">
<short>
Defines the base class for a configuration storage mechanism.
</short>
<descr>
<p>
<var>TConfigStorage</var> is a class used to create and maintain
configuration information using an XML-based storage format. TConfigStorage
is a base class; it contains abstract virtual methods which must be
implemented in descendent class to provide memory- or file-based storage for
its values.
</p>
<p>
TConfigStorage and descendent classes have a base path where its data is
stored, and sub-paths and values for the data items in the storage. Path
information uses an XPath-like notation which indicates where a given value
is stored, and the name associated with the stored value.
</p>
<p>
For example:
</p>
<code>
'path/to/loginform'
'path/to/loginform/top'
'path/to/loginform/left'
'path/to/loginform/width'
'path/to/loginform/height'
</code>
<p>
Values can be specified using one of the native Pascal data types supported
in the class, like:
</p>
<ul>
<li>String</li>
<li>Integer</li>
<li>Boolean</li>
<li>TStrings</li>
<li>TRect</li>
<li>TPoint</li>
<li>TPersistent</li>
</ul>
<p>
Methods are provided to get, set, or delete stored items using their path
notation. Methods are also provided to read or write published property values
to or from persistent objects using RTTI.
</p>
<p>
Do not create instances of TConfigStorage. Use of the descendent classes like
TConfigMemStorage or TXMLConfigStorage.
</p>
</descr>
<seealso>
<link id="TConfigMemStorage"/>
<link id="#lcl.xmlpropstorage.TXMLConfigStorage">TXMLConfigStorage</link>
</seealso>
</element>
<element name="TConfigStorage.FPathStack">
<short>Contains a path history built using AppendBasePath.</short>
</element>
<element name="TConfigStorage.FCurrentBasePath">
<short>Member used to store the value in CurrentBasePath.</short>
</element>
<element name="TConfigStorage.GetFullPathValue">
<short>
Specifies a method used to get a value or its default from the specified
fully-qualified path.
</short>
<descr>
<p>
Returns the value stored using the path and name in the APath argument. The
value in ADefault is returned if APath is not found in the configuration
storage. The overloaded variants allow the return and default values to be
specified using String, Integer, or Boolean types.
</p>
<p>
GetFullPathValue is an abstract virtual method in TConfigStorage. It is
implemented in a descendent class to use the storage mechanism for the class
instance.
</p>
</descr>
<seealso/>
</element>
<element name="TConfigStorage.GetFullPathValue.Result">
<short>
Value in the configuration storage for the specified value type.
</short>
</element>
<element name="TConfigStorage.GetFullPathValue.APath">
<short>
Fully-qualified path to the value. Includes both the base path and the name for
the item.
</short>
</element>
<element name="TConfigStorage.GetFullPathValue.ADefault">
<short>
Default value returned when APath is not found in the configuration storage.
</short>
</element>
<element name="TConfigStorage.SetFullPathValue">
<short>
Defines the method used to resolve the specified node path prior to storing the
specified value.
</short>
<descr>
<p>
<var>SetFullPathValue</var> is an overloaded abstract virtual method in
<var>TConfigStorage</var>. It must be overridden in a descendent class to use
the node notation required for the underlying storage mechanism.
</p>
<p>
SetFullPathValue is called from the SetValue method after ExtendPath has been
called to include the CurrentBasePath value at the start of the node path in
APath.
</p>
</descr>
<seealso>
<link id="TConfigStorage.SetFullPathValue"/>
<link id="TConfigStorage.SetValue"/>
<link id="TConfigStorage.ExtendPath"/>
<link id="TConfigStorage.CurrentBasePath"/>
<link id="TConfigMemStorage.SetFullPathValue"/>
<link id="#lcl.xmlpropstorage.TXMLConfigStorage">TXMLConfigStorage</link>
</seealso>
</element>
<element name="TConfigStorage.SetFullPathValue.APath">
<short>
Path to the node where the specified value is stored.
</short>
</element>
<element name="TConfigStorage.SetFullPathValue.AValue">
<short>
Value stored in the specified node path. Overloaded variants allow AValue to be
specified using as either a String, an Integer, or a Boolean type.
</short>
</element>
<element name="TConfigStorage.SetDeleteFullPathValue">
<short>
Defines the method used to delete the specified node path or to reset it to a
default value.
</short>
<descr>
<p>
<var>SetDeleteFullPathValue</var> is an overloaded abstract virtual method in
<var>TConfigStorage</var>. It must be overridden and implemented in a
descendent class to use the node notation required for the underlying storage
mechanism.
</p>
<p>
Overloaded variants of the method allow the AValue and DefValue arguments to be
passed as either String, Integer, or Boolean types. Both arguments must use the
same type. The arguments determine whether the node is removed or updated with
a default value in the storage mechanism. When both arguments have the same
value, the node at APath is deleted from the storage. Otherwise, the value in
DefValue is stored for the specified node.
</p>
<p>
SetDeleteFullPathValue is called from the SetDeleteValue method after
ExtendPath has been called to include the CurrentBasePath value at the start of
the node path in APath.
</p>
</descr>
<seealso>
<link id="TConfigStorage.SetDeleteValue"/>
<link id="TConfigStorage.ExtendPath"/>
<link id="TConfigStorage.CurrentBasePath"/>
<link id="TConfigMemStorage.SetDeleteFullPathValue"/>
<link id="#lcl.xmlpropstorage.TXMLConfigStorage">TXMLConfigStorage</link>
</seealso>
</element>
<element name="TConfigStorage.SetDeleteFullPathValue.APath">
<short>
Path to the node updated or removed in the method.
</short>
</element>
<element name="TConfigStorage.SetDeleteFullPathValue.AValue">
<short>
Value for the node to update or remove in the method. Causes the node to be
deleted when its value matches DefValue.
</short>
</element>
<element name="TConfigStorage.SetDeleteFullPathValue.DefValue">
<short>
Default value stored in the node when AValue does not match DefValue.
</short>
</element>
<element name="TConfigStorage.DeleteFullPath">
<short>
Defines the method used to remove the node at the specified path from the
configuration storage.
</short>
<descr>
<p>
<var>DeleteFullPath</var> is an abstract virtual method in
<var>TConfigStorage</var>. It must be implemented in a descendent class to
perform actions needed to remove the specified node from the storage mechanism
for the class instance.
</p>
<p>
DeleteFullPath always physically removes the node at the specified path. Use
SetDeleteFullPathValue to update or remove a node using a value and default
value.
</p>
<p>
DeleteFullPath is used to implement the DeletePath method.
</p>
</descr>
<seealso>
<link id="TConfigMemStorage.DeleteFullPath"/>
</seealso>
</element>
<element name="TConfigStorage.DeleteFullPath.APath">
<short>
Path to the node deleted in the method.
</short>
</element>
<element name="TConfigStorage.DeleteFullPathValue">
<short>
Defines the method used to delete the node with the specified full path name
from the configuration storage.
</short>
<descr>
<p>
<var>DeleteFullPathValue</var> is an abstract virtual method in
<var>TConfigStorage</var> used to delete the node with the path name specified
in <var>APath</var>. It must be implemented in a descendent class to access the
storage mechanism for the derived class instance.
</p>
<p>
DeleteFullPathValue is used to implement the DeleteValue method.
</p>
</descr>
<seealso>
<link id="TConfigStorage.DeleteValue"/>
</seealso>
</element>
<element name="TConfigStorage.DeleteFullPathValue.APath">
<short>
Fully-qualified path name for the node deleted in the method.
</short>
</element>
<element name="TConfigStorage.WriteProperty">
<short>
Stores one or more property values from an RTTI-enabled persistent object to
the specified path in the configuration storage.
</short>
<descr>
<p>
<var>WriteProperty</var> is based on the actions performed by the
<var>TWriter</var> class in the FPC RTL. Is uses the RTTI property information
passed in the PropInfo argument to access each of the properties in Instance.
No actions are performed for a given property if it does not provide both a
getter and a setter routine for the property value.
</p>
<p>
<var>APath</var> contains the fully-qualified path where value(s) are stored in
the configuration storage.
</p>
<p>
<var>Instance</var> is the RTTI-enabled persistent object with the value(s)
retrieved and written in the method.
</p>
<p>
<var>PropInfo</var> in a pointer to type information for the persistent object
in Instance (and DefInstance). It is used to access each property, and to
convert and store each value in the storage mechanism by calling the SetValue
method.
</p>
<p>
<var>OnlyProperty</var> contains an optional name for a single property name
stored in the method. When omitted (or set to an empty string), all of the
properties in the type information are stored starting at the specified path
using the Name for the property type as an identifier.
</p>
<p>
DefInstance is a persistent object which contains values to be treated as the
default values for the corresponding properties in Instance. When a property
has the same value in both Instance and DefInstance, it is deleted from the
configuration storage. DefInstance can be <b>Nil</b> - but default property
values cannot be determined when omitted.
</p>
<p>
WriteProperty handles values for the following type kinds in property type
information:
</p>
<ul>
<li>tkInteger (including string identifiers for the value)</li>
<li>tkChar</li>
<li>tkEnumeration</li>
<li>tkSet (as comma-delimited identifiers in the set)</li>
<li>tkWChar</li>
<li>tkFloat</li>
<li>tkSString</li>
<li>tkLString</li>
<li>tkAString</li>
<li>tkBool</li>
</ul>
<p>
The following type kinds are <b>not</b> explicitly handled in the current LCL
version:
</p>
<ul>
<li>tkWString</li>
<li>tkInt64</li>
<li>tkQWord</li>
</ul>
</descr>
<seealso/>
</element>
<element name="TConfigStorage.WriteProperty.Path">
<short>
Path where property value(s) from the specified object are stored.
</short>
</element>
<element name="TConfigStorage.WriteProperty.Instance">
<short>
Persistent object with the property value(s) stored in the method.
</short>
</element>
<element name="TConfigStorage.WriteProperty.PropInfo">
<short>
Pointer to the RTTI property information processed in the method.
</short>
</element>
<element name="TConfigStorage.WriteProperty.DefInstance">
<short>
Persistent object with the default value(s) for properties processed in the
method.
</short>
</element>
<element name="TConfigStorage.WriteProperty.OnlyProperty">
<short>
Specifies a single property name to the stored in the method. All properties in
PropInfo are stored when omitted (or set to '').
</short>
</element>
<element name="TConfigStorage.ReadProperty">
<short>
Reads value(s) from a path in the configuration storage into the specified
persistent object.
</short>
<descr>
<p>
<var>ReadProperty</var> is based on the actions performed by the
<var>TReader</var> class in the FPC RTL. Is uses the RTTI property information
passed in the <var>PropInfo</var> argument to store the property values in
<var>Instance</var>. No actions are performed if the property information does
not have both a getter and a setter routine for the property value.
</p>
<p>
<var>APath</var> contains the fully-qualified path where value(s) are stored in
the configuration storage.
</p>
<p>
<var>Instance</var> is the RTTI-enabled persistent object where value(s) read
from the configuration storage are stored in the method.
</p>
<p>
<var>PropInfo</var> in a pointer to type information for the persistent object
in Instance (and DefInstance). It is used to access each property, and to
convert and store each value from the storage mechanism using RTTI routines.
</p>
<p>
<var>OnlyProperty</var> contains an optional name for a single property name
handled in the method. When omitted (or set to an empty string), all of the
properties in the type information are read and stored in the properties
starting at the specified path.
</p>
<p>
DefInstance is a persistent object which contains values to be treated as the
default values for the corresponding properties in Instance. If DefInstance is
not specified (or contains <b>Nil</b>), the Instance argument is assigned to
DefInstance.
</p>
<p>
ReadProperty handles values for the following type kinds in property type
information:
</p>
<ul>
<li>tkInteger (including integer which have a string identifier)</li>
<li>tkChar</li>
<li>tkEnumeration</li>
<li>tkSet</li>
<li>tkWChar</li>
<li>tkFloat</li>
<li>tkSString</li>
<li>tkLString</li>
<li>tkAString</li>
<li>tkBool</li>
</ul>
<p>
The following type kinds are <b>not</b> explicitly handled in the current LCL
version:
</p>
<ul>
<li>tkWString</li>
<li>tkInt64</li>
<li>tkQWord</li>
</ul>
</descr>
<seealso/>
</element>
<element name="TConfigStorage.ReadProperty.Path">
<short>
Path where property value(s) are stored in the configuration storage.
</short>
</element>
<element name="TConfigStorage.ReadProperty.Instance">
<short>
Persistent object where value(s) read from storage are stored in the method.
</short>
</element>
<element name="TConfigStorage.ReadProperty.PropInfo">
<short>
Pointer to the RTTI property information processed in the method.
</short>
</element>
<element name="TConfigStorage.ReadProperty.DefInstance">
<short>
Persistent object with the default value(s) for properties processed in the
method.
</short>
</element>
<element name="TConfigStorage.ReadProperty.OnlyProperty">
<short>
Specifies a single property name to the stored in the method. All properties in
PropInfo are stored when omitted (or set to '').
</short>
</element>
<element name="TConfigStorage.Create">
<short>
Constructor for the class instance.
</short>
<descr>
<remark>
Create has an empty implementation in TConfigStorage. Use one of the
descendent classes which re-implements the constructor as needed for its
storage mechanism.
</remark>
</descr>
<seealso/>
</element>
<element name="TConfigStorage.Create.Filename">
<short>File name where configuration data is stored.</short>
</element>
<element name="TConfigStorage.Create.LoadFromDisk">
<short>
<b>True</b> to load values from the specified file if it exists. <b>False</b>
to create a new, empty storage.
</short>
</element>
<element name="TConfigStorage.Destroy">
<short>Destructor for the class instance.</short>
<descr>
<p>
<var>Destroy</var> is the overridden destructor for the class instance. It
frees resources allocated for members in the class instance, and calls the
inherited destructor.
</p>
</descr>
<seealso>
<link id="#rtl.system.TObject.Destroy">TObject.Destroy</link>
</seealso>
</element>
<element name="TConfigStorage.Clear">
<short>
Clears the content in the configuration storage.
</short>
<descr>
<p>
<var>Clear</var> is an abstract virtual method in TConfigStorage. It is
implemented in descendent classes to provide a file- or memory-based
storage mechanism.
</p>
</descr>
<seealso/>
</element>
<element name="TConfigStorage.GetValue">
<short>
Gets the value stored at the specified path relative to the base path in the
configuration storage.
</short>
<descr>
<p>
<var>GetValue</var> is an overloaded method in <var>TConfigStorage</var>. The
overloaded variants allow the value read from the specified path in the
configuration storage to be returned as one of the following types:
</p>
<ul>
<li>String</li>
<li>Integer</li>
<li>Boolean</li>
<li>TRect (returned in the output parameter)</li>
<li>TPoint (returned in the output parameter)</li>
<li>TStrings (returned in the output parameter)</li>
</ul>
<p>
<var>ADefault</var> contains the default value returned if a value is not found
in the storage for the specified path. The argument uses the same type as the
return value for the overloaded methods.
</p>
<p>
GetValue calls GetFullPathValue after using ExtendPath to insert the value
CurrentBasePath at the start of the value in APath. The value in ADefault
is passed to GetFullPathValue as the default value.
</p>
</descr>
<seealso/>
</element>
<element name="TConfigStorage.GetValue.Result">
<short>
Returns the value stored at the specified path.
</short>
</element>
<element name="TConfigStorage.GetValue.APath">
<short>
Path in the configuration storage relative to CurrentBasePath where the value
is stored.
</short>
</element>
<element name="TConfigStorage.GetValue.ADefault">
<short>
Default value used when a value is not found at the specified path.
</short>
</element>
<element name="TConfigStorage.GetValue.ARect">
<short>
Returns the value read from the configuration storage as a TRect type.
</short>
</element>
<element name="TConfigStorage.GetValue.APoint">
<short>
Returns the value read from the configuration storage as a TPoint type.
</short>
</element>
<element name="TConfigStorage.GetValue.List">
<short>
Returns the value read from the configuration storage as a TStrings type.
</short>
</element>
<element name="TConfigStorage.SetValue">
<short>
Stores a value at the specified path in the configuration storage.
</short>
<descr>
<p>
<var>SetValue</var> is an overloaded method in <var>TConfigStorage</var> used
to store the value specified in the <var>AValue</var> argument to the node path
in <var>APath</var>. The overloaded variants allow AValue to be specified using
String, Integer, Boolean, TRect, or TPoint types.
</p>
<p>
APath contains the node path where the value is stored in the storage
mechanism. SetValue calls the ExtendPath method to include the value in
CurrentBasePath prior to the specified node path.
</p>
<p>
The SetFullPathValue method is called to store AValue to the underlying storage
mechanism. Overloads for TRect and TPoint are decomposed and stored as the
members values for the types. For TRect: Left, Top, Right, and Bottom are
stored. For TPoint: X and Y are stored.
</p>
<p>
Use GetValue to read a stored value for a specified node path.
</p>
</descr>
<seealso/>
</element>
<element name="TConfigStorage.SetValue.APath">
<short>
Node path (relative to CurrentBasePath) where the specified value is stored.
</short>
</element>
<element name="TConfigStorage.SetValue.AValue">
<short>
Value stored for the specified node path.
</short>
</element>
<element name="TConfigStorage.SetDeleteValue">
<short>
Updates the value for the specified node path, or deletes it when it contains a
default value.
</short>
<descr>
<p>
<var>SetDeleteValue</var> is an overloaded method in <var>TConfigStorage</var>.
The variants allow the method to be used to store a value using either a
String, Integer, Boolean, TRect, or TPoint type in the <var>AValue</var>
argument.
</p>
<p>
<var>APath</var> is the path to the node where the value is stored. It is
specified with a value relative to the CurrentBasePath property. ExtendPath is
called to insert CurrentBasePath at the start of the node path.
</p>
<p>
<var>DefValue</var> contains the value treated as the default value for the
node path. The overloaded variants use the same type as specified in the AValue
argument.
</p>
<p>
SetDeleteValue calls the SetDeleteFullPathValue method to update or remove the
value at the specified path. When DefValue is equal to AValue, the node path in
APath to be removed from the configuration storage.
</p>
</descr>
<seealso/>
</element>
<element name="TConfigStorage.SetDeleteValue.APath">
<short>
Path to the node value updated or removed in the method.
</short>
</element>
<element name="TConfigStorage.SetDeleteValue.AValue">
<short>
Value stored in the specified node.
</short>
</element>
<element name="TConfigStorage.SetDeleteValue.DefValue">
<short>
Default value which triggers removal of the node when it is the same as AValue.
</short>
</element>
<element name="TConfigStorage.DeletePath">
<short>
Removes the configuration storage node with the specified path.
</short>
<descr>
<p>
Calls ExtendPath to resolve APath to the CurrentBasePath for the storage. Calls
DeleteFullPath to remove the resolved path to the storage node.
</p>
</descr>
<seealso/>
</element>
<element name="TConfigStorage.DeletePath.APath">
<short>
Path to the node removed in the method.
</short>
</element>
<element name="TConfigStorage.DeleteValue">
<short>
Deletes the value stored for the specified path.
</short>
<descr>
<p>
Calls ExtendPath to resolve APath to the CurrentBasePath for the storage. Calls
DeleteFullPathValue to remove value for the resolved node path.
</p>
</descr>
<seealso/>
</element>
<element name="TConfigStorage.DeleteValue.APath">
<short>
Relative path to the node removed in the method.
</short>
</element>
<element name="TConfigStorage.CurrentBasePath">
<short>
Contains the base node path where values are read or written in the storage
mechanism.
</short>
<descr>
<p>
<var>CurrentBasePath</var> is a read-only <var>String</var> property. Its value
is updated when the AppendBasePath and UndoAppendBasePath methods are called in
the class instance. The value is used when the ExtendPath method is called to
resolve a relative node path to its location in the storage mechanism.
</p>
</descr>
<seealso/>
</element>
<element name="TConfigStorage.ExtendPath">
<short>
Resolves a relative node path to the current base path for the storage
mechanism.
</short>
<descr>
<p>
Inserts the value in CurrentBasePath as a prefix for the value in APath.
</p>
</descr>
<seealso/>
</element>
<element name="TConfigStorage.ExtendPath.Result">
<short>
Path to a node after it has been resolved to CurrentBasePath.
</short>
</element>
<element name="TConfigStorage.ExtendPath.APath">
<short>
Relative node path extended with the value in CurrentBasePath.
</short>
</element>
<element name="TConfigStorage.AppendBasePath">
<short>
Appends the specified relative path to the existing value in CurrentBasePath.
</short>
<descr>
<p>
<var>AppendBasePath</var> is a method used to append the relative path
specified for a node in Path to the value in the CurrentBasePath property.
AppendBasePath ensures that a trailing path delimiter ('/') is appended to the
value in CurrentBasePath when it not empty and does not already include the
delimiter.
</p>
<p>
Use UndoAppendBasePath to remove a path node from the value in CurrentBasePath.
</p>
</descr>
<seealso/>
</element>
<element name="TConfigStorage.AppendBasePath.Path">
<short>
Relative path added to the value in CurrentBasePath.
</short>
</element>
<element name="TConfigStorage.UndoAppendBasePath">
<short>
Removes the last node path from the value in CurrentBasePath.
</short>
<descr/>
<seealso/>
</element>
<element name="TConfigStorage.WriteToDisk">
<short>
Defines the method used to flush the values in the configuration storage to the
underlying storage mechanism.
</short>
<descr>
<p>
<var>WriteToDisk</var> is an abstract virtual method in
<var>TConfigStorage</var>. It must be implemented in a descendent class to
perform actions needed to store values to the mechanism used in a derived class.
</p>
</descr>
<seealso>
<link id="#lcl.xmlpropstorage.TXMLConfigStorage.WriteToDisk">TXMLConfigStorage.WriteToDisk</link>
</seealso>
</element>
<element name="TConfigStorage.GetFilename">
<short>
Defines the method used to get the file name where configuration data is stored.
</short>
<descr>
<p>
<var>GetFileName</var> is an abstract virtual <var>String</var> function in <var
>TConfigStorage</var>. It is used to retrieve the file name where configuration
data is stored when the WriteToDisk method is called. It must be implemented in
a descendent class which uses a file as the destination for the storage
mechanism.
</p>
</descr>
<seealso>
<link id="#lcl.xmlpropstorage.TXMLConfigStorage.GetFileName">TXMLConfigStorage.GetFileName</link>
<link id="#lcl.xmlpropstorage.TXMLConfigStorage.WriteToDisk">TXMLConfigStorage.WriteToDisk</link>
</seealso>
</element>
<element name="TConfigStorage.GetFilename.Result">
<short>
Returns the file name where the configuration data is stored.
</short>
</element>
<element name="TConfigStorage.WriteObject">
<short>
Stores property names and values in the specified object to the configuration
storage.
</short>
<descr>
<p>
<var>WriteObject</var> is a method used to store names and values from the
properties in the specified persistent object into the configuration storage.
</p>
<p>
<var>Path</var> contains the location in configuration storage where the
property values are stored. It provides a unique location for the values
stored in the method.
</p>
<p>
<var>Obj</var> is the <var>TPersistent</var> instance with the property
values stored in the method.
</p>
<p>
WriteObject calls <var>WriteProperty</var> for each of the properties
returned from the RTL <var>GetPropList</var> routine. Sub-paths representing
each of the published properties in the object are created by calling the
WriteProperty method.
</p>
<p>
WriteObject (and WriteProperty) rely on RTTI types and routines to get the
values from the persistent object. As such, only published properties can be
serialized; the FPC RTL does not provide RTTI type information for other
protected or public visibility at this time. The properties must have getter
and setter routines (read and write specifiers); otherwise, they are omitted
from the serialized values.
</p>
<p>
Use the <var>OnlyProperty</var> argument to specify the name for a single
property in Obj that should be written in the method. Otherwise, all
properties are stored.
</p>
<p>
Use <var>ReadObject</var> to read values from a given path into a persistent
object instance.
</p>
</descr>
<seealso>
<link id="TConfigStorage.WriteProperty"/>
<link id="TConfigStorage.ReadObject"/>
<link id="#rtl.classes.TPersistent">TPersistent</link>
<link id="#rtl.typinfo.GetPropList">GetPropList</link>
<link id="#rtl.typinfo.GetPropInfo">GetPropInfo</link>
<link id="#rtl.typinfo.TTypeData">TTypeData</link>
</seealso>
</element>
<element name="TConfigStorage.WriteObject.Path">
<short>
Path where property names and values from Obj are stored.
</short>
</element>
<element name="TConfigStorage.WriteObject.Obj">
<short>
Persistent object with properties stored in the method.
</short>
</element>
<element name="TConfigStorage.WriteObject.DefObject">
<short>
Persistent object with default values for the properties in Obj.
</short>
</element>
<element name="TConfigStorage.WriteObject.OnlyProperty">
<short>
Name for a single property that should be written in the method, instead of all properties.
</short>
</element>
<element name="TConfigStorage.ReadObject">
<short>
Reads names and values from the configuration storage into properties for the
specified object instance.
</short>
<descr/>
<seealso/>
</element>
<element name="TConfigStorage.ReadObject.Path">
<short>
Path where the property names and values read in the method are stored.
</short>
</element>
<element name="TConfigStorage.ReadObject.Obj">
<short>
Persistent object where the values read in the method are stored.
</short>
</element>
<element name="TConfigStorage.ReadObject.DefObject">
<short>
Persistent object with the default values for properties updated in the
method.
</short>
</element>
<element name="TConfigStorage.ReadObject.OnlyProperty">
<short>
Name for a single property value read and stored in Obj.
</short>
</element>
<element name="TConfigStorageClass">
<short>
Class reference used to create new instances of TConfigStorage.
</short>
<descr>
<p>
TConfigStorageClass is the type used for the DefaultConfigClass variable in the
Lazarus IDE.
</p>
</descr>
</element>
<element name="TConfigMemStorageNode">
<short>
Implements a storage node used in a memory-based configuration storage.
</short>
<descr/>
<seealso>
<link id="TConfigMemStorageNode.Parent"/>
<link id="TConfigMemStorageNode.Children"/>
<link id="TConfigMemStorage.Root"/>
<link id="CompareConfigMemStorageNodes"/>
<link id="ComparePCharWithConfigMemStorageNode"/>
</seealso>
</element>
<element name="TConfigMemStorageNode.Name">
<short>
Name for the node.
</short>
</element>
<element name="TConfigMemStorageNode.Value">
<short>
Value for the node.
</short>
</element>
<element name="TConfigMemStorageNode.Parent">
<short>
Parent node in the tree structure where the current node is stored.
</short>
<descr/>
<seealso/>
</element>
<element name="TConfigMemStorageNode.Children">
<short>
Child nodes with names and values stored as sub-paths of the current node.
</short>
<descr/>
<seealso/>
</element>
<element name="TConfigMemStorageNode.ClearChilds">
<short>
Frees storage nodes allocated in Children.
</short>
<descr/>
<seealso/>
</element>
<element name="TConfigMemStorageNode.Create">
<short>
Constructor for the class instance.
</short>
<descr>
<p>
<var>Create</var> is the constructor for the class instance. It initializes
values in the Parent and Name properties to the arguments passed to the
constructor.
</p>
</descr>
<seealso/>
</element>
<element name="TConfigMemStorageNode.Create.AParent">
<short>
Node where the current node is stored as a child node.
</short>
</element>
<element name="TConfigMemStorageNode.Create.AName">
<short>
Name for the new storage node.
</short>
</element>
<element name="TConfigMemStorageNode.Destroy">
<short>
Destructor for the class instance.
</short>
<descr>
<p>
<var>Destroy</var> is the overridden destructor for the class instance. It
calls <var>ClearChilds</var> to remove all storage nodes allocated in
<var>Children</var>. It ensures the current class instance is removed from
the <var>Parent</var> node (when assigned).
</p>
<p>
Destroy calls the inherited destructor prior to exiting from the method.
</p>
</descr>
<seealso/>
</element>
<element name="TConfigMemStorageModification">
<short>
Represents modification operations for configuration storage nodes.
</short>
<descr>
<p>
<var>TConfigMemStorageModification</var> is an enumerated type with values
that represent modification operations performed for nodes in a memory-based
configuration storage.
</p>
</descr>
<seealso/>
</element>
<element name="TConfigMemStorageModification.cmsmSet">
<short>
Represents a set or write operation.
</short>
</element>
<element name="TConfigMemStorageModification.cmsmGet">
<short>
Represents a get or read operation.
</short>
</element>
<element name="TConfigMemStorageModification.cmsmDelete">
<short>
Represents a delete operation for a storage node.
</short>
</element>
<element name="TConfigMemStorageModification.cmsmDeleteValue">
<short>
Represents a delete operation for the value in a storage node.
</short>
</element>
<element name="ConfigMemStorageFormatVersion">
<short>
Current version for the storage format used in configuration storage classes.
</short>
<descr/>
<seealso/>
</element>
<element name="TConfigMemStorage">
<short>
Implement a configuration storage class using in-memory storage for values in
the class instance.
</short>
<descr/>
<seealso/>
</element>
<element name="TConfigMemStorage.CreateRoot">
<short>
Creates the root node used to store the values for the memory-based
configuration storage.
</short>
<descr/>
<seealso/>
</element>
<element name="TConfigMemStorage.CreateChilds">
<short>
Creates the tree structure used to store child nodes in the configuration
storage.
</short>
<descr/>
<seealso/>
</element>
<element name="TConfigMemStorage.CreateChilds.Node">
<short>
Memory-based storage node where the child nodes are stored.
</short>
</element>
<element name="TConfigMemStorage.Modify">
<short>
Stores a modified value to the specified path in the configuration storage.
</short>
<descr/>
<seealso/>
</element>
<element name="TConfigMemStorage.Modify.APath">
<short>
Path in the storage where the modified value is stored.
</short>
</element>
<element name="TConfigMemStorage.Modify.Mode">
<short>
Action performed in the modification.
</short>
</element>
<element name="TConfigMemStorage.Modify.AValue">
<short>
New value stored at the specified path in the storage.
</short>
</element>
<element name="TConfigMemStorage.DeleteFullPath">
<short>
Implements the method used to remove the node at the specified path from the
configuration storage.
</short>
<descr>
<p>
<var>DeleteFullPath</var> is an overridden method in
<var>TConfigMemStorage</var>. It must be implemented in a descendent class to
perform actions needed to remove the specified node from the storage mechanism
for the class instance. It calls a private method used to search nodes in the
memory-based storage for the specified node path. When found, the node is
removed.
</p>
<p>
DeleteFullPath is called from the DeletePath method.
</p>
</descr>
<seealso>
<link id="TConfigStorage.DeletePath"/>
</seealso>
</element>
<element name="TConfigMemStorage.DeleteFullPath.APath">
<short>
Path to the node removed in the method.
</short>
</element>
<element name="TConfigMemStorage.DeleteFullPathValue">
<short>
Deletes the node with the specified full path name from the configuration
storage.
</short>
<descr>
</descr>
<seealso/>
</element>
<element name="TConfigMemStorage.DeleteFullPathValue.APath">
<short>
Fully-qualified path to the node removed in the method.
</short>
</element>
<element name="TConfigMemStorage.GetFullPathValue">
<short>
Gets the value from the specified node path with an optional default value when
not found.
</short>
<descr>
<p>
<var>GetFullPathValue</var> is an overloaded method in
<var>TConfigMemStorage</var>. It implements the abstract virtual methods
defined in the TConfigStorage ancestor. The variants allow the value in
<var>ADefault</var> to specified as either a String, Integer, or Boolean type.
Please note that TRect and TPoint are not handled in TConfigMemStorage.
</p>
</descr>
<seealso/>
</element>
<element name="TConfigMemStorage.GetFullPathValue.Result">
<short>
Value stored in the specified node path.
</short>
</element>
<element name="TConfigMemStorage.GetFullPathValue.APath">
<short>
Path to the node where the value is stored.
</short>
</element>
<element name="TConfigMemStorage.GetFullPathValue.ADefault">
<short>
Default value returned when the specified node path is not found in the storage.
</short>
</element>
<element name="TConfigMemStorage.SetDeleteFullPathValue">
<short>
Implements the method used to delete the specified node path or to reset it to
a default value.
</short>
<descr>
<p>
<var>SetDeleteFullPathValue</var> is an overloaded overridden method in
<var>TConfigMemStorage</var>. Overloaded variants of the method allow the
AValue and DefValue arguments to be passed as either String, Integer, or
Boolean types. Both arguments must use the same type. The arguments determine
whether the node is removed or updated with a default value in the storage
mechanism. When both arguments have the same value, the node at APath is
deleted from the storage. Otherwise, the value in DefValue is stored for the
specified node.
</p>
<p>
SetDeleteFullPathValue is called from the SetDeleteValue method after
ExtendPath has been called to include the CurrentBasePath value at the start of
the node path in APath.
</p>
</descr>
<seealso>
<link id="TConfigStorage.SetDeleteFullPathValue"/>
<link id="TConfigStorage.ExtendPath"/>
<link id="TConfigStorage.CurrentBasePath"/>
<link id="#lcl.xmlpropstorage.TXMLConfigStorage">TXMLConfigStorage</link>
</seealso>
</element>
<element name="TConfigMemStorage.SetDeleteFullPathValue.APath">
<short>
Path to the node updated or removed in the method.
</short>
</element>
<element name="TConfigMemStorage.SetDeleteFullPathValue.AValue">
<short>
Value for the node to update or remove in the method. Causes the node to be
deleted when its value matches DefValue.
</short>
</element>
<element name="TConfigMemStorage.SetDeleteFullPathValue.DefValue">
<short>
Default value stored in the node when AValue does not match DefValue.
</short>
</element>
<element name="TConfigMemStorage.SetFullPathValue">
<short>
Implements the method used to resolve the specified node path prior to storing
the specified value.
</short>
<descr>
<p>
<var>SetFullPathValue</var> is an overloaded method in
<var>TConfigStorage</var>. It implements the abstract virtual method introduced
in the TConfigStorage ancestor. The overloaded variants convert
<var>AValue</var> to a String type (when needed) and stores the value in a
memory-based configuration node with the fully-qualified path specified in
<var>APath</var>.
</p>
<p>
SetFullPathValue is called from the SetValue method after ExtendPath has been
called to include the CurrentBasePath value at the start of the node path in
APath.
</p>
</descr>
<seealso>
<link id="TConfigStorage.SetValue"/>
<link id="TConfigStorage.SetFullPathValue"/>
<link id="TConfigStorage.CurrentBasePath"/>
<link id="TConfigStorage.ExtendPath"/>
<link id="#lcl.xmlpropstorage.TXMLConfigStorage">TXMLConfigStorage</link>
</seealso>
</element>
<element name="TConfigMemStorage.SetFullPathValue.APath">
<short>
Resolved path to the node where the specified value is stored.
</short>
</element>
<element name="TConfigMemStorage.SetFullPathValue.AValue">
<short>
Value stored in the specified node path. Overloaded variants allow AValue to be
specified using as either a String, an Integer, or a Boolean type.
</short>
</element>
<element name="TConfigMemStorage.Root">
<short>
TConfigMemStorageNode instance with the root node for the configuration
storage.
</short>
<descr>
<p>
<var>Root</var> is a <var>TConfigMemStorageNode</var> member with the root node
for the storage. The node is created (when needed) when a value is stored to
the memory-based configuration storage, and freed when the class instance is
destroyed. Nodes in the storage are accessed starting at the Root node, and
navigated by accessing the child nodes recursively. The node path reflects the
hierarchy of nodes accessed to reach a specific node.
</p>
</descr>
<seealso>
<link id="TConfigMemStorageNode"/>
</seealso>
</element>
<element name="TConfigMemStorage.GetFilename">
<short>
Re-implements the method used to get the file name where the configuration
items are stored. Not used in TConfigMemStorage.
</short>
<descr/>
<seealso/>
</element>
<element name="TConfigMemStorage.GetFilename.Result">
<short>
Always returns an empty string ('') in TConfigMemStorage.
</short>
</element>
<element name="TConfigMemStorage.WriteToDisk">
<short>
Re-implements the method used to store the configuration items to disk.
</short>
<descr>
<p>
WriteToDisk raises an Exception with the message:
</p>
<code>
'TConfigMemStorage.WriteToDisk invalid operation'
</code>
</descr>
<seealso/>
</element>
<element name="TConfigMemStorage.Destroy">
<short>
Destructor for the class instance.
</short>
<descr>
<p>
Frees resources allocate to the Root storage node in the class instance.
Calls the inherited destructor prior to exit.
</p>
</descr>
<seealso/>
</element>
<element name="TConfigMemStorage.Clear">
<short>
Clears the storage nodes in the memory-based configuration storage.
</short>
<descr>
<p>
Free resources allocated to the Root storage node in the class instance.
</p>
</descr>
<seealso/>
</element>
<element name="TConfigMemStorage.SaveToConfig">
<short>
Save the storage nodes to the specified path in another configuration
storage class instance.
</short>
<descr/>
<seealso/>
</element>
<element name="TConfigMemStorage.SaveToConfig.Config">
<short>
Configuration storage instance where values are stored.
</short>
</element>
<element name="TConfigMemStorage.SaveToConfig.APath">
<short>
Path to the location in Config where values in the current class instance are
stored.
</short>
</element>
<element name="TConfigMemStorage.LoadFromConfig">
<short>
Loads storage nodes from the specified path in another configuration storage
class instance.
</short>
<descr/>
<seealso/>
</element>
<element name="TConfigMemStorage.LoadFromConfig.Config">
<short>
Configuration storage instance with the values loaded into the current class.
</short>
</element>
<element name="TConfigMemStorage.LoadFromConfig.APath">
<short>
Path to the values in Config which are loaded in the method.
</short>
</element>
<element name="TConfigMemStorage.WriteDebugReport">
<short>
Generates the content in the Root node in a format suitable for debugger
output.
</short>
<descr/>
<seealso/>
</element>
<element name="LoadStringToStringTree">
<short>
Loads names and values at the specified path in a configuration storage
instance to the specified Tree.
</short>
<descr/>
<seealso/>
</element>
<element name="LoadStringToStringTree.Config">
<short>
Configuration storage instance with the names and values loaded into the tree.
</short>
</element>
<element name="LoadStringToStringTree.Path">
<short>
Path with the item names and values loaded from Config.
</short>
</element>
<element name="LoadStringToStringTree.Tree">
<short>
String map where the names and values for configuration items stored in the
routine.
</short>
</element>
<element name="SaveStringToStringTree">
<short>
Not used in the current LCL version.
</short>
<descr>
<p>
<var>SaveStringToStringTree</var> is a routine used to save values found in the
specified Tree structure to a TConfigStorage instance under the specified path.
</p>
</descr>
<seealso/>
</element>
<element name="SaveStringToStringTree.Config">
<short>
Configuration storage where the value(s) in Tree are stored.
</short>
</element>
<element name="SaveStringToStringTree.Path">
<short>
Path to the node in Config where the value(s) in Tree are stored.
</short>
</element>
<element name="SaveStringToStringTree.Tree">
<short>
String map enumerator with the values stored in the routine.
</short>
</element>
<element name="DateAsCfgStrFormat">
<short>
Default locale-independent format used for date values in DateToCfgStr.
</short>
<descr/>
<version>
Added in LazUtils version 3.0.
</version>
<seealso/>
</element>
<element name="DateTimeAsCfgStrFormat">
<short>
Default locale-independent format used for date/time values.
</short>
<descr/>
<version>
Added in LazUtils version 3.0.
</version>
<seealso/>
</element>
<element name="DateToCfgStr">
<short>
Returns a string representation for TDateTime value using the specified format.
</short>
<descr/>
<version>
Added in LazUtils version 3.0.
</version>
<seealso/>
</element>
<element name="DateToCfgStr.Result">
<short>
String with the date and/or time represented using the specified format.
</short>
</element>
<element name="DateToCfgStr.Date">
<short>
TDateTime value converted in the routine.
</short>
</element>
<element name="DateToCfgStr.AFormat">
<short>
Format for the date/time value. Default value is defined in the
DateAsCfgStrFormat constant and represents the date part of the specified
value.
</short>
</element>
<element name="CfgStrToDate">
<short>
Converts a string with a date/time value using the specified format to the
TDateTime output value.
</short>
<descr/>
<version>
Added in LazUtils version 3.0.
</version>
<seealso/>
</element>
<element name="CfgStrToDate.Result">
<short>
<b>True</b> if the string was successfully converted to a TDateTIme value in
the routine.
</short>
</element>
<element name="CfgStrToDate.s">
<short>
String with the date and/or time value converted in the routine.
</short>
</element>
<element name="CfgStrToDate.Date">
<short>
Returns the TDateTime value for the specified string, or an empty TDateTime
value (0.0) when the routine returns <b>False</b>.
</short>
</element>
<element name="CfgStrToDate.AFormat">
<short>
Format used for the date/time value passed in the s argument.
</short>
</element>
<element name="CompareConfigMemStorageNames">
<short>
Compares the specified PChar values to determine the relative order for the
memory node paths.
</short>
<descr/>
<seealso/>
</element>
<element name="CompareConfigMemStorageNames.Result">
<short>
Returns 0 if the arguments have the same value (or both are empty).
Returns -1 if p1 has a shorter path length than (comes before) p2.
Returns 1 if p1 has a longer path length than (comes after) p2.
</short>
</element>
<element name="CompareConfigMemStorageNames.p1">
<short>
Node path compared up to the first '/' or #0 character.
</short>
</element>
<element name="CompareConfigMemStorageNames.p2">
<short>
Node path compared up to the first '/' or #0 character.
</short>
</element>
<element name="CompareConfigMemStorageNodes">
<short>
Compares the names for the specified memory-based storage nodes to determine
their relative order.
</short>
<descr/>
<seealso/>
</element>
<element name="CompareConfigMemStorageNodes.Result">
<short>
Returns 0 if the node names have the same value (or both are empty).
Returns -1 if Node1 has a node name shorter than (comes before) Node2.
Returns 1 if Node1 has a node name longer than (comes before) Node2.
</short>
</element>
<element name="CompareConfigMemStorageNodes.Node1">
<short>
Memory-based storage node compared in the routine.
</short>
</element>
<element name="CompareConfigMemStorageNodes.Node2">
<short>
Memory-based storage node compared in the routine.
</short>
</element>
<element name="ComparePCharWithConfigMemStorageNode">
<short>
Compares the specified string to the name for a the specified memory-based
storage nodes to determine their relative order.
</short>
<descr/>
<seealso/>
</element>
<element name="ComparePCharWithConfigMemStorageNode.Result">
<short>
Returns 0 if the string and the node name have the same value (or both are empty).
Returns -1 if the string is shorter than (comes before) the node name in ANode.
Returns 1 if the string is longer than (comes after) the node name in ANode.
</short>
</element>
<element name="ComparePCharWithConfigMemStorageNode.aPChar">
<short>
Pointer to the null-terminated character values compared in the routine.
</short>
</element>
<element name="ComparePCharWithConfigMemStorageNode.ANode">
<short>
Memory-based storage node with the name compared in the routine.
</short>
</element>
</module>
<!-- LazConfigStorage -->
</package>
</fpdoc-descriptions>
|