cmp.st-build
store
(store {id :_id, rev :_rev, mp :Mp})Triggers the storing of meta, exchange, containers etc. to the short term memory.
store-all-container
(store-all-container p {conts :Container})Triggers the storing of the containers.
store-all-definitions
(store-all-definitions p {defins :Definitions})Triggers the storing of the definition section.
store-container
(store-container p idx {descr :Description, title :Title, ctrl :Ctrl, elem :Element, defin :Definition})Stores a single container.
store-definitions
(store-definitions p idx ds)Stores a definition given in the definition section (second way beside container to provide definitions). This includes DefinitionClass and Conditions.
store-defins
(store-defins p idx defin)Stores the definitions section. Initiates all state keys with ready.
store-meta
(store-meta p {standard :Standard, name :Name, descr :Description, cont :Container, defins :Definitions})Stores the meta data of an mpd:
- standard
- name
- description
- number of containers
- number of definitions