cmake build system: visiblity support for clang
[supercollider.git] / Help / Collections / Library.html
blob828ed932ea6cd35f5bef7a99c6abf4db6405a5ac
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <meta http-equiv="Content-Style-Type" content="text/css">
6 <title></title>
7 <meta name="Generator" content="Cocoa HTML Writer">
8 <meta name="CocoaVersion" content="949.43">
9 <style type="text/css">
10 p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}
11 p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; min-height: 12.0px}
12 p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; color: #0021e7}
13 p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px}
14 p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica}
15 p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; color: #001bb9; min-height: 14.0px}
16 p.p7 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #606060}
17 p.p8 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #2c7014}
18 p.p9 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco}
19 span.s1 {font: 18.0px Helvetica}
20 span.s2 {color: #000000}
21 span.s3 {color: #001bb9}
22 span.s4 {text-decoration: underline}
23 span.s5 {text-decoration: underline ; color: #0021e7}
24 span.s6 {color: #2c7014}
25 span.Apple-tab-span {white-space:pre}
26 </style>
27 </head>
28 <body>
29 <p class="p1"><span class="s1"><b>Library<span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></b></span><b>keeping objects in a central place</b></p>
30 <p class="p2"><br></p>
31 <p class="p3"><span class="s2"><b>Inherits from: </b><a href="../Core/Object.html"><span class="s3"><b>Object</b></span></a><b> : </b><a href="Collection.html"><b>Collection</b></a><b> : </b><a href="MultiLevelIdentityDictionary.html"><b>MultiLevelIdentityDictionary</b></a><b> : </b><a href="LibraryBase.html"><span class="s3"><b>LibraryBase</b></span></a></span></p>
32 <p class="p2"><br></p>
33 <p class="p1">Library is a global MultiLevelIdentityDictionary.</p>
34 <p class="p4"><br></p>
35 <p class="p3"><span class="s2">see also: <a href="Archive.html"><span class="s4">Archive</span></a></span><span class="s3">, <a href="LibraryBase.html"><span class="s5">LibraryBase</span></a></span></p>
36 <p class="p4"><br></p>
37 <p class="p5"><b>Methods: see superclass.</b></p>
38 <p class="p4"><br></p>
39 <p class="p1">The last argument to put is the object being inserted:</p>
40 <p class="p6"><br></p>
41 <p class="p7"><span class="s3">Library</span><span class="s2">.put(</span><span class="s6">\multi</span><span class="s2">, </span><span class="s6">\level</span><span class="s2">, </span><span class="s6">\addressing</span><span class="s2">, </span><span class="s6">\system</span><span class="s2">, </span>"i'm the thing you are putting in here"<span class="s2">);</span></p>
42 <p class="p2"><br></p>
43 <p class="p8"><span class="s3">Library</span><span class="s2">.at(</span>\multi<span class="s2">, </span>\level<span class="s2">, </span>\addressing<span class="s2">, </span>\system<span class="s2">).postln;</span></p>
44 <p class="p2"><br></p>
45 <p class="p8"><span class="s3">Library</span><span class="s2">.atList([</span>\multi<span class="s2">, </span>\level<span class="s2">, </span>\addressing<span class="s2">, </span>\system<span class="s2">]).postln;</span></p>
46 <p class="p2"><br></p>
47 <p class="p1">The Library can be used as a place to store data that you want globally accesible.<span class="Apple-converted-space">  </span>Its an alternative to using class variables.<span class="Apple-converted-space">  </span>Its a nice place to store menus, annotations, and commonly reusable functions.</p>
48 <p class="p2"><br></p>
49 <p class="p1"><b>postTree</b></p>
50 <p class="p1"><span class="Apple-tab-span"> </span>post a formatted description of the entire library</p>
51 <p class="p2"><span class="Apple-tab-span"> </span></p>
52 <p class="p9"><span class="Apple-tab-span"> </span><span class="s3">Library</span>.postTree;</p>
53 </body>
54 </html>