This file is indexed.

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

<p>A general-purpose range object, that simply represents any linear range with a start and end point.  
 <a href="classRange.html#details">More...</a></p>
<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:a83a189600c18bec7299c3e66423a640d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#a83a189600c18bec7299c3e66423a640d">Range</a> () noexcept</td></tr>
<tr class="memdesc:a83a189600c18bec7299c3e66423a640d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs an empty range.  <a href="#a83a189600c18bec7299c3e66423a640d">More...</a><br /></td></tr>
<tr class="separator:a83a189600c18bec7299c3e66423a640d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8bd30569eac42c002fad4d9f1cdcaa2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#aa8bd30569eac42c002fad4d9f1cdcaa2">Range</a> (const ValueType startValue, const ValueType endValue) noexcept</td></tr>
<tr class="memdesc:aa8bd30569eac42c002fad4d9f1cdcaa2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a range with given start and end values.  <a href="#aa8bd30569eac42c002fad4d9f1cdcaa2">More...</a><br /></td></tr>
<tr class="separator:aa8bd30569eac42c002fad4d9f1cdcaa2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a9eaa9e1d16af81b0afe4454ff21b4a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#a3a9eaa9e1d16af81b0afe4454ff21b4a">Range</a> (const <a class="el" href="classRange.html">Range</a> &amp;other) noexcept</td></tr>
<tr class="memdesc:a3a9eaa9e1d16af81b0afe4454ff21b4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a copy of another range.  <a href="#a3a9eaa9e1d16af81b0afe4454ff21b4a">More...</a><br /></td></tr>
<tr class="separator:a3a9eaa9e1d16af81b0afe4454ff21b4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93e3998983b98393d5fb0d59d87be679"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRange.html">Range</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#a93e3998983b98393d5fb0d59d87be679">operator=</a> (<a class="el" href="classRange.html">Range</a> other) noexcept</td></tr>
<tr class="memdesc:a93e3998983b98393d5fb0d59d87be679"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies another range object.  <a href="#a93e3998983b98393d5fb0d59d87be679">More...</a><br /></td></tr>
<tr class="separator:a93e3998983b98393d5fb0d59d87be679"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3709db921df3cf8d170bb7f983b1f05c"><td class="memItemLeft" align="right" valign="top">ValueType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#a3709db921df3cf8d170bb7f983b1f05c">getStart</a> () const noexcept</td></tr>
<tr class="memdesc:a3709db921df3cf8d170bb7f983b1f05c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the start of the range.  <a href="#a3709db921df3cf8d170bb7f983b1f05c">More...</a><br /></td></tr>
<tr class="separator:a3709db921df3cf8d170bb7f983b1f05c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1bac15b46a7d40c7b136c1075553171"><td class="memItemLeft" align="right" valign="top">ValueType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#af1bac15b46a7d40c7b136c1075553171">getLength</a> () const noexcept</td></tr>
<tr class="memdesc:af1bac15b46a7d40c7b136c1075553171"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the length of the range.  <a href="#af1bac15b46a7d40c7b136c1075553171">More...</a><br /></td></tr>
<tr class="separator:af1bac15b46a7d40c7b136c1075553171"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74c09ef37d18ee8bbd1fdaaeb1d0fcf2"><td class="memItemLeft" align="right" valign="top">ValueType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#a74c09ef37d18ee8bbd1fdaaeb1d0fcf2">getEnd</a> () const noexcept</td></tr>
<tr class="memdesc:a74c09ef37d18ee8bbd1fdaaeb1d0fcf2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the end of the range.  <a href="#a74c09ef37d18ee8bbd1fdaaeb1d0fcf2">More...</a><br /></td></tr>
<tr class="separator:a74c09ef37d18ee8bbd1fdaaeb1d0fcf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0b11c4ca306ab0ca552e5bca6b91523"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#ad0b11c4ca306ab0ca552e5bca6b91523">isEmpty</a> () const noexcept</td></tr>
<tr class="memdesc:ad0b11c4ca306ab0ca552e5bca6b91523"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the range has a length of zero.  <a href="#ad0b11c4ca306ab0ca552e5bca6b91523">More...</a><br /></td></tr>
<tr class="separator:ad0b11c4ca306ab0ca552e5bca6b91523"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6dc2c7d34ff6b3ac8de07efe2274b366"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#a6dc2c7d34ff6b3ac8de07efe2274b366">setStart</a> (const ValueType newStart) noexcept</td></tr>
<tr class="memdesc:a6dc2c7d34ff6b3ac8de07efe2274b366"><td class="mdescLeft">&#160;</td><td class="mdescRight">Changes the start position of the range, leaving the end position unchanged.  <a href="#a6dc2c7d34ff6b3ac8de07efe2274b366">More...</a><br /></td></tr>
<tr class="separator:a6dc2c7d34ff6b3ac8de07efe2274b366"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a967f3f5dca8f6c21b809b800c5617969"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRange.html">Range</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#a967f3f5dca8f6c21b809b800c5617969">withStart</a> (const ValueType newStart) const noexcept</td></tr>
<tr class="memdesc:a967f3f5dca8f6c21b809b800c5617969"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a range with the same end as this one, but a different start.  <a href="#a967f3f5dca8f6c21b809b800c5617969">More...</a><br /></td></tr>
<tr class="separator:a967f3f5dca8f6c21b809b800c5617969"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac43518af962bee4118ff13df4f176cf6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRange.html">Range</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#ac43518af962bee4118ff13df4f176cf6">movedToStartAt</a> (const ValueType newStart) const noexcept</td></tr>
<tr class="memdesc:ac43518af962bee4118ff13df4f176cf6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a range with the same length as this one, but moved to have the given start position.  <a href="#ac43518af962bee4118ff13df4f176cf6">More...</a><br /></td></tr>
<tr class="separator:ac43518af962bee4118ff13df4f176cf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a720abbdd9cc650ef1927f35822865ee0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#a720abbdd9cc650ef1927f35822865ee0">setEnd</a> (const ValueType newEnd) noexcept</td></tr>
<tr class="memdesc:a720abbdd9cc650ef1927f35822865ee0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Changes the end position of the range, leaving the start unchanged.  <a href="#a720abbdd9cc650ef1927f35822865ee0">More...</a><br /></td></tr>
<tr class="separator:a720abbdd9cc650ef1927f35822865ee0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9287e31c3329ff73598414814a015574"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRange.html">Range</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#a9287e31c3329ff73598414814a015574">withEnd</a> (const ValueType newEnd) const noexcept</td></tr>
<tr class="memdesc:a9287e31c3329ff73598414814a015574"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a range with the same start position as this one, but a different end.  <a href="#a9287e31c3329ff73598414814a015574">More...</a><br /></td></tr>
<tr class="separator:a9287e31c3329ff73598414814a015574"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ea22f43dcf5400fa812ef86f0b2b237"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRange.html">Range</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#a5ea22f43dcf5400fa812ef86f0b2b237">movedToEndAt</a> (const ValueType newEnd) const noexcept</td></tr>
<tr class="memdesc:a5ea22f43dcf5400fa812ef86f0b2b237"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a range with the same length as this one, but moved to have the given end position.  <a href="#a5ea22f43dcf5400fa812ef86f0b2b237">More...</a><br /></td></tr>
<tr class="separator:a5ea22f43dcf5400fa812ef86f0b2b237"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30634e64e7b97081134a96465bb9d1b9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#a30634e64e7b97081134a96465bb9d1b9">setLength</a> (const ValueType newLength) noexcept</td></tr>
<tr class="memdesc:a30634e64e7b97081134a96465bb9d1b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Changes the length of the range.  <a href="#a30634e64e7b97081134a96465bb9d1b9">More...</a><br /></td></tr>
<tr class="separator:a30634e64e7b97081134a96465bb9d1b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1c3c27187978044ce66611d572cbd60"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRange.html">Range</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#af1c3c27187978044ce66611d572cbd60">withLength</a> (const ValueType newLength) const noexcept</td></tr>
<tr class="memdesc:af1c3c27187978044ce66611d572cbd60"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a range with the same start as this one, but a different length.  <a href="#af1c3c27187978044ce66611d572cbd60">More...</a><br /></td></tr>
<tr class="separator:af1c3c27187978044ce66611d572cbd60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac50a21a44f0f91ce99c20e4eb63c0d77"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRange.html">Range</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#ac50a21a44f0f91ce99c20e4eb63c0d77">expanded</a> (ValueType amount) const noexcept</td></tr>
<tr class="memdesc:ac50a21a44f0f91ce99c20e4eb63c0d77"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a range which has its start moved down and its end moved up by the given amount.  <a href="#ac50a21a44f0f91ce99c20e4eb63c0d77">More...</a><br /></td></tr>
<tr class="separator:ac50a21a44f0f91ce99c20e4eb63c0d77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc6baf759e772487ec0f6adc4cb8419e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRange.html">Range</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#adc6baf759e772487ec0f6adc4cb8419e">operator+=</a> (const ValueType amountToAdd) noexcept</td></tr>
<tr class="memdesc:adc6baf759e772487ec0f6adc4cb8419e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds an amount to the start and end of the range.  <a href="#adc6baf759e772487ec0f6adc4cb8419e">More...</a><br /></td></tr>
<tr class="separator:adc6baf759e772487ec0f6adc4cb8419e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a8730de1b231a0f8d0bd326dcf23abf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRange.html">Range</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#a0a8730de1b231a0f8d0bd326dcf23abf">operator-=</a> (const ValueType amountToSubtract) noexcept</td></tr>
<tr class="memdesc:a0a8730de1b231a0f8d0bd326dcf23abf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Subtracts an amount from the start and end of the range.  <a href="#a0a8730de1b231a0f8d0bd326dcf23abf">More...</a><br /></td></tr>
<tr class="separator:a0a8730de1b231a0f8d0bd326dcf23abf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5df07a0205fb16865411244b5c6fbe83"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRange.html">Range</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#a5df07a0205fb16865411244b5c6fbe83">operator+</a> (const ValueType amountToAdd) const noexcept</td></tr>
<tr class="memdesc:a5df07a0205fb16865411244b5c6fbe83"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a range that is equal to this one with an amount added to its start and end.  <a href="#a5df07a0205fb16865411244b5c6fbe83">More...</a><br /></td></tr>
<tr class="separator:a5df07a0205fb16865411244b5c6fbe83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41de372355de47a0f991f8079add45bf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRange.html">Range</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#a41de372355de47a0f991f8079add45bf">operator-</a> (const ValueType amountToSubtract) const noexcept</td></tr>
<tr class="memdesc:a41de372355de47a0f991f8079add45bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a range that is equal to this one with the specified amount subtracted from its start and end.  <a href="#a41de372355de47a0f991f8079add45bf">More...</a><br /></td></tr>
<tr class="separator:a41de372355de47a0f991f8079add45bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8386ed8d72507d65327be5824b4592ba"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#a8386ed8d72507d65327be5824b4592ba">operator==</a> (<a class="el" href="classRange.html">Range</a> other) const noexcept</td></tr>
<tr class="separator:a8386ed8d72507d65327be5824b4592ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc14126aafcd598a037fda09a7ffa4af"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#afc14126aafcd598a037fda09a7ffa4af">operator!=</a> (<a class="el" href="classRange.html">Range</a> other) const noexcept</td></tr>
<tr class="separator:afc14126aafcd598a037fda09a7ffa4af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23fa32169a76c2d3c44b2576c2b9e2d9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#a23fa32169a76c2d3c44b2576c2b9e2d9">contains</a> (const ValueType position) const noexcept</td></tr>
<tr class="memdesc:a23fa32169a76c2d3c44b2576c2b9e2d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the given position lies inside this range.  <a href="#a23fa32169a76c2d3c44b2576c2b9e2d9">More...</a><br /></td></tr>
<tr class="separator:a23fa32169a76c2d3c44b2576c2b9e2d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67ae86bf19391b172c5a942e17a8270b"><td class="memItemLeft" align="right" valign="top">ValueType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#a67ae86bf19391b172c5a942e17a8270b">clipValue</a> (const ValueType value) const noexcept</td></tr>
<tr class="memdesc:a67ae86bf19391b172c5a942e17a8270b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the nearest value to the one supplied, which lies within the range.  <a href="#a67ae86bf19391b172c5a942e17a8270b">More...</a><br /></td></tr>
<tr class="separator:a67ae86bf19391b172c5a942e17a8270b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a4d444a5ebea71298117fe26025528f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#a4a4d444a5ebea71298117fe26025528f">contains</a> (<a class="el" href="classRange.html">Range</a> other) const noexcept</td></tr>
<tr class="memdesc:a4a4d444a5ebea71298117fe26025528f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the given range lies entirely inside this range.  <a href="#a4a4d444a5ebea71298117fe26025528f">More...</a><br /></td></tr>
<tr class="separator:a4a4d444a5ebea71298117fe26025528f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24cf0b152f6151c4dff2681fc7e6394d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#a24cf0b152f6151c4dff2681fc7e6394d">intersects</a> (<a class="el" href="classRange.html">Range</a> other) const noexcept</td></tr>
<tr class="memdesc:a24cf0b152f6151c4dff2681fc7e6394d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the given range intersects this one.  <a href="#a24cf0b152f6151c4dff2681fc7e6394d">More...</a><br /></td></tr>
<tr class="separator:a24cf0b152f6151c4dff2681fc7e6394d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a682ee4799e0be0dc3eb9a0da774e871c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRange.html">Range</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#a682ee4799e0be0dc3eb9a0da774e871c">getIntersectionWith</a> (<a class="el" href="classRange.html">Range</a> other) const noexcept</td></tr>
<tr class="memdesc:a682ee4799e0be0dc3eb9a0da774e871c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the range that is the intersection of the two ranges, or an empty range with an undefined start position if they don't overlap.  <a href="#a682ee4799e0be0dc3eb9a0da774e871c">More...</a><br /></td></tr>
<tr class="separator:a682ee4799e0be0dc3eb9a0da774e871c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7e2ae9bfcb620d68c7ce51e06c925b0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRange.html">Range</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#ad7e2ae9bfcb620d68c7ce51e06c925b0">getUnionWith</a> (<a class="el" href="classRange.html">Range</a> other) const noexcept</td></tr>
<tr class="memdesc:ad7e2ae9bfcb620d68c7ce51e06c925b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the smallest range that contains both this one and the other one.  <a href="#ad7e2ae9bfcb620d68c7ce51e06c925b0">More...</a><br /></td></tr>
<tr class="separator:ad7e2ae9bfcb620d68c7ce51e06c925b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97412aec8b692a8293b9f80cf61002d5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRange.html">Range</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#a97412aec8b692a8293b9f80cf61002d5">getUnionWith</a> (const ValueType valueToInclude) const noexcept</td></tr>
<tr class="memdesc:a97412aec8b692a8293b9f80cf61002d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the smallest range that contains both this one and the given value.  <a href="#a97412aec8b692a8293b9f80cf61002d5">More...</a><br /></td></tr>
<tr class="separator:a97412aec8b692a8293b9f80cf61002d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4303a16b170ae1626bdd693f7fa17872"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRange.html">Range</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#a4303a16b170ae1626bdd693f7fa17872">constrainRange</a> (<a class="el" href="classRange.html">Range</a> rangeToConstrain) const noexcept</td></tr>
<tr class="memdesc:a4303a16b170ae1626bdd693f7fa17872"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a given range, after moving it forwards or backwards to fit it within this range.  <a href="#a4303a16b170ae1626bdd693f7fa17872">More...</a><br /></td></tr>
<tr class="separator:a4303a16b170ae1626bdd693f7fa17872"><td class="memSeparator" colspan="2">&#160;</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:aa0165f9820b176b5df903e19c8a2a88b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classRange.html">Range</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#aa0165f9820b176b5df903e19c8a2a88b">between</a> (const ValueType position1, const ValueType position2) noexcept</td></tr>
<tr class="memdesc:aa0165f9820b176b5df903e19c8a2a88b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the range that lies between two positions (in either order).  <a href="#aa0165f9820b176b5df903e19c8a2a88b">More...</a><br /></td></tr>
<tr class="separator:aa0165f9820b176b5df903e19c8a2a88b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf34bee3fb884edeea097dc4ca1f5362"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classRange.html">Range</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#adf34bee3fb884edeea097dc4ca1f5362">withStartAndLength</a> (const ValueType startValue, const ValueType length) noexcept</td></tr>
<tr class="memdesc:adf34bee3fb884edeea097dc4ca1f5362"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a range with a given start and length.  <a href="#adf34bee3fb884edeea097dc4ca1f5362">More...</a><br /></td></tr>
<tr class="separator:adf34bee3fb884edeea097dc4ca1f5362"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7d026bfc44eaa1dc8725fd13bfe8d77"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classRange.html">Range</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#ad7d026bfc44eaa1dc8725fd13bfe8d77">emptyRange</a> (const ValueType start) noexcept</td></tr>
<tr class="memdesc:ad7d026bfc44eaa1dc8725fd13bfe8d77"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a range with the specified start position and a length of zero.  <a href="#ad7d026bfc44eaa1dc8725fd13bfe8d77">More...</a><br /></td></tr>
<tr class="separator:ad7d026bfc44eaa1dc8725fd13bfe8d77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b18340b1278144ba21569ead4ffe292"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classRange.html">Range</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classRange.html#a1b18340b1278144ba21569ead4ffe292">findMinAndMax</a> (const ValueType *values, int numValues) noexcept</td></tr>
<tr class="memdesc:a1b18340b1278144ba21569ead4ffe292"><td class="mdescLeft">&#160;</td><td class="mdescRight">Scans an array of values for its min and max, and returns these as a <a class="el" href="classRange.html" title="A general-purpose range object, that simply represents any linear range with a start and end point...">Range</a>.  <a href="#a1b18340b1278144ba21569ead4ffe292">More...</a><br /></td></tr>
<tr class="separator:a1b18340b1278144ba21569ead4ffe292"><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 ValueType&gt;<br />
class Range&lt; ValueType &gt;</h3>

<p>A general-purpose range object, that simply represents any linear range with a start and end point. </p>
<p>Note that when checking whether values fall within the range, the start value is considered to be inclusive, and the end of the range exclusive.</p>
<p>The templated parameter is expected to be a primitive integer or floating point type, though class types could also be used if they behave in a number-like way. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a83a189600c18bec7299c3e66423a640d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a83a189600c18bec7299c3e66423a640d">&sect;&nbsp;</a></span>Range() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::<a class="el" href="classRange.html">Range</a> </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>Constructs an empty range. </p>

<p>Referenced by <a class="el" href="classRange.html#aa0165f9820b176b5df903e19c8a2a88b">Range&lt; int64 &gt;::between()</a>, <a class="el" href="classRange.html#ad7d026bfc44eaa1dc8725fd13bfe8d77">Range&lt; int64 &gt;::emptyRange()</a>, <a class="el" href="classRange.html#ac50a21a44f0f91ce99c20e4eb63c0d77">Range&lt; int64 &gt;::expanded()</a>, <a class="el" href="classRange.html#a1b18340b1278144ba21569ead4ffe292">Range&lt; int64 &gt;::findMinAndMax()</a>, <a class="el" href="classRange.html#a682ee4799e0be0dc3eb9a0da774e871c">Range&lt; int64 &gt;::getIntersectionWith()</a>, <a class="el" href="classRange.html#ad7e2ae9bfcb620d68c7ce51e06c925b0">Range&lt; int64 &gt;::getUnionWith()</a>, <a class="el" href="classRange.html#a5ea22f43dcf5400fa812ef86f0b2b237">Range&lt; int64 &gt;::movedToEndAt()</a>, <a class="el" href="classRange.html#ac43518af962bee4118ff13df4f176cf6">Range&lt; int64 &gt;::movedToStartAt()</a>, <a class="el" href="classRange.html#a5df07a0205fb16865411244b5c6fbe83">Range&lt; int64 &gt;::operator+()</a>, <a class="el" href="classRange.html#a41de372355de47a0f991f8079add45bf">Range&lt; int64 &gt;::operator-()</a>, <a class="el" href="classRange.html#a9287e31c3329ff73598414814a015574">Range&lt; int64 &gt;::withEnd()</a>, <a class="el" href="classRange.html#af1c3c27187978044ce66611d572cbd60">Range&lt; int64 &gt;::withLength()</a>, <a class="el" href="classRange.html#a967f3f5dca8f6c21b809b800c5617969">Range&lt; int64 &gt;::withStart()</a>, and <a class="el" href="classRange.html#adf34bee3fb884edeea097dc4ca1f5362">Range&lt; int64 &gt;::withStartAndLength()</a>.</p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::<a class="el" href="classRange.html">Range</a> </td>
          <td>(</td>
          <td class="paramtype">const ValueType&#160;</td>
          <td class="paramname"><em>startValue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const ValueType&#160;</td>
          <td class="paramname"><em>endValue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Constructs a range with given start and end values. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::<a class="el" href="classRange.html">Range</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em></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>Constructs a copy of another range. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classRange.html">Range</a>&amp; <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;&#160;</td>
          <td class="paramname"><em>other</em></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>Copies another range object. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classRange.html">Range</a> <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::between </td>
          <td>(</td>
          <td class="paramtype">const ValueType&#160;</td>
          <td class="paramname"><em>position1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const ValueType&#160;</td>
          <td class="paramname"><em>position2</em>&#160;</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 class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the range that lies between two positions (in either order). </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classRange.html">Range</a> <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::withStartAndLength </td>
          <td>(</td>
          <td class="paramtype">const ValueType&#160;</td>
          <td class="paramname"><em>startValue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const ValueType&#160;</td>
          <td class="paramname"><em>length</em>&#160;</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 class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a range with a given start and length. </p>

<p>Referenced by <a class="el" href="classRectangle.html#af4b2683b71a378aabefc5e373153312a">Rectangle&lt; int &gt;::getHorizontalRange()</a>, and <a class="el" href="classRectangle.html#a89d1cefaf7586f5c4e9b2fd2771bdbc1">Rectangle&lt; int &gt;::getVerticalRange()</a>.</p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classRange.html">Range</a> <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::emptyRange </td>
          <td>(</td>
          <td class="paramtype">const ValueType&#160;</td>
          <td class="paramname"><em>start</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a range with the specified start position and a length of zero. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ValueType <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::getStart </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 start of the range. </p>

<p>Referenced by <a class="el" href="classSparseSet.html#a0887e0e73216a5d30dc399888fa304e5">SparseSet&lt; int &gt;::addRange()</a>, <a class="el" href="classSparseSet.html#a1a764e5824c3c99a9fb5d1e67036c59a">SparseSet&lt; int &gt;::containsRange()</a>, <a class="el" href="classAudioData_1_1Pointer.html#a373335e595058583a100bfa70a469518">AudioData::Pointer&lt; SampleFormat, Endianness, InterleavingType, Constness &gt;::findMinAndMax()</a>, <a class="el" href="classAudioBuffer.html#af0f0099350d92091c24e8b14b149328e">AudioBuffer&lt; float &gt;::getMagnitude()</a>, <a class="el" href="classSparseSet.html#a82275387d1f516f25b15b841c03bcef1">SparseSet&lt; int &gt;::overlapsRange()</a>, <a class="el" href="classSparseSet.html#a263cd6c64bbf95db0ee8be6e546a70a6">SparseSet&lt; int &gt;::removeRange()</a>, and <a class="el" href="classMemoryMappedAudioFormatReader.html#a24f42faedcc80c376351a60de55593e9">MemoryMappedAudioFormatReader::sampleToPointer()</a>.</p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ValueType <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::getLength </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 length of the range. </p>

<p>Referenced by <a class="el" href="classSparseSet.html#a0887e0e73216a5d30dc399888fa304e5">SparseSet&lt; int &gt;::addRange()</a>, <a class="el" href="classRange.html#a4303a16b170ae1626bdd693f7fa17872">Range&lt; int64 &gt;::constrainRange()</a>, <a class="el" href="classSparseSet.html#a1a764e5824c3c99a9fb5d1e67036c59a">SparseSet&lt; int &gt;::containsRange()</a>, <a class="el" href="classSparseSet.html#a82275387d1f516f25b15b841c03bcef1">SparseSet&lt; int &gt;::overlapsRange()</a>, and <a class="el" href="classSparseSet.html#a263cd6c64bbf95db0ee8be6e546a70a6">SparseSet&lt; int &gt;::removeRange()</a>.</p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ValueType <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::getEnd </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 end of the range. </p>

<p>Referenced by <a class="el" href="classSparseSet.html#a0887e0e73216a5d30dc399888fa304e5">SparseSet&lt; int &gt;::addRange()</a>, <a class="el" href="classSparseSet.html#a1a764e5824c3c99a9fb5d1e67036c59a">SparseSet&lt; int &gt;::containsRange()</a>, <a class="el" href="classAudioData_1_1Pointer.html#a373335e595058583a100bfa70a469518">AudioData::Pointer&lt; SampleFormat, Endianness, InterleavingType, Constness &gt;::findMinAndMax()</a>, <a class="el" href="classAudioBuffer.html#af0f0099350d92091c24e8b14b149328e">AudioBuffer&lt; float &gt;::getMagnitude()</a>, <a class="el" href="classSparseSet.html#a82275387d1f516f25b15b841c03bcef1">SparseSet&lt; int &gt;::overlapsRange()</a>, and <a class="el" href="classSparseSet.html#a263cd6c64bbf95db0ee8be6e546a70a6">SparseSet&lt; int &gt;::removeRange()</a>.</p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::isEmpty </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 the range has a length of zero. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::setStart </td>
          <td>(</td>
          <td class="paramtype">const ValueType&#160;</td>
          <td class="paramname"><em>newStart</em></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>Changes the start position of the range, leaving the end position unchanged. </p>
<p>If the new start position is higher than the current end of the range, the end point will be pushed along to equal it, leaving an empty range at the new position. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classRange.html">Range</a> <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::withStart </td>
          <td>(</td>
          <td class="paramtype">const ValueType&#160;</td>
          <td class="paramname"><em>newStart</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 range with the same end as this one, but a different start. </p>
<p>If the new start position is higher than the current end of the range, the end point will be pushed along to equal it, returning an empty range at the new position. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classRange.html">Range</a> <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::movedToStartAt </td>
          <td>(</td>
          <td class="paramtype">const ValueType&#160;</td>
          <td class="paramname"><em>newStart</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 range with the same length as this one, but moved to have the given start position. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::setEnd </td>
          <td>(</td>
          <td class="paramtype">const ValueType&#160;</td>
          <td class="paramname"><em>newEnd</em></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>Changes the end position of the range, leaving the start unchanged. </p>
<p>If the new end position is below the current start of the range, the start point will be pushed back to equal the new end point. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classRange.html">Range</a> <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::withEnd </td>
          <td>(</td>
          <td class="paramtype">const ValueType&#160;</td>
          <td class="paramname"><em>newEnd</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 range with the same start position as this one, but a different end. </p>
<p>If the new end position is below the current start of the range, the start point will be pushed back to equal the new end point. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classRange.html">Range</a> <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::movedToEndAt </td>
          <td>(</td>
          <td class="paramtype">const ValueType&#160;</td>
          <td class="paramname"><em>newEnd</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 range with the same length as this one, but moved to have the given end position. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::setLength </td>
          <td>(</td>
          <td class="paramtype">const ValueType&#160;</td>
          <td class="paramname"><em>newLength</em></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>Changes the length of the range. </p>
<p>Lengths less than zero are treated as zero. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classRange.html">Range</a> <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::withLength </td>
          <td>(</td>
          <td class="paramtype">const ValueType&#160;</td>
          <td class="paramname"><em>newLength</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 range with the same start as this one, but a different length. </p>
<p>Lengths less than zero are treated as zero. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classRange.html">Range</a> <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::expanded </td>
          <td>(</td>
          <td class="paramtype">ValueType&#160;</td>
          <td class="paramname"><em>amount</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 range which has its start moved down and its end moved up by the given amount. </p>
<dl class="section return"><dt>Returns</dt><dd>The returned range will be (start - amount, end + amount) </dd></dl>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classRange.html">Range</a> <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::operator+= </td>
          <td>(</td>
          <td class="paramtype">const ValueType&#160;</td>
          <td class="paramname"><em>amountToAdd</em></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>Adds an amount to the start and end of the range. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classRange.html">Range</a> <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::operator-= </td>
          <td>(</td>
          <td class="paramtype">const ValueType&#160;</td>
          <td class="paramname"><em>amountToSubtract</em></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>Subtracts an amount from the start and end of the range. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classRange.html">Range</a> <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::operator+ </td>
          <td>(</td>
          <td class="paramtype">const ValueType&#160;</td>
          <td class="paramname"><em>amountToAdd</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 range that is equal to this one with an amount added to its start and end. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classRange.html">Range</a> <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::operator- </td>
          <td>(</td>
          <td class="paramtype">const ValueType&#160;</td>
          <td class="paramname"><em>amountToSubtract</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 range that is equal to this one with the specified amount subtracted from its start and end. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::operator== </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;&#160;</td>
          <td class="paramname"><em>other</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">

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::operator!= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;&#160;</td>
          <td class="paramname"><em>other</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">

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::contains </td>
          <td>(</td>
          <td class="paramtype">const ValueType&#160;</td>
          <td class="paramname"><em>position</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 given position lies inside this range. </p>
<p>When making this comparison, the start value is considered to be inclusive, and the end of the range exclusive. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ValueType <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::clipValue </td>
          <td>(</td>
          <td class="paramtype">const ValueType&#160;</td>
          <td class="paramname"><em>value</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 nearest value to the one supplied, which lies within the range. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::contains </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;&#160;</td>
          <td class="paramname"><em>other</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 given range lies entirely inside this range. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::intersects </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;&#160;</td>
          <td class="paramname"><em>other</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 given range intersects this one. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classRange.html">Range</a> <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::getIntersectionWith </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;&#160;</td>
          <td class="paramname"><em>other</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 range that is the intersection of the two ranges, or an empty range with an undefined start position if they don't overlap. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classRange.html">Range</a> <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::getUnionWith </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;&#160;</td>
          <td class="paramname"><em>other</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 smallest range that contains both this one and the other one. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classRange.html">Range</a> <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::getUnionWith </td>
          <td>(</td>
          <td class="paramtype">const ValueType&#160;</td>
          <td class="paramname"><em>valueToInclude</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 smallest range that contains both this one and the given value. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classRange.html">Range</a> <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::constrainRange </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;&#160;</td>
          <td class="paramname"><em>rangeToConstrain</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 given range, after moving it forwards or backwards to fit it within this range. </p>
<p>If the supplied range has a greater length than this one, the return value will be this range.</p>
<p>Otherwise, if the supplied range is smaller than this one, the return value will be the new range, shifted forwards or backwards so that it doesn't extend beyond this one, but keeping its original length. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ValueType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classRange.html">Range</a> <a class="el" href="classRange.html">Range</a>&lt; ValueType &gt;::findMinAndMax </td>
          <td>(</td>
          <td class="paramtype">const ValueType *&#160;</td>
          <td class="paramname"><em>values</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>numValues</em>&#160;</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 class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Scans an array of values for its min and max, and returns these as a <a class="el" href="classRange.html" title="A general-purpose range object, that simply represents any linear range with a start and end point...">Range</a>. </p>

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