This file is indexed.

/usr/share/doc/libjuce/apiref/classCachedValue.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
<!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: CachedValue&lt; Type &gt; Class Template 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="#pub-methods">Public Member Functions</a> &#124;
<a href="classCachedValue-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">CachedValue&lt; Type &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>This class acts as a typed wrapper around a property inside 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="classCachedValue.html#details">More...</a></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for CachedValue&lt; Type &gt;:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
 <div class="center">
  <img src="classCachedValue.png" usemap="#CachedValue_3C_20Type_20_3E_map" alt=""/>
  <map id="CachedValue_3C_20Type_20_3E_map" name="CachedValue&lt; Type &gt;_map">
<area href="classValueTree_1_1Listener.html" title="Listener class for events that happen to a ValueTree. " alt="ValueTree::Listener" shape="rect" coords="0,0,141,24"/>
</map>
 </div></div>
<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:aa982fb4fefb3b0b7f802733cd2d17711"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCachedValue.html#aa982fb4fefb3b0b7f802733cd2d17711">CachedValue</a> ()</td></tr>
<tr class="memdesc:aa982fb4fefb3b0b7f802733cd2d17711"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#aa982fb4fefb3b0b7f802733cd2d17711">More...</a><br /></td></tr>
<tr class="separator:aa982fb4fefb3b0b7f802733cd2d17711"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43508969aaa4149c7d5668ad254fd9c0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCachedValue.html#a43508969aaa4149c7d5668ad254fd9c0">CachedValue</a> (<a class="el" href="classValueTree.html">ValueTree</a> &amp;tree, const <a class="el" href="classIdentifier.html">Identifier</a> &amp;propertyID, <a class="el" href="classUndoManager.html">UndoManager</a> *undoManager)</td></tr>
<tr class="memdesc:a43508969aaa4149c7d5668ad254fd9c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a43508969aaa4149c7d5668ad254fd9c0">More...</a><br /></td></tr>
<tr class="separator:a43508969aaa4149c7d5668ad254fd9c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a820d1245983942e804bec4facf607f7d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCachedValue.html#a820d1245983942e804bec4facf607f7d">CachedValue</a> (<a class="el" href="classValueTree.html">ValueTree</a> &amp;tree, const <a class="el" href="classIdentifier.html">Identifier</a> &amp;propertyID, <a class="el" href="classUndoManager.html">UndoManager</a> *undoManager, const Type &amp;defaultToUse)</td></tr>
<tr class="memdesc:a820d1245983942e804bec4facf607f7d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a820d1245983942e804bec4facf607f7d">More...</a><br /></td></tr>
<tr class="separator:a820d1245983942e804bec4facf607f7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18813b3c4f63e1744c9eb1355fc99295"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCachedValue.html#a18813b3c4f63e1744c9eb1355fc99295">operator Type</a> () const noexcept</td></tr>
<tr class="memdesc:a18813b3c4f63e1744c9eb1355fc99295"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current value of the property.  <a href="#a18813b3c4f63e1744c9eb1355fc99295">More...</a><br /></td></tr>
<tr class="separator:a18813b3c4f63e1744c9eb1355fc99295"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b985781bf4e9225dc37be8529390df0"><td class="memItemLeft" align="right" valign="top">Type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCachedValue.html#a3b985781bf4e9225dc37be8529390df0">get</a> () const noexcept</td></tr>
<tr class="memdesc:a3b985781bf4e9225dc37be8529390df0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current value of the property.  <a href="#a3b985781bf4e9225dc37be8529390df0">More...</a><br /></td></tr>
<tr class="separator:a3b985781bf4e9225dc37be8529390df0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a736abaeca32332646d5708836989edb3"><td class="memItemLeft" align="right" valign="top">Type &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCachedValue.html#a736abaeca32332646d5708836989edb3">operator*</a> () noexcept</td></tr>
<tr class="memdesc:a736abaeca32332646d5708836989edb3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dereference operator.  <a href="#a736abaeca32332646d5708836989edb3">More...</a><br /></td></tr>
<tr class="separator:a736abaeca32332646d5708836989edb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6aa76168a700607f7ca9110276ecbfbd"><td class="memItemLeft" align="right" valign="top">Type *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCachedValue.html#a6aa76168a700607f7ca9110276ecbfbd">operator-&gt;</a> () noexcept</td></tr>
<tr class="memdesc:a6aa76168a700607f7ca9110276ecbfbd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Dereference operator.  <a href="#a6aa76168a700607f7ca9110276ecbfbd">More...</a><br /></td></tr>
<tr class="separator:a6aa76168a700607f7ca9110276ecbfbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a489aaaaae33f4955eac4d25fc136d365"><td class="memTemplParams" colspan="2">template&lt;typename OtherType &gt; </td></tr>
<tr class="memitem:a489aaaaae33f4955eac4d25fc136d365"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classCachedValue.html#a489aaaaae33f4955eac4d25fc136d365">operator==</a> (const OtherType &amp;other) const</td></tr>
<tr class="memdesc:a489aaaaae33f4955eac4d25fc136d365"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the current value of the property (or the fallback value) is equal to other.  <a href="#a489aaaaae33f4955eac4d25fc136d365">More...</a><br /></td></tr>
<tr class="separator:a489aaaaae33f4955eac4d25fc136d365"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e967080fc9cbf1f71e841ccf0ef49b8"><td class="memTemplParams" colspan="2">template&lt;typename OtherType &gt; </td></tr>
<tr class="memitem:a6e967080fc9cbf1f71e841ccf0ef49b8"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classCachedValue.html#a6e967080fc9cbf1f71e841ccf0ef49b8">operator!=</a> (const OtherType &amp;other) const</td></tr>
<tr class="memdesc:a6e967080fc9cbf1f71e841ccf0ef49b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the current value of the property (or the fallback value) is not equal to other.  <a href="#a6e967080fc9cbf1f71e841ccf0ef49b8">More...</a><br /></td></tr>
<tr class="separator:a6e967080fc9cbf1f71e841ccf0ef49b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd02fa783537a57a8c4e89b5d6fc0151"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classValue.html">Value</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCachedValue.html#afd02fa783537a57a8c4e89b5d6fc0151">getPropertyAsValue</a> ()</td></tr>
<tr class="memdesc:afd02fa783537a57a8c4e89b5d6fc0151"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current property as a <a class="el" href="classValue.html" title="Represents a shared variant value. ">Value</a> object.  <a href="#afd02fa783537a57a8c4e89b5d6fc0151">More...</a><br /></td></tr>
<tr class="separator:afd02fa783537a57a8c4e89b5d6fc0151"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a032a2eedc5ef836847371cea3b5e8963"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCachedValue.html#a032a2eedc5ef836847371cea3b5e8963">isUsingDefault</a> () const</td></tr>
<tr class="memdesc:a032a2eedc5ef836847371cea3b5e8963"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the current property does not exist and the <a class="el" href="classCachedValue.html" title="This class acts as a typed wrapper around a property inside a ValueTree. ">CachedValue</a> is using the fallback default value instead.  <a href="#a032a2eedc5ef836847371cea3b5e8963">More...</a><br /></td></tr>
<tr class="separator:a032a2eedc5ef836847371cea3b5e8963"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a7aaab6526d7cd5bb6e2a895fa84128"><td class="memItemLeft" align="right" valign="top">Type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCachedValue.html#a9a7aaab6526d7cd5bb6e2a895fa84128">getDefault</a> () const</td></tr>
<tr class="memdesc:a9a7aaab6526d7cd5bb6e2a895fa84128"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current fallback default value.  <a href="#a9a7aaab6526d7cd5bb6e2a895fa84128">More...</a><br /></td></tr>
<tr class="separator:a9a7aaab6526d7cd5bb6e2a895fa84128"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5019c13c04d5885610192c533faed8a6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCachedValue.html">CachedValue</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCachedValue.html#a5019c13c04d5885610192c533faed8a6">operator=</a> (const Type &amp;newValue)</td></tr>
<tr class="memdesc:a5019c13c04d5885610192c533faed8a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the property.  <a href="#a5019c13c04d5885610192c533faed8a6">More...</a><br /></td></tr>
<tr class="separator:a5019c13c04d5885610192c533faed8a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa30d36d0218f11c28398eb8c11de3768"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCachedValue.html#aa30d36d0218f11c28398eb8c11de3768">setValue</a> (const Type &amp;newValue, <a class="el" href="classUndoManager.html">UndoManager</a> *undoManagerToUse)</td></tr>
<tr class="memdesc:aa30d36d0218f11c28398eb8c11de3768"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the property.  <a href="#aa30d36d0218f11c28398eb8c11de3768">More...</a><br /></td></tr>
<tr class="separator:aa30d36d0218f11c28398eb8c11de3768"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cc9c7ec676bb292f0bb8428eb579c27"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCachedValue.html#a0cc9c7ec676bb292f0bb8428eb579c27">resetToDefault</a> ()</td></tr>
<tr class="memdesc:a0cc9c7ec676bb292f0bb8428eb579c27"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes the property from the referenced <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 makes the <a class="el" href="classCachedValue.html" title="This class acts as a typed wrapper around a property inside a ValueTree. ">CachedValue</a> return the fallback default value instead.  <a href="#a0cc9c7ec676bb292f0bb8428eb579c27">More...</a><br /></td></tr>
<tr class="separator:a0cc9c7ec676bb292f0bb8428eb579c27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf520f7db956e46018d027296488f8fd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCachedValue.html#abf520f7db956e46018d027296488f8fd">resetToDefault</a> (<a class="el" href="classUndoManager.html">UndoManager</a> *undoManagerToUse)</td></tr>
<tr class="memdesc:abf520f7db956e46018d027296488f8fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes the property from the referenced <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 makes the <a class="el" href="classCachedValue.html" title="This class acts as a typed wrapper around a property inside a ValueTree. ">CachedValue</a> return the fallback default value instead.  <a href="#abf520f7db956e46018d027296488f8fd">More...</a><br /></td></tr>
<tr class="separator:abf520f7db956e46018d027296488f8fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0365e5556090469b609bc8e18f7247d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCachedValue.html#ab0365e5556090469b609bc8e18f7247d">setDefault</a> (const Type &amp;value)</td></tr>
<tr class="memdesc:ab0365e5556090469b609bc8e18f7247d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets the fallback default value.  <a href="#ab0365e5556090469b609bc8e18f7247d">More...</a><br /></td></tr>
<tr class="separator:ab0365e5556090469b609bc8e18f7247d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22c029d41ad7c38c01d91e8b77bdcae6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCachedValue.html#a22c029d41ad7c38c01d91e8b77bdcae6">referTo</a> (<a class="el" href="classValueTree.html">ValueTree</a> &amp;tree, const <a class="el" href="classIdentifier.html">Identifier</a> &amp;property, <a class="el" href="classUndoManager.html">UndoManager</a> *um)</td></tr>
<tr class="memdesc:a22c029d41ad7c38c01d91e8b77bdcae6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Makes the <a class="el" href="classCachedValue.html" title="This class acts as a typed wrapper around a property inside a ValueTree. ">CachedValue</a> refer to the specified property inside the given <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="#a22c029d41ad7c38c01d91e8b77bdcae6">More...</a><br /></td></tr>
<tr class="separator:a22c029d41ad7c38c01d91e8b77bdcae6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3326834ddf48fd194fce40355de46c7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCachedValue.html#af3326834ddf48fd194fce40355de46c7">referTo</a> (<a class="el" href="classValueTree.html">ValueTree</a> &amp;tree, const <a class="el" href="classIdentifier.html">Identifier</a> &amp;property, <a class="el" href="classUndoManager.html">UndoManager</a> *um, const Type &amp;defaultVal)</td></tr>
<tr class="memdesc:af3326834ddf48fd194fce40355de46c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Makes the <a class="el" href="classCachedValue.html" title="This class acts as a typed wrapper around a property inside a ValueTree. ">CachedValue</a> refer to the specified property inside the given <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 specifies a fallback value to use if the property does not exist.  <a href="#af3326834ddf48fd194fce40355de46c7">More...</a><br /></td></tr>
<tr class="separator:af3326834ddf48fd194fce40355de46c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1dd20dd34843f4bcfe8516e7a10e871"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCachedValue.html#ad1dd20dd34843f4bcfe8516e7a10e871">forceUpdateOfCachedValue</a> ()</td></tr>
<tr class="memdesc:ad1dd20dd34843f4bcfe8516e7a10e871"><td class="mdescLeft">&#160;</td><td class="mdescRight">Force an update in case the referenced property has been changed from elsewhere.  <a href="#ad1dd20dd34843f4bcfe8516e7a10e871">More...</a><br /></td></tr>
<tr class="separator:ad1dd20dd34843f4bcfe8516e7a10e871"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17c5b157d6f41365fe57f7af57af17f6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classValueTree.html">ValueTree</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCachedValue.html#a17c5b157d6f41365fe57f7af57af17f6">getValueTree</a> () noexcept</td></tr>
<tr class="memdesc:a17c5b157d6f41365fe57f7af57af17f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a reference to 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> containing the referenced property.  <a href="#a17c5b157d6f41365fe57f7af57af17f6">More...</a><br /></td></tr>
<tr class="separator:a17c5b157d6f41365fe57f7af57af17f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a999622278761a16def8f1f2af77e6fcb"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classIdentifier.html">Identifier</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCachedValue.html#a999622278761a16def8f1f2af77e6fcb">getPropertyID</a> () const noexcept</td></tr>
<tr class="memdesc:a999622278761a16def8f1f2af77e6fcb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the property ID of the referenced property.  <a href="#a999622278761a16def8f1f2af77e6fcb">More...</a><br /></td></tr>
<tr class="separator:a999622278761a16def8f1f2af77e6fcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename Type&gt;<br />
class CachedValue&lt; Type &gt;</h3>

<p>This class acts as a typed wrapper around a property inside 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>. </p>
<p>A <a class="el" href="classCachedValue.html" title="This class acts as a typed wrapper around a property inside a ValueTree. ">CachedValue</a> provides an easy way to read and write 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> property with a chosen type. So for example a CachedValue&lt;int&gt; allows you to read or write the property as an int, and a CachedValue&lt;String&gt; lets you work with it as a <a class="el" href="classString.html" title="The JUCE String class! ">String</a>.</p>
<p>It also allows efficient access to the value, by caching a copy of it in the type that is being used.</p>
<p>You can give the <a class="el" href="classCachedValue.html" title="This class acts as a typed wrapper around a property inside a ValueTree. ">CachedValue</a> an optional <a class="el" href="classUndoManager.html" title="Manages a list of undo/redo commands. ">UndoManager</a> which it will use when writing to the underlying <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>If the property inside 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 missing, the <a class="el" href="classCachedValue.html" title="This class acts as a typed wrapper around a property inside a ValueTree. ">CachedValue</a> will automatically return an optional default value, which can be specified when initialising the <a class="el" href="classCachedValue.html" title="This class acts as a typed wrapper around a property inside a ValueTree. ">CachedValue</a>.</p>
<p>To create one, you can either use the constructor to attach the <a class="el" href="classCachedValue.html" title="This class acts as a typed wrapper around a property inside a ValueTree. ">CachedValue</a> 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>, or can create an uninitialised <a class="el" href="classCachedValue.html" title="This class acts as a typed wrapper around a property inside a ValueTree. ">CachedValue</a> with its default constructor and then attach it later with the <a class="el" href="classCachedValue.html#a22c029d41ad7c38c01d91e8b77bdcae6" title="Makes the CachedValue refer to the specified property inside the given ValueTree. ...">referTo()</a> methods.</p>
<p>Common types like <a class="el" href="classString.html" title="The JUCE String class! ">String</a>, int, double which can be easily converted to a var should work out-of-the-box, but if you want to use more complex custom types, you may need to implement some template specialisations of <a class="el" href="structVariantConverter.html" title="This template-overloaded class can be used to convert between var and custom types. ">VariantConverter</a> which this class uses to convert between the type and 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>'s internal var. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aa982fb4fefb3b0b7f802733cd2d17711"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa982fb4fefb3b0b7f802733cd2d17711">&sect;&nbsp;</a></span>CachedValue() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCachedValue.html">CachedValue</a>&lt; Type &gt;::<a class="el" href="classCachedValue.html">CachedValue</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Default constructor. </p>
<p>Creates a default <a class="el" href="classCachedValue.html" title="This class acts as a typed wrapper around a property inside a ValueTree. ">CachedValue</a> not referring to any property. To initialise the object, call one of the <a class="el" href="classCachedValue.html#a22c029d41ad7c38c01d91e8b77bdcae6" title="Makes the CachedValue refer to the specified property inside the given ValueTree. ...">referTo()</a> methods. </p>

</div>
</div>
<a id="a43508969aaa4149c7d5668ad254fd9c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a43508969aaa4149c7d5668ad254fd9c0">&sect;&nbsp;</a></span>CachedValue() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCachedValue.html">CachedValue</a>&lt; Type &gt;::<a class="el" href="classCachedValue.html">CachedValue</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classValueTree.html">ValueTree</a> &amp;&#160;</td>
          <td class="paramname"><em>tree</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classIdentifier.html">Identifier</a> &amp;&#160;</td>
          <td class="paramname"><em>propertyID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUndoManager.html">UndoManager</a> *&#160;</td>
          <td class="paramname"><em>undoManager</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor. </p>
<p>Creates a <a class="el" href="classCachedValue.html" title="This class acts as a typed wrapper around a property inside a ValueTree. ">CachedValue</a> referring to a <a class="el" href="classValue.html" title="Represents a shared variant value. ">Value</a> property inside 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>. If you use this constructor, the fallback value will be a default-constructed instance of Type.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">tree</td><td>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> containing the property </td></tr>
    <tr><td class="paramname">propertyID</td><td>The identifier of the property </td></tr>
    <tr><td class="paramname">undoManager</td><td>The <a class="el" href="classUndoManager.html" title="Manages a list of undo/redo commands. ">UndoManager</a> to use when writing to the property </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="classValueTree.html#a0a0d82471cb1119fc1a7b7018e3af394">ValueTree::addListener()</a>.</p>

</div>
</div>
<a id="a820d1245983942e804bec4facf607f7d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a820d1245983942e804bec4facf607f7d">&sect;&nbsp;</a></span>CachedValue() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCachedValue.html">CachedValue</a>&lt; Type &gt;::<a class="el" href="classCachedValue.html">CachedValue</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classValueTree.html">ValueTree</a> &amp;&#160;</td>
          <td class="paramname"><em>tree</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classIdentifier.html">Identifier</a> &amp;&#160;</td>
          <td class="paramname"><em>propertyID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUndoManager.html">UndoManager</a> *&#160;</td>
          <td class="paramname"><em>undoManager</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Type &amp;&#160;</td>
          <td class="paramname"><em>defaultToUse</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor. </p>
<p>Creates a default Cached <a class="el" href="classValue.html" title="Represents a shared variant value. ">Value</a> referring to a <a class="el" href="classValue.html" title="Represents a shared variant value. ">Value</a> property inside 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>, and specifies a fallback value to use if the property does not exist.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">tree</td><td>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> containing the property </td></tr>
    <tr><td class="paramname">propertyID</td><td>The identifier of the property </td></tr>
    <tr><td class="paramname">undoManager</td><td>The <a class="el" href="classUndoManager.html" title="Manages a list of undo/redo commands. ">UndoManager</a> to use when writing to the property </td></tr>
    <tr><td class="paramname">defaultToUse</td><td>The fallback default value to use. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="classValueTree.html#a0a0d82471cb1119fc1a7b7018e3af394">ValueTree::addListener()</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a18813b3c4f63e1744c9eb1355fc99295"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a18813b3c4f63e1744c9eb1355fc99295">&sect;&nbsp;</a></span>operator Type()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCachedValue.html">CachedValue</a>&lt; Type &gt;::operator Type </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 current value of the property. </p>
<p>If the property does not exist, returns the fallback default value.</p>
<p>This is the same as calling <a class="el" href="classCachedValue.html#a3b985781bf4e9225dc37be8529390df0" title="Returns the current value of the property. ">get()</a>. </p>

</div>
</div>
<a id="a3b985781bf4e9225dc37be8529390df0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b985781bf4e9225dc37be8529390df0">&sect;&nbsp;</a></span>get()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Type <a class="el" href="classCachedValue.html">CachedValue</a>&lt; Type &gt;::get </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 current value of the property. </p>
<p>If the property does not exist, returns the fallback default value. </p>

</div>
</div>
<a id="a736abaeca32332646d5708836989edb3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a736abaeca32332646d5708836989edb3">&sect;&nbsp;</a></span>operator*()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Type&amp; <a class="el" href="classCachedValue.html">CachedValue</a>&lt; Type &gt;::operator* </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>Dereference operator. </p>
<p>Provides direct access to the property. </p>

</div>
</div>
<a id="a6aa76168a700607f7ca9110276ecbfbd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6aa76168a700607f7ca9110276ecbfbd">&sect;&nbsp;</a></span>operator->()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Type* <a class="el" href="classCachedValue.html">CachedValue</a>&lt; Type &gt;::operator-&gt; </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>Dereference operator. </p>
<p>Provides direct access to members of the property if it is of object type. </p>

</div>
</div>
<a id="a489aaaaae33f4955eac4d25fc136d365"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a489aaaaae33f4955eac4d25fc136d365">&sect;&nbsp;</a></span>operator==()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
<div class="memtemplate">
template&lt;typename OtherType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classCachedValue.html">CachedValue</a>&lt; Type &gt;::operator== </td>
          <td>(</td>
          <td class="paramtype">const OtherType &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns true if the current value of the property (or the fallback value) is equal to other. </p>

</div>
</div>
<a id="a6e967080fc9cbf1f71e841ccf0ef49b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e967080fc9cbf1f71e841ccf0ef49b8">&sect;&nbsp;</a></span>operator!=()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
<div class="memtemplate">
template&lt;typename OtherType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classCachedValue.html">CachedValue</a>&lt; Type &gt;::operator!= </td>
          <td>(</td>
          <td class="paramtype">const OtherType &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns true if the current value of the property (or the fallback value) is not equal to other. </p>

<p>References <a class="el" href="classCachedValue.html#afd02fa783537a57a8c4e89b5d6fc0151">CachedValue&lt; Type &gt;::getPropertyAsValue()</a>, and <a class="el" href="classCachedValue.html#a032a2eedc5ef836847371cea3b5e8963">CachedValue&lt; Type &gt;::isUsingDefault()</a>.</p>

</div>
</div>
<a id="afd02fa783537a57a8c4e89b5d6fc0151"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd02fa783537a57a8c4e89b5d6fc0151">&sect;&nbsp;</a></span>getPropertyAsValue()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classValue.html">Value</a> <a class="el" href="classCachedValue.html">CachedValue</a>&lt; Type &gt;::getPropertyAsValue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the current property as a <a class="el" href="classValue.html" title="Represents a shared variant value. ">Value</a> object. </p>

<p>References <a class="el" href="classValueTree.html#aa36d40c533583c723be757c77ade1a5c">ValueTree::getPropertyAsValue()</a>.</p>

<p>Referenced by <a class="el" href="classCachedValue.html#a6e967080fc9cbf1f71e841ccf0ef49b8">CachedValue&lt; Type &gt;::operator!=()</a>.</p>

</div>
</div>
<a id="a032a2eedc5ef836847371cea3b5e8963"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a032a2eedc5ef836847371cea3b5e8963">&sect;&nbsp;</a></span>isUsingDefault()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classCachedValue.html">CachedValue</a>&lt; Type &gt;::isUsingDefault </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns true if the current property does not exist and the <a class="el" href="classCachedValue.html" title="This class acts as a typed wrapper around a property inside a ValueTree. ">CachedValue</a> is using the fallback default value instead. </p>

<p>References <a class="el" href="classValueTree.html#a0dbec0d665fb9d57b9fd7b3189ec0ee0">ValueTree::hasProperty()</a>.</p>

<p>Referenced by <a class="el" href="classCachedValue.html#a6e967080fc9cbf1f71e841ccf0ef49b8">CachedValue&lt; Type &gt;::operator!=()</a>, and <a class="el" href="classCachedValue.html#aa30d36d0218f11c28398eb8c11de3768">CachedValue&lt; Type &gt;::setValue()</a>.</p>

</div>
</div>
<a id="a9a7aaab6526d7cd5bb6e2a895fa84128"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a7aaab6526d7cd5bb6e2a895fa84128">&sect;&nbsp;</a></span>getDefault()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">Type <a class="el" href="classCachedValue.html">CachedValue</a>&lt; Type &gt;::getDefault </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the current fallback default value. </p>

<p>References <a class="el" href="classCachedValue.html#a5019c13c04d5885610192c533faed8a6">CachedValue&lt; Type &gt;::operator=()</a>, <a class="el" href="classCachedValue.html#a0cc9c7ec676bb292f0bb8428eb579c27">CachedValue&lt; Type &gt;::resetToDefault()</a>, and <a class="el" href="classCachedValue.html#aa30d36d0218f11c28398eb8c11de3768">CachedValue&lt; Type &gt;::setValue()</a>.</p>

</div>
</div>
<a id="a5019c13c04d5885610192c533faed8a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5019c13c04d5885610192c533faed8a6">&sect;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCachedValue.html">CachedValue</a>&lt; Type &gt; &amp; <a class="el" href="classCachedValue.html">CachedValue</a>&lt; Type &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const Type &amp;&#160;</td>
          <td class="paramname"><em>newValue</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the property. </p>
<p>This will actually modify the property in the referenced <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>References <a class="el" href="classCachedValue.html#aa30d36d0218f11c28398eb8c11de3768">CachedValue&lt; Type &gt;::setValue()</a>.</p>

<p>Referenced by <a class="el" href="classCachedValue.html#a9a7aaab6526d7cd5bb6e2a895fa84128">CachedValue&lt; Type &gt;::getDefault()</a>.</p>

</div>
</div>
<a id="aa30d36d0218f11c28398eb8c11de3768"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa30d36d0218f11c28398eb8c11de3768">&sect;&nbsp;</a></span>setValue()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classCachedValue.html">CachedValue</a>&lt; Type &gt;::setValue </td>
          <td>(</td>
          <td class="paramtype">const Type &amp;&#160;</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> *&#160;</td>
          <td class="paramname"><em>undoManagerToUse</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the property. </p>
<p>This will actually modify the property in the referenced <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>References <a class="el" href="classCachedValue.html#a032a2eedc5ef836847371cea3b5e8963">CachedValue&lt; Type &gt;::isUsingDefault()</a>, and <a class="el" href="classValueTree.html#ad236114dc2a8c41c799f1fc51d1614bd">ValueTree::setProperty()</a>.</p>

<p>Referenced by <a class="el" href="classCachedValue.html#a9a7aaab6526d7cd5bb6e2a895fa84128">CachedValue&lt; Type &gt;::getDefault()</a>, and <a class="el" href="classCachedValue.html#a5019c13c04d5885610192c533faed8a6">CachedValue&lt; Type &gt;::operator=()</a>.</p>

</div>
</div>
<a id="a0cc9c7ec676bb292f0bb8428eb579c27"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0cc9c7ec676bb292f0bb8428eb579c27">&sect;&nbsp;</a></span>resetToDefault() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classCachedValue.html">CachedValue</a>&lt; Type &gt;::resetToDefault </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Removes the property from the referenced <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 makes the <a class="el" href="classCachedValue.html" title="This class acts as a typed wrapper around a property inside a ValueTree. ">CachedValue</a> return the fallback default value instead. </p>

<p>Referenced by <a class="el" href="classCachedValue.html#a9a7aaab6526d7cd5bb6e2a895fa84128">CachedValue&lt; Type &gt;::getDefault()</a>.</p>

</div>
</div>
<a id="abf520f7db956e46018d027296488f8fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf520f7db956e46018d027296488f8fd">&sect;&nbsp;</a></span>resetToDefault() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classCachedValue.html">CachedValue</a>&lt; Type &gt;::resetToDefault </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classUndoManager.html">UndoManager</a> *&#160;</td>
          <td class="paramname"><em>undoManagerToUse</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Removes the property from the referenced <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 makes the <a class="el" href="classCachedValue.html" title="This class acts as a typed wrapper around a property inside a ValueTree. ">CachedValue</a> return the fallback default value instead. </p>

<p>References <a class="el" href="classCachedValue.html#ad1dd20dd34843f4bcfe8516e7a10e871">CachedValue&lt; Type &gt;::forceUpdateOfCachedValue()</a>, and <a class="el" href="classValueTree.html#a2a07b801bd317aa8bf1ee9da5644fc35">ValueTree::removeProperty()</a>.</p>

</div>
</div>
<a id="ab0365e5556090469b609bc8e18f7247d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab0365e5556090469b609bc8e18f7247d">&sect;&nbsp;</a></span>setDefault()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classCachedValue.html">CachedValue</a>&lt; Type &gt;::setDefault </td>
          <td>(</td>
          <td class="paramtype">const Type &amp;&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Resets the fallback default value. </p>

<p>References <a class="el" href="classCachedValue.html#ad1dd20dd34843f4bcfe8516e7a10e871">CachedValue&lt; Type &gt;::forceUpdateOfCachedValue()</a>, and <a class="el" href="classCachedValue.html#a22c029d41ad7c38c01d91e8b77bdcae6">CachedValue&lt; Type &gt;::referTo()</a>.</p>

</div>
</div>
<a id="a22c029d41ad7c38c01d91e8b77bdcae6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a22c029d41ad7c38c01d91e8b77bdcae6">&sect;&nbsp;</a></span>referTo() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classCachedValue.html">CachedValue</a>&lt; Type &gt;::referTo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classValueTree.html">ValueTree</a> &amp;&#160;</td>
          <td class="paramname"><em>tree</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classIdentifier.html">Identifier</a> &amp;&#160;</td>
          <td class="paramname"><em>property</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUndoManager.html">UndoManager</a> *&#160;</td>
          <td class="paramname"><em>um</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Makes the <a class="el" href="classCachedValue.html" title="This class acts as a typed wrapper around a property inside a ValueTree. ">CachedValue</a> refer to the specified property inside the given <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>Referenced by <a class="el" href="classCachedValue.html#ab0365e5556090469b609bc8e18f7247d">CachedValue&lt; Type &gt;::setDefault()</a>.</p>

</div>
</div>
<a id="af3326834ddf48fd194fce40355de46c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af3326834ddf48fd194fce40355de46c7">&sect;&nbsp;</a></span>referTo() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classCachedValue.html">CachedValue</a>&lt; Type &gt;::referTo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classValueTree.html">ValueTree</a> &amp;&#160;</td>
          <td class="paramname"><em>tree</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classIdentifier.html">Identifier</a> &amp;&#160;</td>
          <td class="paramname"><em>property</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUndoManager.html">UndoManager</a> *&#160;</td>
          <td class="paramname"><em>um</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Type &amp;&#160;</td>
          <td class="paramname"><em>defaultVal</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Makes the <a class="el" href="classCachedValue.html" title="This class acts as a typed wrapper around a property inside a ValueTree. ">CachedValue</a> refer to the specified property inside the given <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 specifies a fallback value to use if the property does not exist. </p>

</div>
</div>
<a id="ad1dd20dd34843f4bcfe8516e7a10e871"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1dd20dd34843f4bcfe8516e7a10e871">&sect;&nbsp;</a></span>forceUpdateOfCachedValue()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classCachedValue.html">CachedValue</a>&lt; Type &gt;::forceUpdateOfCachedValue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Force an update in case the referenced property has been changed from elsewhere. </p>
<p>Note: The <a class="el" href="classCachedValue.html" title="This class acts as a typed wrapper around a property inside a ValueTree. ">CachedValue</a> is a <a class="el" href="classValueTree_1_1Listener.html" title="Listener class for events that happen to a ValueTree. ">ValueTree::Listener</a> and therefore will be informed of changes of the referenced property anyway (and update itself). But this may happen asynchronously. <a class="el" href="classCachedValue.html#ad1dd20dd34843f4bcfe8516e7a10e871" title="Force an update in case the referenced property has been changed from elsewhere. ">forceUpdateOfCachedValue()</a> forces an update immediately. </p>

<p>References <a class="el" href="classValueTree.html#a0a0d82471cb1119fc1a7b7018e3af394">ValueTree::addListener()</a>, <a class="el" href="classValueTree.html#ad22d040f68cf2f91784e18573cc6949a">ValueTree::getPropertyPointer()</a>, and <a class="el" href="classValueTree.html#ac8930aa94cb6e3714ef9e7449d08e5f6">ValueTree::removeListener()</a>.</p>

<p>Referenced by <a class="el" href="classCachedValue.html#abf520f7db956e46018d027296488f8fd">CachedValue&lt; Type &gt;::resetToDefault()</a>, and <a class="el" href="classCachedValue.html#ab0365e5556090469b609bc8e18f7247d">CachedValue&lt; Type &gt;::setDefault()</a>.</p>

</div>
</div>
<a id="a17c5b157d6f41365fe57f7af57af17f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17c5b157d6f41365fe57f7af57af17f6">&sect;&nbsp;</a></span>getValueTree()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classValueTree.html">ValueTree</a>&amp; <a class="el" href="classCachedValue.html">CachedValue</a>&lt; Type &gt;::getValueTree </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>Returns a reference to 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> containing the referenced property. </p>

</div>
</div>
<a id="a999622278761a16def8f1f2af77e6fcb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a999622278761a16def8f1f2af77e6fcb">&sect;&nbsp;</a></span>getPropertyID()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classIdentifier.html">Identifier</a>&amp; <a class="el" href="classCachedValue.html">CachedValue</a>&lt; Type &gt;::getPropertyID </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 property ID of the referenced property. </p>

<p>References <a class="el" href="juce__PlatformDefs_8h.html#a6ab7a603bf4435c7cb286b1744366eb2">JUCE_DECLARE_NON_COPYABLE</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="juce__CachedValue_8h.html">juce_CachedValue.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<address class="footer"><small>All content &copy ROLI Ltd.</small></address><br/>
</body>
</html>