/usr/share/doc/libjuce/apiref/classValueTree.html is in libjuce-doc 4.3.0~repack-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 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 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JUCE: ValueTree Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">JUCE
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="classValueTree-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ValueTree Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A powerful tree structure that can be used to hold free-form data, and which can handle its own undo and redo behaviour.
<a href="classValueTree.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structValueTree_1_1Iterator.html">Iterator</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree_1_1Listener.html">Listener</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classValueTree_1_1Listener.html" title="Listener class for events that happen to a ValueTree. ">Listener</a> class for events that happen to a <a class="el" href="classValueTree.html" title="A powerful tree structure that can be used to hold free-form data, and which can handle its own undo ...">ValueTree</a>. <a href="classValueTree_1_1Listener.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad5671081941b3db9db42bf7fcbd2629c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#ad5671081941b3db9db42bf7fcbd2629c">ValueTree</a> () noexcept</td></tr>
<tr class="memdesc:ad5671081941b3db9db42bf7fcbd2629c"><td class="mdescLeft"> </td><td class="mdescRight">Creates an empty, invalid <a class="el" href="classValueTree.html" title="A powerful tree structure that can be used to hold free-form data, and which can handle its own undo ...">ValueTree</a>. <a href="#ad5671081941b3db9db42bf7fcbd2629c">More...</a><br /></td></tr>
<tr class="separator:ad5671081941b3db9db42bf7fcbd2629c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af2f66bc6973b9a7561af455bd6fb331c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#af2f66bc6973b9a7561af455bd6fb331c">ValueTree</a> (const <a class="el" href="classIdentifier.html">Identifier</a> &type)</td></tr>
<tr class="memdesc:af2f66bc6973b9a7561af455bd6fb331c"><td class="mdescLeft"> </td><td class="mdescRight">Creates an empty <a class="el" href="classValueTree.html" title="A powerful tree structure that can be used to hold free-form data, and which can handle its own undo ...">ValueTree</a> with the given type name. <a href="#af2f66bc6973b9a7561af455bd6fb331c">More...</a><br /></td></tr>
<tr class="separator:af2f66bc6973b9a7561af455bd6fb331c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac96c26d40b84ef461c1afb882453612c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#ac96c26d40b84ef461c1afb882453612c">ValueTree</a> (const <a class="el" href="classValueTree.html">ValueTree</a> &) noexcept</td></tr>
<tr class="memdesc:ac96c26d40b84ef461c1afb882453612c"><td class="mdescLeft"> </td><td class="mdescRight">Creates a reference to another <a class="el" href="classValueTree.html" title="A powerful tree structure that can be used to hold free-form data, and which can handle its own undo ...">ValueTree</a>. <a href="#ac96c26d40b84ef461c1afb882453612c">More...</a><br /></td></tr>
<tr class="separator:ac96c26d40b84ef461c1afb882453612c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac064e1f6095e5f21fc065d9f6b76a407"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classValueTree.html">ValueTree</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#ac064e1f6095e5f21fc065d9f6b76a407">operator=</a> (const <a class="el" href="classValueTree.html">ValueTree</a> &)</td></tr>
<tr class="memdesc:ac064e1f6095e5f21fc065d9f6b76a407"><td class="mdescLeft"> </td><td class="mdescRight">Makes this object reference another node. <a href="#ac064e1f6095e5f21fc065d9f6b76a407">More...</a><br /></td></tr>
<tr class="separator:ac064e1f6095e5f21fc065d9f6b76a407"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab7492a326b17d3840f6632137295e6f9"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#ab7492a326b17d3840f6632137295e6f9">ValueTree</a> (<a class="el" href="classValueTree.html">ValueTree</a> &&) noexcept</td></tr>
<tr class="separator:ab7492a326b17d3840f6632137295e6f9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4e0b4721cb1ec7f79c59192df3b97bcc"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a4e0b4721cb1ec7f79c59192df3b97bcc">~ValueTree</a> ()</td></tr>
<tr class="memdesc:a4e0b4721cb1ec7f79c59192df3b97bcc"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a4e0b4721cb1ec7f79c59192df3b97bcc">More...</a><br /></td></tr>
<tr class="separator:a4e0b4721cb1ec7f79c59192df3b97bcc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a998b47680444a00866db876dada8f254"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a998b47680444a00866db876dada8f254">operator==</a> (const <a class="el" href="classValueTree.html">ValueTree</a> &) const noexcept</td></tr>
<tr class="memdesc:a998b47680444a00866db876dada8f254"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if both this and the other tree node refer to the same underlying structure. <a href="#a998b47680444a00866db876dada8f254">More...</a><br /></td></tr>
<tr class="separator:a998b47680444a00866db876dada8f254"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae70dad6ed84e611492a1c682a83fcce5"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#ae70dad6ed84e611492a1c682a83fcce5">operator!=</a> (const <a class="el" href="classValueTree.html">ValueTree</a> &) const noexcept</td></tr>
<tr class="memdesc:ae70dad6ed84e611492a1c682a83fcce5"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this and the other node refer to different underlying structures. <a href="#ae70dad6ed84e611492a1c682a83fcce5">More...</a><br /></td></tr>
<tr class="separator:ae70dad6ed84e611492a1c682a83fcce5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac5fd1de59147fcd2cbf94c521d7e8594"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#ac5fd1de59147fcd2cbf94c521d7e8594">isEquivalentTo</a> (const <a class="el" href="classValueTree.html">ValueTree</a> &) const</td></tr>
<tr class="memdesc:ac5fd1de59147fcd2cbf94c521d7e8594"><td class="mdescLeft"> </td><td class="mdescRight">Performs a deep comparison between the properties and children of two trees. <a href="#ac5fd1de59147fcd2cbf94c521d7e8594">More...</a><br /></td></tr>
<tr class="separator:ac5fd1de59147fcd2cbf94c521d7e8594"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9c1506afbe6b840e4ab43fabf275845a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a9c1506afbe6b840e4ab43fabf275845a">isValid</a> () const noexcept</td></tr>
<tr class="memdesc:a9c1506afbe6b840e4ab43fabf275845a"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this node refers to some valid data. <a href="#a9c1506afbe6b840e4ab43fabf275845a">More...</a><br /></td></tr>
<tr class="separator:a9c1506afbe6b840e4ab43fabf275845a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa0bb4e88b31f73f802799d6ebb324878"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classValueTree.html">ValueTree</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#aa0bb4e88b31f73f802799d6ebb324878">createCopy</a> () const</td></tr>
<tr class="memdesc:aa0bb4e88b31f73f802799d6ebb324878"><td class="mdescLeft"> </td><td class="mdescRight">Returns a deep copy of this tree and all its sub-nodes. <a href="#aa0bb4e88b31f73f802799d6ebb324878">More...</a><br /></td></tr>
<tr class="separator:aa0bb4e88b31f73f802799d6ebb324878"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaba6256213ee02c418e9ef3d320f0ff1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classIdentifier.html">Identifier</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#aaba6256213ee02c418e9ef3d320f0ff1">getType</a> () const noexcept</td></tr>
<tr class="memdesc:aaba6256213ee02c418e9ef3d320f0ff1"><td class="mdescLeft"> </td><td class="mdescRight">Returns the type of this node. <a href="#aaba6256213ee02c418e9ef3d320f0ff1">More...</a><br /></td></tr>
<tr class="separator:aaba6256213ee02c418e9ef3d320f0ff1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5d41bc2066cae65b69aa614aa0f68ff1"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a5d41bc2066cae65b69aa614aa0f68ff1">hasType</a> (const <a class="el" href="classIdentifier.html">Identifier</a> &typeName) const noexcept</td></tr>
<tr class="memdesc:a5d41bc2066cae65b69aa614aa0f68ff1"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the node has this type. <a href="#a5d41bc2066cae65b69aa614aa0f68ff1">More...</a><br /></td></tr>
<tr class="separator:a5d41bc2066cae65b69aa614aa0f68ff1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a16875a1c5f41f03f609a9d7870171fd6"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classvar.html">var</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a16875a1c5f41f03f609a9d7870171fd6">getProperty</a> (const <a class="el" href="classIdentifier.html">Identifier</a> &name) const noexcept</td></tr>
<tr class="memdesc:a16875a1c5f41f03f609a9d7870171fd6"><td class="mdescLeft"> </td><td class="mdescRight">Returns the value of a named property. <a href="#a16875a1c5f41f03f609a9d7870171fd6">More...</a><br /></td></tr>
<tr class="separator:a16875a1c5f41f03f609a9d7870171fd6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adc7c731c09608f59e9372b9221e35a17"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classvar.html">var</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#adc7c731c09608f59e9372b9221e35a17">getProperty</a> (const <a class="el" href="classIdentifier.html">Identifier</a> &name, const <a class="el" href="classvar.html">var</a> &defaultReturnValue) const</td></tr>
<tr class="memdesc:adc7c731c09608f59e9372b9221e35a17"><td class="mdescLeft"> </td><td class="mdescRight">Returns the value of a named property, or the value of defaultReturnValue if the property doesn't exist. <a href="#adc7c731c09608f59e9372b9221e35a17">More...</a><br /></td></tr>
<tr class="separator:adc7c731c09608f59e9372b9221e35a17"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad22d040f68cf2f91784e18573cc6949a"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classvar.html">var</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#ad22d040f68cf2f91784e18573cc6949a">getPropertyPointer</a> (const <a class="el" href="classIdentifier.html">Identifier</a> &name) const noexcept</td></tr>
<tr class="memdesc:ad22d040f68cf2f91784e18573cc6949a"><td class="mdescLeft"> </td><td class="mdescRight">Returns a pointer to the value of a named property, or nullptr if the property doesn't exist. <a href="#ad22d040f68cf2f91784e18573cc6949a">More...</a><br /></td></tr>
<tr class="separator:ad22d040f68cf2f91784e18573cc6949a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a55c5127906a252590c8a64c48c5e99d3"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classvar.html">var</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a55c5127906a252590c8a64c48c5e99d3">operator[]</a> (const <a class="el" href="classIdentifier.html">Identifier</a> &name) const noexcept</td></tr>
<tr class="memdesc:a55c5127906a252590c8a64c48c5e99d3"><td class="mdescLeft"> </td><td class="mdescRight">Returns the value of a named property. <a href="#a55c5127906a252590c8a64c48c5e99d3">More...</a><br /></td></tr>
<tr class="separator:a55c5127906a252590c8a64c48c5e99d3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad236114dc2a8c41c799f1fc51d1614bd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classValueTree.html">ValueTree</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#ad236114dc2a8c41c799f1fc51d1614bd">setProperty</a> (const <a class="el" href="classIdentifier.html">Identifier</a> &name, const <a class="el" href="classvar.html">var</a> &newValue, <a class="el" href="classUndoManager.html">UndoManager</a> *undoManager)</td></tr>
<tr class="memdesc:ad236114dc2a8c41c799f1fc51d1614bd"><td class="mdescLeft"> </td><td class="mdescRight">Changes a named property of the node. <a href="#ad236114dc2a8c41c799f1fc51d1614bd">More...</a><br /></td></tr>
<tr class="separator:ad236114dc2a8c41c799f1fc51d1614bd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0dbec0d665fb9d57b9fd7b3189ec0ee0"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a0dbec0d665fb9d57b9fd7b3189ec0ee0">hasProperty</a> (const <a class="el" href="classIdentifier.html">Identifier</a> &name) const noexcept</td></tr>
<tr class="memdesc:a0dbec0d665fb9d57b9fd7b3189ec0ee0"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the node contains a named property. <a href="#a0dbec0d665fb9d57b9fd7b3189ec0ee0">More...</a><br /></td></tr>
<tr class="separator:a0dbec0d665fb9d57b9fd7b3189ec0ee0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2a07b801bd317aa8bf1ee9da5644fc35"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a2a07b801bd317aa8bf1ee9da5644fc35">removeProperty</a> (const <a class="el" href="classIdentifier.html">Identifier</a> &name, <a class="el" href="classUndoManager.html">UndoManager</a> *undoManager)</td></tr>
<tr class="memdesc:a2a07b801bd317aa8bf1ee9da5644fc35"><td class="mdescLeft"> </td><td class="mdescRight">Removes a property from the node. <a href="#a2a07b801bd317aa8bf1ee9da5644fc35">More...</a><br /></td></tr>
<tr class="separator:a2a07b801bd317aa8bf1ee9da5644fc35"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2f750331b6a680f48751302be9313467"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a2f750331b6a680f48751302be9313467">removeAllProperties</a> (<a class="el" href="classUndoManager.html">UndoManager</a> *undoManager)</td></tr>
<tr class="memdesc:a2f750331b6a680f48751302be9313467"><td class="mdescLeft"> </td><td class="mdescRight">Removes all properties from the node. <a href="#a2f750331b6a680f48751302be9313467">More...</a><br /></td></tr>
<tr class="separator:a2f750331b6a680f48751302be9313467"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a018730ee95c743705aa9132a37829b32"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a018730ee95c743705aa9132a37829b32">getNumProperties</a> () const noexcept</td></tr>
<tr class="memdesc:a018730ee95c743705aa9132a37829b32"><td class="mdescLeft"> </td><td class="mdescRight">Returns the total number of properties that the node contains. <a href="#a018730ee95c743705aa9132a37829b32">More...</a><br /></td></tr>
<tr class="separator:a018730ee95c743705aa9132a37829b32"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6ea2ce53b4759a37d58e3f99d9702e36"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classIdentifier.html">Identifier</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a6ea2ce53b4759a37d58e3f99d9702e36">getPropertyName</a> (int index) const noexcept</td></tr>
<tr class="memdesc:a6ea2ce53b4759a37d58e3f99d9702e36"><td class="mdescLeft"> </td><td class="mdescRight">Returns the identifier of the property with a given index. <a href="#a6ea2ce53b4759a37d58e3f99d9702e36">More...</a><br /></td></tr>
<tr class="separator:a6ea2ce53b4759a37d58e3f99d9702e36"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa36d40c533583c723be757c77ade1a5c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classValue.html">Value</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#aa36d40c533583c723be757c77ade1a5c">getPropertyAsValue</a> (const <a class="el" href="classIdentifier.html">Identifier</a> &name, <a class="el" href="classUndoManager.html">UndoManager</a> *undoManager)</td></tr>
<tr class="memdesc:aa36d40c533583c723be757c77ade1a5c"><td class="mdescLeft"> </td><td class="mdescRight">Returns a <a class="el" href="classValue.html" title="Represents a shared variant value. ">Value</a> object that can be used to control and respond to one of the tree's properties. <a href="#aa36d40c533583c723be757c77ade1a5c">More...</a><br /></td></tr>
<tr class="separator:aa36d40c533583c723be757c77ade1a5c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad2596a93fa05a1a0c95cd6c275e77982"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#ad2596a93fa05a1a0c95cd6c275e77982">copyPropertiesFrom</a> (const <a class="el" href="classValueTree.html">ValueTree</a> &source, <a class="el" href="classUndoManager.html">UndoManager</a> *undoManager)</td></tr>
<tr class="memdesc:ad2596a93fa05a1a0c95cd6c275e77982"><td class="mdescLeft"> </td><td class="mdescRight">Overwrites all the properties in this tree with the properties of the source tree. <a href="#ad2596a93fa05a1a0c95cd6c275e77982">More...</a><br /></td></tr>
<tr class="separator:ad2596a93fa05a1a0c95cd6c275e77982"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a72c1b4a7e3b9518568d4f692358c25e5"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a72c1b4a7e3b9518568d4f692358c25e5">getNumChildren</a> () const noexcept</td></tr>
<tr class="memdesc:a72c1b4a7e3b9518568d4f692358c25e5"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of child nodes belonging to this one. <a href="#a72c1b4a7e3b9518568d4f692358c25e5">More...</a><br /></td></tr>
<tr class="separator:a72c1b4a7e3b9518568d4f692358c25e5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3f89053219ec515f24997a115cfd74e5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classValueTree.html">ValueTree</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a3f89053219ec515f24997a115cfd74e5">getChild</a> (int index) const</td></tr>
<tr class="memdesc:a3f89053219ec515f24997a115cfd74e5"><td class="mdescLeft"> </td><td class="mdescRight">Returns one of this node's child nodes. <a href="#a3f89053219ec515f24997a115cfd74e5">More...</a><br /></td></tr>
<tr class="separator:a3f89053219ec515f24997a115cfd74e5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4047208c32c4e024a1f2809d1c35be48"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classValueTree.html">ValueTree</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a4047208c32c4e024a1f2809d1c35be48">getChildWithName</a> (const <a class="el" href="classIdentifier.html">Identifier</a> &type) const</td></tr>
<tr class="memdesc:a4047208c32c4e024a1f2809d1c35be48"><td class="mdescLeft"> </td><td class="mdescRight">Returns the first child node with the specified type name. <a href="#a4047208c32c4e024a1f2809d1c35be48">More...</a><br /></td></tr>
<tr class="separator:a4047208c32c4e024a1f2809d1c35be48"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aafb29876616f005939915de3e6968818"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classValueTree.html">ValueTree</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#aafb29876616f005939915de3e6968818">getOrCreateChildWithName</a> (const <a class="el" href="classIdentifier.html">Identifier</a> &type, <a class="el" href="classUndoManager.html">UndoManager</a> *undoManager)</td></tr>
<tr class="memdesc:aafb29876616f005939915de3e6968818"><td class="mdescLeft"> </td><td class="mdescRight">Returns the first child node with the specified type name, creating and adding a child with this name if there wasn't already one there. <a href="#aafb29876616f005939915de3e6968818">More...</a><br /></td></tr>
<tr class="separator:aafb29876616f005939915de3e6968818"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa17ae8b3ef8149fe5b9cc8b37d4ebd7d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classValueTree.html">ValueTree</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#aa17ae8b3ef8149fe5b9cc8b37d4ebd7d">getChildWithProperty</a> (const <a class="el" href="classIdentifier.html">Identifier</a> &propertyName, const <a class="el" href="classvar.html">var</a> &propertyValue) const</td></tr>
<tr class="memdesc:aa17ae8b3ef8149fe5b9cc8b37d4ebd7d"><td class="mdescLeft"> </td><td class="mdescRight">Looks for the first child node that has the specified property value. <a href="#aa17ae8b3ef8149fe5b9cc8b37d4ebd7d">More...</a><br /></td></tr>
<tr class="separator:aa17ae8b3ef8149fe5b9cc8b37d4ebd7d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a93d639299ef9dfedc651544e05f06693"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a93d639299ef9dfedc651544e05f06693">addChild</a> (const <a class="el" href="classValueTree.html">ValueTree</a> &child, int index, <a class="el" href="classUndoManager.html">UndoManager</a> *undoManager)</td></tr>
<tr class="memdesc:a93d639299ef9dfedc651544e05f06693"><td class="mdescLeft"> </td><td class="mdescRight">Adds a child to this node. <a href="#a93d639299ef9dfedc651544e05f06693">More...</a><br /></td></tr>
<tr class="separator:a93d639299ef9dfedc651544e05f06693"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a52b15bdb0b4a04b81c04e7059bb926c4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a52b15bdb0b4a04b81c04e7059bb926c4">removeChild</a> (const <a class="el" href="classValueTree.html">ValueTree</a> &child, <a class="el" href="classUndoManager.html">UndoManager</a> *undoManager)</td></tr>
<tr class="memdesc:a52b15bdb0b4a04b81c04e7059bb926c4"><td class="mdescLeft"> </td><td class="mdescRight">Removes the specified child from this node's child-list. <a href="#a52b15bdb0b4a04b81c04e7059bb926c4">More...</a><br /></td></tr>
<tr class="separator:a52b15bdb0b4a04b81c04e7059bb926c4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3bee3734652dec6bb1d5c351a1268fc0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a3bee3734652dec6bb1d5c351a1268fc0">removeChild</a> (int childIndex, <a class="el" href="classUndoManager.html">UndoManager</a> *undoManager)</td></tr>
<tr class="memdesc:a3bee3734652dec6bb1d5c351a1268fc0"><td class="mdescLeft"> </td><td class="mdescRight">Removes a child from this node's child-list. <a href="#a3bee3734652dec6bb1d5c351a1268fc0">More...</a><br /></td></tr>
<tr class="separator:a3bee3734652dec6bb1d5c351a1268fc0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a91f8a28e02a782b0c95f855d0c29f0d9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a91f8a28e02a782b0c95f855d0c29f0d9">removeAllChildren</a> (<a class="el" href="classUndoManager.html">UndoManager</a> *undoManager)</td></tr>
<tr class="memdesc:a91f8a28e02a782b0c95f855d0c29f0d9"><td class="mdescLeft"> </td><td class="mdescRight">Removes all child-nodes from this node. <a href="#a91f8a28e02a782b0c95f855d0c29f0d9">More...</a><br /></td></tr>
<tr class="separator:a91f8a28e02a782b0c95f855d0c29f0d9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab7d20bf6964bfc8c4a975543bca8ce53"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#ab7d20bf6964bfc8c4a975543bca8ce53">moveChild</a> (int currentIndex, int newIndex, <a class="el" href="classUndoManager.html">UndoManager</a> *undoManager)</td></tr>
<tr class="memdesc:ab7d20bf6964bfc8c4a975543bca8ce53"><td class="mdescLeft"> </td><td class="mdescRight">Moves one of the children to a different index. <a href="#ab7d20bf6964bfc8c4a975543bca8ce53">More...</a><br /></td></tr>
<tr class="separator:ab7d20bf6964bfc8c4a975543bca8ce53"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad1973a657c1c2907c9996038e7e756fe"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#ad1973a657c1c2907c9996038e7e756fe">isAChildOf</a> (const <a class="el" href="classValueTree.html">ValueTree</a> &possibleParent) const noexcept</td></tr>
<tr class="memdesc:ad1973a657c1c2907c9996038e7e756fe"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this node is anywhere below the specified parent node. <a href="#ad1973a657c1c2907c9996038e7e756fe">More...</a><br /></td></tr>
<tr class="separator:ad1973a657c1c2907c9996038e7e756fe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aecc3e5c14e02f7ee3a958006d5146b78"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#aecc3e5c14e02f7ee3a958006d5146b78">indexOf</a> (const <a class="el" href="classValueTree.html">ValueTree</a> &child) const noexcept</td></tr>
<tr class="memdesc:aecc3e5c14e02f7ee3a958006d5146b78"><td class="mdescLeft"> </td><td class="mdescRight">Returns the index of a child item in this parent. <a href="#aecc3e5c14e02f7ee3a958006d5146b78">More...</a><br /></td></tr>
<tr class="separator:aecc3e5c14e02f7ee3a958006d5146b78"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad22561c896d9bcdb763d27aacbb5815c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classValueTree.html">ValueTree</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#ad22561c896d9bcdb763d27aacbb5815c">getParent</a> () const noexcept</td></tr>
<tr class="memdesc:ad22561c896d9bcdb763d27aacbb5815c"><td class="mdescLeft"> </td><td class="mdescRight">Returns the parent node that contains this one. <a href="#ad22561c896d9bcdb763d27aacbb5815c">More...</a><br /></td></tr>
<tr class="separator:ad22561c896d9bcdb763d27aacbb5815c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a83099cde9f794842a2378c2935976a90"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classValueTree.html">ValueTree</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a83099cde9f794842a2378c2935976a90">getSibling</a> (int delta) const noexcept</td></tr>
<tr class="memdesc:a83099cde9f794842a2378c2935976a90"><td class="mdescLeft"> </td><td class="mdescRight">Returns one of this node's siblings in its parent's child list. <a href="#a83099cde9f794842a2378c2935976a90">More...</a><br /></td></tr>
<tr class="separator:a83099cde9f794842a2378c2935976a90"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2cf33db0574a9f2673cde96bcfd808c5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structValueTree_1_1Iterator.html">Iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a2cf33db0574a9f2673cde96bcfd808c5">begin</a> () const noexcept</td></tr>
<tr class="memdesc:a2cf33db0574a9f2673cde96bcfd808c5"><td class="mdescLeft"> </td><td class="mdescRight">Returns a start iterator for the children in this tree. <a href="#a2cf33db0574a9f2673cde96bcfd808c5">More...</a><br /></td></tr>
<tr class="separator:a2cf33db0574a9f2673cde96bcfd808c5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a40346edfb70253a482cd0642ac5ac577"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structValueTree_1_1Iterator.html">Iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a40346edfb70253a482cd0642ac5ac577">end</a> () const noexcept</td></tr>
<tr class="memdesc:a40346edfb70253a482cd0642ac5ac577"><td class="mdescLeft"> </td><td class="mdescRight">Returns an end iterator for the children in this tree. <a href="#a40346edfb70253a482cd0642ac5ac577">More...</a><br /></td></tr>
<tr class="separator:a40346edfb70253a482cd0642ac5ac577"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a54eaf13e771e7305a935ecdd8356f63e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classXmlElement.html">XmlElement</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a54eaf13e771e7305a935ecdd8356f63e">createXml</a> () const</td></tr>
<tr class="memdesc:a54eaf13e771e7305a935ecdd8356f63e"><td class="mdescLeft"> </td><td class="mdescRight">Creates an <a class="el" href="classXmlElement.html" title="Used to build a tree of elements representing an XML document. ">XmlElement</a> that holds a complete image of this node and all its children. <a href="#a54eaf13e771e7305a935ecdd8356f63e">More...</a><br /></td></tr>
<tr class="separator:a54eaf13e771e7305a935ecdd8356f63e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a243236064e188c79688c954b1c2e0998"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classString.html">String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a243236064e188c79688c954b1c2e0998">toXmlString</a> () const</td></tr>
<tr class="memdesc:a243236064e188c79688c954b1c2e0998"><td class="mdescLeft"> </td><td class="mdescRight">This returns a string containing an XML representation of the tree. <a href="#a243236064e188c79688c954b1c2e0998">More...</a><br /></td></tr>
<tr class="separator:a243236064e188c79688c954b1c2e0998"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6305ca13b5d95cd526e1ea7a953df365"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a6305ca13b5d95cd526e1ea7a953df365">writeToStream</a> (<a class="el" href="classOutputStream.html">OutputStream</a> &output) const</td></tr>
<tr class="memdesc:a6305ca13b5d95cd526e1ea7a953df365"><td class="mdescLeft"> </td><td class="mdescRight">Stores this tree (and all its children) in a binary format. <a href="#a6305ca13b5d95cd526e1ea7a953df365">More...</a><br /></td></tr>
<tr class="separator:a6305ca13b5d95cd526e1ea7a953df365"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0a0d82471cb1119fc1a7b7018e3af394"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a0a0d82471cb1119fc1a7b7018e3af394">addListener</a> (<a class="el" href="classValueTree_1_1Listener.html">Listener</a> *listener)</td></tr>
<tr class="memdesc:a0a0d82471cb1119fc1a7b7018e3af394"><td class="mdescLeft"> </td><td class="mdescRight">Adds a listener to receive callbacks when this node is changed. <a href="#a0a0d82471cb1119fc1a7b7018e3af394">More...</a><br /></td></tr>
<tr class="separator:a0a0d82471cb1119fc1a7b7018e3af394"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac8930aa94cb6e3714ef9e7449d08e5f6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#ac8930aa94cb6e3714ef9e7449d08e5f6">removeListener</a> (<a class="el" href="classValueTree_1_1Listener.html">Listener</a> *listener)</td></tr>
<tr class="memdesc:ac8930aa94cb6e3714ef9e7449d08e5f6"><td class="mdescLeft"> </td><td class="mdescRight">Removes a listener that was previously added with <a class="el" href="classValueTree.html#a0a0d82471cb1119fc1a7b7018e3af394" title="Adds a listener to receive callbacks when this node is changed. ">addListener()</a>. <a href="#ac8930aa94cb6e3714ef9e7449d08e5f6">More...</a><br /></td></tr>
<tr class="separator:ac8930aa94cb6e3714ef9e7449d08e5f6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a164ff183e358b982b1a1f5dd1176ab88"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a164ff183e358b982b1a1f5dd1176ab88">sendPropertyChangeMessage</a> (const <a class="el" href="classIdentifier.html">Identifier</a> &property)</td></tr>
<tr class="memdesc:a164ff183e358b982b1a1f5dd1176ab88"><td class="mdescLeft"> </td><td class="mdescRight">Causes a property-change callback to be triggered for the specified property, calling any listeners that are registered. <a href="#a164ff183e358b982b1a1f5dd1176ab88">More...</a><br /></td></tr>
<tr class="separator:a164ff183e358b982b1a1f5dd1176ab88"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acdace65667e5bb2036310b4a91dd3a87"><td class="memTemplParams" colspan="2">template<typename ElementComparator > </td></tr>
<tr class="memitem:acdace65667e5bb2036310b4a91dd3a87"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classValueTree.html#acdace65667e5bb2036310b4a91dd3a87">sort</a> (ElementComparator &comparator, <a class="el" href="classUndoManager.html">UndoManager</a> *undoManager, bool retainOrderOfEquivalentItems)</td></tr>
<tr class="memdesc:acdace65667e5bb2036310b4a91dd3a87"><td class="mdescLeft"> </td><td class="mdescRight">This method uses a comparator object to sort the tree's children into order. <a href="#acdace65667e5bb2036310b4a91dd3a87">More...</a><br /></td></tr>
<tr class="separator:acdace65667e5bb2036310b4a91dd3a87"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ade7c3497b915a14168d347b20258122d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#ade7c3497b915a14168d347b20258122d">getReferenceCount</a> () const noexcept</td></tr>
<tr class="memdesc:ade7c3497b915a14168d347b20258122d"><td class="mdescLeft"> </td><td class="mdescRight">Returns the total number of references to the shared underlying data structure that this <a class="el" href="classValueTree.html" title="A powerful tree structure that can be used to hold free-form data, and which can handle its own undo ...">ValueTree</a> is using. <a href="#ade7c3497b915a14168d347b20258122d">More...</a><br /></td></tr>
<tr class="separator:ade7c3497b915a14168d347b20258122d"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a0d2f1bdd6313e53f256ed015986f837a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classValueTree.html">ValueTree</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a0d2f1bdd6313e53f256ed015986f837a">fromXml</a> (const <a class="el" href="classXmlElement.html">XmlElement</a> &xml)</td></tr>
<tr class="memdesc:a0d2f1bdd6313e53f256ed015986f837a"><td class="mdescLeft"> </td><td class="mdescRight">Tries to recreate a node from its XML representation. <a href="#a0d2f1bdd6313e53f256ed015986f837a">More...</a><br /></td></tr>
<tr class="separator:a0d2f1bdd6313e53f256ed015986f837a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad41a9e45b2d15699b4e27bed3b31109c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classValueTree.html">ValueTree</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#ad41a9e45b2d15699b4e27bed3b31109c">readFromStream</a> (<a class="el" href="classInputStream.html">InputStream</a> &input)</td></tr>
<tr class="memdesc:ad41a9e45b2d15699b4e27bed3b31109c"><td class="mdescLeft"> </td><td class="mdescRight">Reloads a tree from a stream that was written with <a class="el" href="classValueTree.html#a6305ca13b5d95cd526e1ea7a953df365" title="Stores this tree (and all its children) in a binary format. ">writeToStream()</a>. <a href="#ad41a9e45b2d15699b4e27bed3b31109c">More...</a><br /></td></tr>
<tr class="separator:ad41a9e45b2d15699b4e27bed3b31109c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9481d856db653baecf76032703858ca5"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classValueTree.html">ValueTree</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#a9481d856db653baecf76032703858ca5">readFromData</a> (const void *data, size_t numBytes)</td></tr>
<tr class="memdesc:a9481d856db653baecf76032703858ca5"><td class="mdescLeft"> </td><td class="mdescRight">Reloads a tree from a data block that was written with <a class="el" href="classValueTree.html#a6305ca13b5d95cd526e1ea7a953df365" title="Stores this tree (and all its children) in a binary format. ">writeToStream()</a>. <a href="#a9481d856db653baecf76032703858ca5">More...</a><br /></td></tr>
<tr class="separator:a9481d856db653baecf76032703858ca5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab5a0858a2f15fef8b61adb6aa2aadc63"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classValueTree.html">ValueTree</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classValueTree.html#ab5a0858a2f15fef8b61adb6aa2aadc63">readFromGZIPData</a> (const void *data, size_t numBytes)</td></tr>
<tr class="memdesc:ab5a0858a2f15fef8b61adb6aa2aadc63"><td class="mdescLeft"> </td><td class="mdescRight">Reloads a tree from a data block that was written with <a class="el" href="classValueTree.html#a6305ca13b5d95cd526e1ea7a953df365" title="Stores this tree (and all its children) in a binary format. ">writeToStream()</a> and then zipped using <a class="el" href="classGZIPCompressorOutputStream.html" title="A stream which uses zlib to compress the data written into it. ">GZIPCompressorOutputStream</a>. <a href="#ab5a0858a2f15fef8b61adb6aa2aadc63">More...</a><br /></td></tr>
<tr class="separator:ab5a0858a2f15fef8b61adb6aa2aadc63"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A powerful tree structure that can be used to hold free-form data, and which can handle its own undo and redo behaviour. </p>
<p>A <a class="el" href="classValueTree.html" title="A powerful tree structure that can be used to hold free-form data, and which can handle its own undo ...">ValueTree</a> contains a list of named properties as var objects, and also holds any number of sub-trees.</p>
<p>Create <a class="el" href="classValueTree.html" title="A powerful tree structure that can be used to hold free-form data, and which can handle its own undo ...">ValueTree</a> objects on the stack, and don't be afraid to copy them around, as they're simply a lightweight reference to a shared data container. Creating a copy of another <a class="el" href="classValueTree.html" title="A powerful tree structure that can be used to hold free-form data, and which can handle its own undo ...">ValueTree</a> simply creates a new reference to the same underlying object - to make a separate, deep copy of a tree you should explicitly call <a class="el" href="classValueTree.html#aa0bb4e88b31f73f802799d6ebb324878" title="Returns a deep copy of this tree and all its sub-nodes. ">createCopy()</a>.</p>
<p>Each <a class="el" href="classValueTree.html" title="A powerful tree structure that can be used to hold free-form data, and which can handle its own undo ...">ValueTree</a> has a type name, in much the same way as an <a class="el" href="classXmlElement.html" title="Used to build a tree of elements representing an XML document. ">XmlElement</a> has a tag name, and much of the structure of a <a class="el" href="classValueTree.html" title="A powerful tree structure that can be used to hold free-form data, and which can handle its own undo ...">ValueTree</a> is similar to an <a class="el" href="classXmlElement.html" title="Used to build a tree of elements representing an XML document. ">XmlElement</a> tree. You can convert a <a class="el" href="classValueTree.html" title="A powerful tree structure that can be used to hold free-form data, and which can handle its own undo ...">ValueTree</a> to and from an <a class="el" href="classXmlElement.html" title="Used to build a tree of elements representing an XML document. ">XmlElement</a>, and as long as the XML doesn't contain text elements, the conversion works well and makes a good serialisation format. They can also be serialised to a binary format, which is very fast and compact.</p>
<p>All the methods that change data take an optional <a class="el" href="classUndoManager.html" title="Manages a list of undo/redo commands. ">UndoManager</a>, which will be used to track any changes to the object. For this to work, you have to be careful to consistently always use the same <a class="el" href="classUndoManager.html" title="Manages a list of undo/redo commands. ">UndoManager</a> for all operations to any node inside the tree.</p>
<p>A <a class="el" href="classValueTree.html" title="A powerful tree structure that can be used to hold free-form data, and which can handle its own undo ...">ValueTree</a> can only be a child of one parent at a time, so if you're moving one from one tree to another, be careful to always remove it first, before adding it. This could also mess up your undo/redo chain, so be wary! In a debug build you should hit assertions if you try to do anything dangerous, but there are still plenty of ways it could go wrong.</p>
<p>Note that although the children in a tree have a fixed order, the properties are not guaranteed to be stored in any particular order, so don't expect that a property's index will correspond to the order in which the property was added, or that it will remain constant when other properties are added or removed.</p>
<p>Listeners can be added to a <a class="el" href="classValueTree.html" title="A powerful tree structure that can be used to hold free-form data, and which can handle its own undo ...">ValueTree</a> to be told when properies change and when nodes are added or removed.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classvar.html" title="A variant class, that can be used to hold a range of primitive values. ">var</a>, <a class="el" href="classXmlElement.html" title="Used to build a tree of elements representing an XML document. ">XmlElement</a> </dd></dl>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="ad5671081941b3db9db42bf7fcbd2629c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5671081941b3db9db42bf7fcbd2629c">§ </a></span>ValueTree() <span class="overload">[1/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ValueTree::ValueTree </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates an empty, invalid <a class="el" href="classValueTree.html" title="A powerful tree structure that can be used to hold free-form data, and which can handle its own undo ...">ValueTree</a>. </p>
<p>A <a class="el" href="classValueTree.html" title="A powerful tree structure that can be used to hold free-form data, and which can handle its own undo ...">ValueTree</a> that is created with this constructor can't actually be used for anything, it's just a default 'null' <a class="el" href="classValueTree.html" title="A powerful tree structure that can be used to hold free-form data, and which can handle its own undo ...">ValueTree</a> that can be returned to indicate some sort of failure. To create a real one, use the constructor that takes a string.</p>
<dl class="section see"><dt>See also</dt><dd>ValueTree::invalid </dd></dl>
</div>
</div>
<a id="af2f66bc6973b9a7561af455bd6fb331c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2f66bc6973b9a7561af455bd6fb331c">§ </a></span>ValueTree() <span class="overload">[2/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ValueTree::ValueTree </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classIdentifier.html">Identifier</a> & </td>
<td class="paramname"><em>type</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates an empty <a class="el" href="classValueTree.html" title="A powerful tree structure that can be used to hold free-form data, and which can handle its own undo ...">ValueTree</a> with the given type name. </p>
<p>Like an <a class="el" href="classXmlElement.html" title="Used to build a tree of elements representing an XML document. ">XmlElement</a>, each <a class="el" href="classValueTree.html" title="A powerful tree structure that can be used to hold free-form data, and which can handle its own undo ...">ValueTree</a> node has a type, which you can access with <a class="el" href="classValueTree.html#aaba6256213ee02c418e9ef3d320f0ff1" title="Returns the type of this node. ">getType()</a> and <a class="el" href="classValueTree.html#a5d41bc2066cae65b69aa614aa0f68ff1" title="Returns true if the node has this type. ">hasType()</a>. </p>
</div>
</div>
<a id="ac96c26d40b84ef461c1afb882453612c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac96c26d40b84ef461c1afb882453612c">§ </a></span>ValueTree() <span class="overload">[3/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ValueTree::ValueTree </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classValueTree.html">ValueTree</a> & </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a reference to another <a class="el" href="classValueTree.html" title="A powerful tree structure that can be used to hold free-form data, and which can handle its own undo ...">ValueTree</a>. </p>
</div>
</div>
<a id="ab7492a326b17d3840f6632137295e6f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7492a326b17d3840f6632137295e6f9">§ </a></span>ValueTree() <span class="overload">[4/4]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ValueTree::ValueTree </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classValueTree.html">ValueTree</a> && </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a4e0b4721cb1ec7f79c59192df3b97bcc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e0b4721cb1ec7f79c59192df3b97bcc">§ </a></span>~ValueTree()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ValueTree::~ValueTree </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Destructor. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac064e1f6095e5f21fc065d9f6b76a407"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac064e1f6095e5f21fc065d9f6b76a407">§ </a></span>operator=()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classValueTree.html">ValueTree</a>& ValueTree::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classValueTree.html">ValueTree</a> & </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Makes this object reference another node. </p>
</div>
</div>
<a id="a998b47680444a00866db876dada8f254"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a998b47680444a00866db876dada8f254">§ </a></span>operator==()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ValueTree::operator== </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classValueTree.html">ValueTree</a> & </td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if both this and the other tree node refer to the same underlying structure. </p>
<p>Note that this isn't a value comparison - two independently-created trees which contain identical data are not considered equal. </p>
</div>
</div>
<a id="ae70dad6ed84e611492a1c682a83fcce5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae70dad6ed84e611492a1c682a83fcce5">§ </a></span>operator!=()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ValueTree::operator!= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classValueTree.html">ValueTree</a> & </td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if this and the other node refer to different underlying structures. </p>
<p>Note that this isn't a value comparison - two independently-created trees which contain identical data are not considered equal. </p>
</div>
</div>
<a id="ac5fd1de59147fcd2cbf94c521d7e8594"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5fd1de59147fcd2cbf94c521d7e8594">§ </a></span>isEquivalentTo()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ValueTree::isEquivalentTo </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classValueTree.html">ValueTree</a> & </td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Performs a deep comparison between the properties and children of two trees. </p>
<p>If all the properties and children of the two trees are the same (recursively), this returns true. The normal <a class="el" href="classValueTree.html#a998b47680444a00866db876dada8f254" title="Returns true if both this and the other tree node refer to the same underlying structure. ">operator==()</a> only checks whether two trees refer to the same shared data structure, so use this method if you need to do a proper value comparison. </p>
</div>
</div>
<a id="a9c1506afbe6b840e4ab43fabf275845a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c1506afbe6b840e4ab43fabf275845a">§ </a></span>isValid()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ValueTree::isValid </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if this node refers to some valid data. </p>
<p>It's hard to create an invalid node, but you might get one returned, e.g. by an out-of-range call to <a class="el" href="classValueTree.html#a3f89053219ec515f24997a115cfd74e5" title="Returns one of this node's child nodes. ">getChild()</a>. </p>
</div>
</div>
<a id="aa0bb4e88b31f73f802799d6ebb324878"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0bb4e88b31f73f802799d6ebb324878">§ </a></span>createCopy()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classValueTree.html">ValueTree</a> ValueTree::createCopy </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a deep copy of this tree and all its sub-nodes. </p>
</div>
</div>
<a id="aaba6256213ee02c418e9ef3d320f0ff1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaba6256213ee02c418e9ef3d320f0ff1">§ </a></span>getType()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classIdentifier.html">Identifier</a> ValueTree::getType </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the type of this node. </p>
<p>The type is specified when the <a class="el" href="classValueTree.html" title="A powerful tree structure that can be used to hold free-form data, and which can handle its own undo ...">ValueTree</a> is created. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classValueTree.html#a5d41bc2066cae65b69aa614aa0f68ff1" title="Returns true if the node has this type. ">hasType</a> </dd></dl>
<p>Referenced by <a class="el" href="classDrawablePath_1_1ValueTreeWrapper_1_1Element.html#ac8097562285b0095974394de4bc59551">DrawablePath::ValueTreeWrapper::Element::getType()</a>.</p>
</div>
</div>
<a id="a5d41bc2066cae65b69aa614aa0f68ff1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d41bc2066cae65b69aa614aa0f68ff1">§ </a></span>hasType()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ValueTree::hasType </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classIdentifier.html">Identifier</a> & </td>
<td class="paramname"><em>typeName</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if the node has this type. </p>
<p>The comparison is case-sensitive. </p>
</div>
</div>
<a id="a16875a1c5f41f03f609a9d7870171fd6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a16875a1c5f41f03f609a9d7870171fd6">§ </a></span>getProperty() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classvar.html">var</a>& ValueTree::getProperty </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classIdentifier.html">Identifier</a> & </td>
<td class="paramname"><em>name</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the value of a named property. </p>
<p>If no such property has been set, this will return a void variant. You can also use operator[] to get a property. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classvar.html" title="A variant class, that can be used to hold a range of primitive values. ">var</a>, <a class="el" href="classValueTree.html#ad236114dc2a8c41c799f1fc51d1614bd" title="Changes a named property of the node. ">setProperty</a>, <a class="el" href="classValueTree.html#ad22d040f68cf2f91784e18573cc6949a" title="Returns a pointer to the value of a named property, or nullptr if the property doesn't exist...">getPropertyPointer</a>, <a class="el" href="classValueTree.html#a0dbec0d665fb9d57b9fd7b3189ec0ee0" title="Returns true if the node contains a named property. ">hasProperty</a> </dd></dl>
</div>
</div>
<a id="adc7c731c09608f59e9372b9221e35a17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc7c731c09608f59e9372b9221e35a17">§ </a></span>getProperty() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classvar.html">var</a> ValueTree::getProperty </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classIdentifier.html">Identifier</a> & </td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classvar.html">var</a> & </td>
<td class="paramname"><em>defaultReturnValue</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the value of a named property, or the value of defaultReturnValue if the property doesn't exist. </p>
<p>You can also use operator[] and getProperty to get a property. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classvar.html" title="A variant class, that can be used to hold a range of primitive values. ">var</a>, <a class="el" href="classValueTree.html#a16875a1c5f41f03f609a9d7870171fd6" title="Returns the value of a named property. ">getProperty</a>, <a class="el" href="classValueTree.html#ad22d040f68cf2f91784e18573cc6949a" title="Returns a pointer to the value of a named property, or nullptr if the property doesn't exist...">getPropertyPointer</a>, <a class="el" href="classValueTree.html#ad236114dc2a8c41c799f1fc51d1614bd" title="Changes a named property of the node. ">setProperty</a>, <a class="el" href="classValueTree.html#a0dbec0d665fb9d57b9fd7b3189ec0ee0" title="Returns true if the node contains a named property. ">hasProperty</a> </dd></dl>
</div>
</div>
<a id="ad22d040f68cf2f91784e18573cc6949a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad22d040f68cf2f91784e18573cc6949a">§ </a></span>getPropertyPointer()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classvar.html">var</a>* ValueTree::getPropertyPointer </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classIdentifier.html">Identifier</a> & </td>
<td class="paramname"><em>name</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a pointer to the value of a named property, or nullptr if the property doesn't exist. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classvar.html" title="A variant class, that can be used to hold a range of primitive values. ">var</a>, <a class="el" href="classValueTree.html#a16875a1c5f41f03f609a9d7870171fd6" title="Returns the value of a named property. ">getProperty</a>, <a class="el" href="classValueTree.html#ad236114dc2a8c41c799f1fc51d1614bd" title="Changes a named property of the node. ">setProperty</a>, <a class="el" href="classValueTree.html#a0dbec0d665fb9d57b9fd7b3189ec0ee0" title="Returns true if the node contains a named property. ">hasProperty</a> </dd></dl>
<p>Referenced by <a class="el" href="classCachedValue.html#ad1dd20dd34843f4bcfe8516e7a10e871">CachedValue< Type >::forceUpdateOfCachedValue()</a>.</p>
</div>
</div>
<a id="a55c5127906a252590c8a64c48c5e99d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55c5127906a252590c8a64c48c5e99d3">§ </a></span>operator[]()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classvar.html">var</a>& ValueTree::operator[] </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classIdentifier.html">Identifier</a> & </td>
<td class="paramname"><em>name</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the value of a named property. </p>
<p>If no such property has been set, this will return a void variant. This is the same as calling <a class="el" href="classValueTree.html#a16875a1c5f41f03f609a9d7870171fd6" title="Returns the value of a named property. ">getProperty()</a>. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classValueTree.html#a16875a1c5f41f03f609a9d7870171fd6" title="Returns the value of a named property. ">getProperty</a> </dd></dl>
</div>
</div>
<a id="ad236114dc2a8c41c799f1fc51d1614bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad236114dc2a8c41c799f1fc51d1614bd">§ </a></span>setProperty()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classValueTree.html">ValueTree</a>& ValueTree::setProperty </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classIdentifier.html">Identifier</a> & </td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classvar.html">var</a> & </td>
<td class="paramname"><em>newValue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classUndoManager.html">UndoManager</a> * </td>
<td class="paramname"><em>undoManager</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Changes a named property of the node. </p>
<p>The name identifier must not be an empty string. If the undoManager parameter is non-null, its <a class="el" href="classUndoManager.html#a5f8b51dbb061ca3a1a8916938e0e2f49" title="Performs an action and adds it to the undo history list. ">UndoManager::perform()</a> method will be used, so that this change can be undone. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classvar.html" title="A variant class, that can be used to hold a range of primitive values. ">var</a>, <a class="el" href="classValueTree.html#a16875a1c5f41f03f609a9d7870171fd6" title="Returns the value of a named property. ">getProperty</a>, <a class="el" href="classValueTree.html#a2a07b801bd317aa8bf1ee9da5644fc35" title="Removes a property from the node. ">removeProperty</a> </dd></dl>
<dl class="section return"><dt>Returns</dt><dd>a reference to the value tree, so that you can daisy-chain calls to this method. </dd></dl>
<p>Referenced by <a class="el" href="classCachedValue.html#aa30d36d0218f11c28398eb8c11de3768">CachedValue< Type >::setValue()</a>.</p>
</div>
</div>
<a id="a0dbec0d665fb9d57b9fd7b3189ec0ee0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0dbec0d665fb9d57b9fd7b3189ec0ee0">§ </a></span>hasProperty()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ValueTree::hasProperty </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classIdentifier.html">Identifier</a> & </td>
<td class="paramname"><em>name</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if the node contains a named property. </p>
<p>Referenced by <a class="el" href="classCachedValue.html#a032a2eedc5ef836847371cea3b5e8963">CachedValue< Type >::isUsingDefault()</a>.</p>
</div>
</div>
<a id="a2a07b801bd317aa8bf1ee9da5644fc35"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a07b801bd317aa8bf1ee9da5644fc35">§ </a></span>removeProperty()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ValueTree::removeProperty </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classIdentifier.html">Identifier</a> & </td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classUndoManager.html">UndoManager</a> * </td>
<td class="paramname"><em>undoManager</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes a property from the node. </p>
<p>If the undoManager parameter is non-null, its <a class="el" href="classUndoManager.html#a5f8b51dbb061ca3a1a8916938e0e2f49" title="Performs an action and adds it to the undo history list. ">UndoManager::perform()</a> method will be used, so that this change can be undone. </p>
<p>Referenced by <a class="el" href="classCachedValue.html#abf520f7db956e46018d027296488f8fd">CachedValue< Type >::resetToDefault()</a>.</p>
</div>
</div>
<a id="a2f750331b6a680f48751302be9313467"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f750331b6a680f48751302be9313467">§ </a></span>removeAllProperties()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ValueTree::removeAllProperties </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classUndoManager.html">UndoManager</a> * </td>
<td class="paramname"><em>undoManager</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes all properties from the node. </p>
<p>If the undoManager parameter is non-null, its <a class="el" href="classUndoManager.html#a5f8b51dbb061ca3a1a8916938e0e2f49" title="Performs an action and adds it to the undo history list. ">UndoManager::perform()</a> method will be used, so that this change can be undone. </p>
</div>
</div>
<a id="a018730ee95c743705aa9132a37829b32"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a018730ee95c743705aa9132a37829b32">§ </a></span>getNumProperties()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int ValueTree::getNumProperties </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the total number of properties that the node contains. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classValueTree.html#a16875a1c5f41f03f609a9d7870171fd6" title="Returns the value of a named property. ">getProperty</a>. </dd></dl>
</div>
</div>
<a id="a6ea2ce53b4759a37d58e3f99d9702e36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ea2ce53b4759a37d58e3f99d9702e36">§ </a></span>getPropertyName()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classIdentifier.html">Identifier</a> ValueTree::getPropertyName </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>index</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the identifier of the property with a given index. </p>
<p>Note that properties are not guaranteed to be stored in any particular order, so don't expect that the index will correspond to the order in which the property was added, or that it will remain constant when other properties are added or removed. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classValueTree.html#a018730ee95c743705aa9132a37829b32" title="Returns the total number of properties that the node contains. ">getNumProperties</a> </dd></dl>
</div>
</div>
<a id="aa36d40c533583c723be757c77ade1a5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa36d40c533583c723be757c77ade1a5c">§ </a></span>getPropertyAsValue()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classValue.html">Value</a> ValueTree::getPropertyAsValue </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classIdentifier.html">Identifier</a> & </td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classUndoManager.html">UndoManager</a> * </td>
<td class="paramname"><em>undoManager</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a <a class="el" href="classValue.html" title="Represents a shared variant value. ">Value</a> object that can be used to control and respond to one of the tree's properties. </p>
<p>The <a class="el" href="classValue.html" title="Represents a shared variant value. ">Value</a> object will maintain a reference to this tree, and will use the undo manager when it needs to change the value. Attaching a <a class="el" href="classValue_1_1Listener.html" title="Receives callbacks when a Value object changes. ">Value::Listener</a> to the value object will provide callbacks whenever the property changes. </p>
<p>Referenced by <a class="el" href="classCachedValue.html#afd02fa783537a57a8c4e89b5d6fc0151">CachedValue< Type >::getPropertyAsValue()</a>.</p>
</div>
</div>
<a id="ad2596a93fa05a1a0c95cd6c275e77982"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2596a93fa05a1a0c95cd6c275e77982">§ </a></span>copyPropertiesFrom()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ValueTree::copyPropertiesFrom </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classValueTree.html">ValueTree</a> & </td>
<td class="paramname"><em>source</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classUndoManager.html">UndoManager</a> * </td>
<td class="paramname"><em>undoManager</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Overwrites all the properties in this tree with the properties of the source tree. </p>
<p>Any properties that already exist will be updated; and new ones will be added, and any that are not present in the source tree will be removed. </p>
</div>
</div>
<a id="a72c1b4a7e3b9518568d4f692358c25e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72c1b4a7e3b9518568d4f692358c25e5">§ </a></span>getNumChildren()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int ValueTree::getNumChildren </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the number of child nodes belonging to this one. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classValueTree.html#a3f89053219ec515f24997a115cfd74e5" title="Returns one of this node's child nodes. ">getChild</a> </dd></dl>
</div>
</div>
<a id="a3f89053219ec515f24997a115cfd74e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f89053219ec515f24997a115cfd74e5">§ </a></span>getChild()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classValueTree.html">ValueTree</a> ValueTree::getChild </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>index</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns one of this node's child nodes. </p>
<p>If the index is out of range, it'll return an invalid node. (See <a class="el" href="classValueTree.html#a9c1506afbe6b840e4ab43fabf275845a" title="Returns true if this node refers to some valid data. ">isValid()</a> to find out whether a node is valid). </p>
</div>
</div>
<a id="a4047208c32c4e024a1f2809d1c35be48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4047208c32c4e024a1f2809d1c35be48">§ </a></span>getChildWithName()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classValueTree.html">ValueTree</a> ValueTree::getChildWithName </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classIdentifier.html">Identifier</a> & </td>
<td class="paramname"><em>type</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the first child node with the specified type name. </p>
<p>If no such node is found, it'll return an invalid node. (See <a class="el" href="classValueTree.html#a9c1506afbe6b840e4ab43fabf275845a" title="Returns true if this node refers to some valid data. ">isValid()</a> to find out whether a node is valid). </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classValueTree.html#aafb29876616f005939915de3e6968818" title="Returns the first child node with the specified type name, creating and adding a child with this name...">getOrCreateChildWithName</a> </dd></dl>
</div>
</div>
<a id="aafb29876616f005939915de3e6968818"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aafb29876616f005939915de3e6968818">§ </a></span>getOrCreateChildWithName()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classValueTree.html">ValueTree</a> ValueTree::getOrCreateChildWithName </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classIdentifier.html">Identifier</a> & </td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classUndoManager.html">UndoManager</a> * </td>
<td class="paramname"><em>undoManager</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the first child node with the specified type name, creating and adding a child with this name if there wasn't already one there. </p>
<p>The only time this will return an invalid object is when the object that you're calling the method on is itself invalid. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classValueTree.html#a4047208c32c4e024a1f2809d1c35be48" title="Returns the first child node with the specified type name. ">getChildWithName</a> </dd></dl>
</div>
</div>
<a id="aa17ae8b3ef8149fe5b9cc8b37d4ebd7d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa17ae8b3ef8149fe5b9cc8b37d4ebd7d">§ </a></span>getChildWithProperty()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classValueTree.html">ValueTree</a> ValueTree::getChildWithProperty </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classIdentifier.html">Identifier</a> & </td>
<td class="paramname"><em>propertyName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classvar.html">var</a> & </td>
<td class="paramname"><em>propertyValue</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Looks for the first child node that has the specified property value. </p>
<p>This will scan the child nodes in order, until it finds one that has property that matches the specified value.</p>
<p>If no such node is found, it'll return an invalid node. (See <a class="el" href="classValueTree.html#a9c1506afbe6b840e4ab43fabf275845a" title="Returns true if this node refers to some valid data. ">isValid()</a> to find out whether a node is valid). </p>
</div>
</div>
<a id="a93d639299ef9dfedc651544e05f06693"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a93d639299ef9dfedc651544e05f06693">§ </a></span>addChild()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ValueTree::addChild </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classValueTree.html">ValueTree</a> & </td>
<td class="paramname"><em>child</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>index</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classUndoManager.html">UndoManager</a> * </td>
<td class="paramname"><em>undoManager</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a child to this node. </p>
<p>Make sure that the child is removed from any former parent node before calling this, or you'll hit an assertion.</p>
<p>If the index is < 0 or greater than the current number of child nodes, the new node will be added at the end of the list.</p>
<p>If the undoManager parameter is non-null, its <a class="el" href="classUndoManager.html#a5f8b51dbb061ca3a1a8916938e0e2f49" title="Performs an action and adds it to the undo history list. ">UndoManager::perform()</a> method will be used, so that this change can be undone. </p>
</div>
</div>
<a id="a52b15bdb0b4a04b81c04e7059bb926c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a52b15bdb0b4a04b81c04e7059bb926c4">§ </a></span>removeChild() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ValueTree::removeChild </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classValueTree.html">ValueTree</a> & </td>
<td class="paramname"><em>child</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classUndoManager.html">UndoManager</a> * </td>
<td class="paramname"><em>undoManager</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes the specified child from this node's child-list. </p>
<p>If the undoManager parameter is non-null, its <a class="el" href="classUndoManager.html#a5f8b51dbb061ca3a1a8916938e0e2f49" title="Performs an action and adds it to the undo history list. ">UndoManager::perform()</a> method will be used, so that this change can be undone. </p>
</div>
</div>
<a id="a3bee3734652dec6bb1d5c351a1268fc0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3bee3734652dec6bb1d5c351a1268fc0">§ </a></span>removeChild() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ValueTree::removeChild </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>childIndex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classUndoManager.html">UndoManager</a> * </td>
<td class="paramname"><em>undoManager</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes a child from this node's child-list. </p>
<p>If the undoManager parameter is non-null, its <a class="el" href="classUndoManager.html#a5f8b51dbb061ca3a1a8916938e0e2f49" title="Performs an action and adds it to the undo history list. ">UndoManager::perform()</a> method will be used, so that this change can be undone. </p>
</div>
</div>
<a id="a91f8a28e02a782b0c95f855d0c29f0d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91f8a28e02a782b0c95f855d0c29f0d9">§ </a></span>removeAllChildren()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ValueTree::removeAllChildren </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classUndoManager.html">UndoManager</a> * </td>
<td class="paramname"><em>undoManager</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes all child-nodes from this node. </p>
<p>If the undoManager parameter is non-null, its <a class="el" href="classUndoManager.html#a5f8b51dbb061ca3a1a8916938e0e2f49" title="Performs an action and adds it to the undo history list. ">UndoManager::perform()</a> method will be used, so that this change can be undone. </p>
</div>
</div>
<a id="ab7d20bf6964bfc8c4a975543bca8ce53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7d20bf6964bfc8c4a975543bca8ce53">§ </a></span>moveChild()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ValueTree::moveChild </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>currentIndex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>newIndex</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classUndoManager.html">UndoManager</a> * </td>
<td class="paramname"><em>undoManager</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Moves one of the children to a different index. </p>
<p>This will move the child to a specified index, shuffling along any intervening items as required. So for example, if you have a list of { 0, 1, 2, 3, 4, 5 }, then calling move (2, 4) would result in { 0, 1, 3, 4, 2, 5 }.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">currentIndex</td><td>the index of the item to be moved. If this isn't a valid index, then nothing will be done </td></tr>
<tr><td class="paramname">newIndex</td><td>the index at which you'd like this item to end up. If this is less than zero, the value will be moved to the end of the list </td></tr>
<tr><td class="paramname">undoManager</td><td>the optional <a class="el" href="classUndoManager.html" title="Manages a list of undo/redo commands. ">UndoManager</a> to use to store this transaction </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="ad1973a657c1c2907c9996038e7e756fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1973a657c1c2907c9996038e7e756fe">§ </a></span>isAChildOf()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ValueTree::isAChildOf </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classValueTree.html">ValueTree</a> & </td>
<td class="paramname"><em>possibleParent</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if this node is anywhere below the specified parent node. </p>
<p>This returns true if the node is a child-of-a-child, as well as a direct child. </p>
</div>
</div>
<a id="aecc3e5c14e02f7ee3a958006d5146b78"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aecc3e5c14e02f7ee3a958006d5146b78">§ </a></span>indexOf()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int ValueTree::indexOf </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classValueTree.html">ValueTree</a> & </td>
<td class="paramname"><em>child</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the index of a child item in this parent. </p>
<p>If the child isn't found, this returns -1. </p>
</div>
</div>
<a id="ad22561c896d9bcdb763d27aacbb5815c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad22561c896d9bcdb763d27aacbb5815c">§ </a></span>getParent()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classValueTree.html">ValueTree</a> ValueTree::getParent </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the parent node that contains this one. </p>
<p>If the node has no parent, this will return an invalid node. (See <a class="el" href="classValueTree.html#a9c1506afbe6b840e4ab43fabf275845a" title="Returns true if this node refers to some valid data. ">isValid()</a> to find out whether a node is valid). </p>
</div>
</div>
<a id="a83099cde9f794842a2378c2935976a90"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a83099cde9f794842a2378c2935976a90">§ </a></span>getSibling()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classValueTree.html">ValueTree</a> ValueTree::getSibling </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>delta</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns one of this node's siblings in its parent's child list. </p>
<p>The delta specifies how far to move through the list, so a value of 1 would return the node that follows this one, -1 would return the node before it, 0 will return this node itself, etc. If the requested position is beyond the range of available nodes, this will return ValueTree::invalid. </p>
</div>
</div>
<a id="a2cf33db0574a9f2673cde96bcfd808c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2cf33db0574a9f2673cde96bcfd808c5">§ </a></span>begin()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structValueTree_1_1Iterator.html">Iterator</a> ValueTree::begin </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a start iterator for the children in this tree. </p>
</div>
</div>
<a id="a40346edfb70253a482cd0642ac5ac577"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40346edfb70253a482cd0642ac5ac577">§ </a></span>end()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structValueTree_1_1Iterator.html">Iterator</a> ValueTree::end </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns an end iterator for the children in this tree. </p>
</div>
</div>
<a id="a54eaf13e771e7305a935ecdd8356f63e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54eaf13e771e7305a935ecdd8356f63e">§ </a></span>createXml()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classXmlElement.html">XmlElement</a>* ValueTree::createXml </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates an <a class="el" href="classXmlElement.html" title="Used to build a tree of elements representing an XML document. ">XmlElement</a> that holds a complete image of this node and all its children. </p>
<p>If this node is invalid, this may return nullptr. Otherwise, the XML that is produced can be used to recreate a similar node by calling <a class="el" href="classValueTree.html#a0d2f1bdd6313e53f256ed015986f837a" title="Tries to recreate a node from its XML representation. ">fromXml()</a>.</p>
<p>The caller must delete the object that is returned.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classValueTree.html#a0d2f1bdd6313e53f256ed015986f837a" title="Tries to recreate a node from its XML representation. ">fromXml</a> </dd></dl>
</div>
</div>
<a id="a0d2f1bdd6313e53f256ed015986f837a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d2f1bdd6313e53f256ed015986f837a">§ </a></span>fromXml()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classValueTree.html">ValueTree</a> ValueTree::fromXml </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classXmlElement.html">XmlElement</a> & </td>
<td class="paramname"><em>xml</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Tries to recreate a node from its XML representation. </p>
<p>This isn't designed to cope with random XML data - for a sensible result, it should only be fed XML that was created by the <a class="el" href="classValueTree.html#a54eaf13e771e7305a935ecdd8356f63e" title="Creates an XmlElement that holds a complete image of this node and all its children. ">createXml()</a> method. </p>
</div>
</div>
<a id="a243236064e188c79688c954b1c2e0998"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a243236064e188c79688c954b1c2e0998">§ </a></span>toXmlString()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classString.html">String</a> ValueTree::toXmlString </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>This returns a string containing an XML representation of the tree. </p>
<p>This is quite handy for debugging purposes, as it provides a quick way to view a tree. </p>
</div>
</div>
<a id="a6305ca13b5d95cd526e1ea7a953df365"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6305ca13b5d95cd526e1ea7a953df365">§ </a></span>writeToStream()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ValueTree::writeToStream </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classOutputStream.html">OutputStream</a> & </td>
<td class="paramname"><em>output</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Stores this tree (and all its children) in a binary format. </p>
<p>Once written, the data can be read back with <a class="el" href="classValueTree.html#ad41a9e45b2d15699b4e27bed3b31109c" title="Reloads a tree from a stream that was written with writeToStream(). ">readFromStream()</a>.</p>
<p>It's much faster to load/save your tree in binary form than as XML, but obviously isn't human-readable. </p>
</div>
</div>
<a id="ad41a9e45b2d15699b4e27bed3b31109c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad41a9e45b2d15699b4e27bed3b31109c">§ </a></span>readFromStream()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classValueTree.html">ValueTree</a> ValueTree::readFromStream </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classInputStream.html">InputStream</a> & </td>
<td class="paramname"><em>input</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reloads a tree from a stream that was written with <a class="el" href="classValueTree.html#a6305ca13b5d95cd526e1ea7a953df365" title="Stores this tree (and all its children) in a binary format. ">writeToStream()</a>. </p>
</div>
</div>
<a id="a9481d856db653baecf76032703858ca5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9481d856db653baecf76032703858ca5">§ </a></span>readFromData()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classValueTree.html">ValueTree</a> ValueTree::readFromData </td>
<td>(</td>
<td class="paramtype">const void * </td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>numBytes</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reloads a tree from a data block that was written with <a class="el" href="classValueTree.html#a6305ca13b5d95cd526e1ea7a953df365" title="Stores this tree (and all its children) in a binary format. ">writeToStream()</a>. </p>
</div>
</div>
<a id="ab5a0858a2f15fef8b61adb6aa2aadc63"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab5a0858a2f15fef8b61adb6aa2aadc63">§ </a></span>readFromGZIPData()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classValueTree.html">ValueTree</a> ValueTree::readFromGZIPData </td>
<td>(</td>
<td class="paramtype">const void * </td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>numBytes</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reloads a tree from a data block that was written with <a class="el" href="classValueTree.html#a6305ca13b5d95cd526e1ea7a953df365" title="Stores this tree (and all its children) in a binary format. ">writeToStream()</a> and then zipped using <a class="el" href="classGZIPCompressorOutputStream.html" title="A stream which uses zlib to compress the data written into it. ">GZIPCompressorOutputStream</a>. </p>
</div>
</div>
<a id="a0a0d82471cb1119fc1a7b7018e3af394"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a0d82471cb1119fc1a7b7018e3af394">§ </a></span>addListener()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ValueTree::addListener </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classValueTree_1_1Listener.html">Listener</a> * </td>
<td class="paramname"><em>listener</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a listener to receive callbacks when this node is changed. </p>
<p>The listener is added to this specific <a class="el" href="classValueTree.html" title="A powerful tree structure that can be used to hold free-form data, and which can handle its own undo ...">ValueTree</a> object, and not to the shared object that it refers to. When this object is deleted, all the listeners will be lost, even if other references to the same <a class="el" href="classValueTree.html" title="A powerful tree structure that can be used to hold free-form data, and which can handle its own undo ...">ValueTree</a> still exist. And if you use the operator= to make this refer to a different <a class="el" href="classValueTree.html" title="A powerful tree structure that can be used to hold free-form data, and which can handle its own undo ...">ValueTree</a>, any listeners will begin listening to changes to the new tree instead of the old one.</p>
<p>When you're adding a listener, make sure that you add it to a <a class="el" href="classValueTree.html" title="A powerful tree structure that can be used to hold free-form data, and which can handle its own undo ...">ValueTree</a> instance that will last for as long as you need the listener. In general, you'd never want to add a listener to a local stack-based <a class="el" href="classValueTree.html" title="A powerful tree structure that can be used to hold free-form data, and which can handle its own undo ...">ValueTree</a>, and would usually add one to a member variable.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classValueTree.html#ac8930aa94cb6e3714ef9e7449d08e5f6" title="Removes a listener that was previously added with addListener(). ">removeListener</a> </dd></dl>
<p>Referenced by <a class="el" href="classCachedValue.html#a43508969aaa4149c7d5668ad254fd9c0">CachedValue< Type >::CachedValue()</a>, and <a class="el" href="classCachedValue.html#ad1dd20dd34843f4bcfe8516e7a10e871">CachedValue< Type >::forceUpdateOfCachedValue()</a>.</p>
</div>
</div>
<a id="ac8930aa94cb6e3714ef9e7449d08e5f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8930aa94cb6e3714ef9e7449d08e5f6">§ </a></span>removeListener()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ValueTree::removeListener </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classValueTree_1_1Listener.html">Listener</a> * </td>
<td class="paramname"><em>listener</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes a listener that was previously added with <a class="el" href="classValueTree.html#a0a0d82471cb1119fc1a7b7018e3af394" title="Adds a listener to receive callbacks when this node is changed. ">addListener()</a>. </p>
<p>Referenced by <a class="el" href="classCachedValue.html#ad1dd20dd34843f4bcfe8516e7a10e871">CachedValue< Type >::forceUpdateOfCachedValue()</a>.</p>
</div>
</div>
<a id="a164ff183e358b982b1a1f5dd1176ab88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a164ff183e358b982b1a1f5dd1176ab88">§ </a></span>sendPropertyChangeMessage()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ValueTree::sendPropertyChangeMessage </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classIdentifier.html">Identifier</a> & </td>
<td class="paramname"><em>property</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Causes a property-change callback to be triggered for the specified property, calling any listeners that are registered. </p>
</div>
</div>
<a id="acdace65667e5bb2036310b4a91dd3a87"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acdace65667e5bb2036310b4a91dd3a87">§ </a></span>sort()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename ElementComparator > </div>
<table class="memname">
<tr>
<td class="memname">void ValueTree::sort </td>
<td>(</td>
<td class="paramtype">ElementComparator & </td>
<td class="paramname"><em>comparator</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classUndoManager.html">UndoManager</a> * </td>
<td class="paramname"><em>undoManager</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>retainOrderOfEquivalentItems</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This method uses a comparator object to sort the tree's children into order. </p>
<p>The object provided must have a method of the form: </p><div class="fragment"><div class="line"><span class="keywordtype">int</span> compareElements (<span class="keyword">const</span> <a class="code" href="classValueTree.html">ValueTree</a>& first, <span class="keyword">const</span> <a class="code" href="classValueTree.html">ValueTree</a>& second);</div></div><!-- fragment --><p>..and this method must return:</p><ul>
<li>a value of < 0 if the first comes before the second</li>
<li>a value of 0 if the two objects are equivalent</li>
<li>a value of > 0 if the second comes before the first</li>
</ul>
<p>To improve performance, the compareElements() method can be declared as static or const.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">comparator</td><td>the comparator to use for comparing elements. </td></tr>
<tr><td class="paramname">undoManager</td><td>optional <a class="el" href="classUndoManager.html" title="Manages a list of undo/redo commands. ">UndoManager</a> for storing the changes </td></tr>
<tr><td class="paramname">retainOrderOfEquivalentItems</td><td>if this is true, then items which the comparator says are equivalent will be kept in the order in which they currently appear in the array. This is slower to perform, but may be important in some cases. If it's false, a faster algorithm is used, but equivalent elements may be rearranged. </td></tr>
</table>
</dd>
</dl>
<p>References <a class="el" href="juce__StandardHeader_8h.html#a8d339dd1e85e6fbefaf7638692d085c2">JUCE_PUBLIC_IN_DLL_BUILD</a>, and <a class="el" href="classOwnedArray.html#a04a21a831320e2ce76bee8ad881e1d90">OwnedArray< ObjectClass, TypeOfCriticalSectionToUse >::sort()</a>.</p>
</div>
</div>
<a id="ade7c3497b915a14168d347b20258122d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade7c3497b915a14168d347b20258122d">§ </a></span>getReferenceCount()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int ValueTree::getReferenceCount </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the total number of references to the shared underlying data structure that this <a class="el" href="classValueTree.html" title="A powerful tree structure that can be used to hold free-form data, and which can handle its own undo ...">ValueTree</a> is using. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="juce__ValueTree_8h.html">juce_ValueTree.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<address class="footer"><small>All content © ROLI Ltd.</small></address><br/>
</body>
</html>
|