Classes | Collections

LibraryBase : MultiLevelIdentityDictionary : Collection : Object

Abstract global storage class
Source: Library.sc
Subclasses: Archive, Library

Description

Base class for Library and Archive

There is only one global instance: Archive.global, or Library.global, which is initialized automatically in the subclasses.

Class Methods

LibraryBase.global

LibraryBase.global = obj

Subclass responsibility

LibraryBase.clear

Clear the dictionary

LibraryBase.at( ... args)

Access the dictionary at a path with keys. The keys may be any object, but are usually Symbols.

LibraryBase.put( ... args)

Store an object in the dictionary at a path, given as a list of keys and the object to be stored as last argument. The keys may be any object, but are usually Symbols.

LibraryBase.atList(args)

Access the dictionary at a path, given as a list of keys. The keys may be any object, but are usually Symbols.

LibraryBase.putList(args)

Store an object in the dictionary at a path, given as a list of keys and the object to be stored as last argument. The keys may be any object, but are usually Symbols.

Inherited class methods

6 methods from Collection ► show
7 methods from Object ► show

Undocumented class methods

LibraryBase.create( ... args)

LibraryBase.postTree

Instance Methods

Inherited instance methods

98 methods from Collection ► show
260 methods from Object ► show

Examples