A class for storing indexed model data such as events, hooks, parameters, primitives, or shocks. This class inherits from
dict and can be accessed as an ordinary
dict, but also contains
.clear() methods. Particular forms of structured data will typically subclass
funcStore should not be called or instantiated by user code.
WARNING: This is an internal class. Its use in user code is not recommended or supported, and its signature can change in future updates without warning. Use one of the suggested functions above instead, if applicable.
Click a method name for more detailed documentation.
add( name, function )
Adds a function to the dictionary. Subclasses of
funcStoreshould modify this function according to the type of data to be stored.
Clears all added data from the container.
remove( name, fname, removeall )
Removes data stored at a certain key.
multi — bool
dictvalues should store a function, or a list of functions. This is a static property and should be changed only by subclassing
Initial value: False