Class summary | |
---|---|
configuration |
Method summary | |
---|---|
configuration | configuration |
copy-object | (configuration configuration) |
copy-object-content | (source configuration) (destination configuration) |
entries | configuration |
get-configuration | object key &key |
initialize-instance | (c configuration) &key entries configuration &allow-other-keys |
parent-configuration | configuration |
print-object | (configuration configuration) stream |
set-configuration | object key value &key replace |
Function summary | |
---|---|
get-configuration-or-default | configuration key default |
make-configuration | &key entries parent-configuration |
set-configurations | configuration configurations &key (replace t) |
Macro summary | |
---|---|
define-configuration-default-value | key value |
make-config | &rest key-value-lists |
require-configuration | key |
:entries | [Initarg] |
:parent-configuration | [Initarg] |
configuration | [Slot] |
alist of key value pairs
Returns and (with setf) changes the parent-configuration of the specified configuration
Returns and (with setf) changes the configuration of the specified configuration
Sets the configuration value for the given key, replacing an already present value if :replace is true.
it is possible to pass a configuration instance or an alist with through the initarg :configuration. This method handles both cases.
deprecated. configuration was a struct before
checks configuration (can be nil) and returns the found configuration or default
Example: (make-config (key1 123) (key2 'symbol)) The keys are quoted while the values are evaluated.
when a configuration was not set, this value is returned from a call to (get-configuration x key)