configuration

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
configuration    [Class]
:entries    [Initarg]
:parent-configuration    [Initarg]
configuration    [Slot]

alist of key value pairs

parent-configuration   configuration  [Generic function]

Returns and (with setf) changes the parent-configuration of the specified configuration

entries   configuration  [Generic function]

Returns and (with setf) changes the configuration of the specified configuration

configuration   configuration  [Generic function]

Returns and (with setf) changes the configuration of the specified configuration

get-configuration   object key &key  [Generic function]

Gets the configuration value for a key

set-configuration   object key value &key replace  [Generic function]

Sets the configuration value for the given key, replacing an already present value if :replace is true.

initialize-instance   (c configuration) &key entries configuration &allow-other-keys  [After method]

it is possible to pass a configuration instance or an alist with through the initarg :configuration. This method handles both cases.

print-object   (configuration configuration) stream  [Method]
copy-object   (configuration configuration)  [Method]
copy-object-content   (source configuration) (destination configuration)  [Method]
make-configuration   &key entries parent-configuration  [Function]

deprecated. configuration was a struct before

get-configuration-or-default   configuration key default  [Function]

checks configuration (can be nil) and returns the found configuration or default

set-configurations   configuration configurations &key (replace t)  [Function]
make-config   &rest key-value-lists  [Macro]

Example: (make-config (key1 123) (key2 'symbol)) The keys are quoted while the values are evaluated.

define-configuration-default-value   key value  [Macro]

when a configuration was not set, this value is returned from a call to (get-configuration x key)

require-configuration   key  [Macro]

throws an error when a configuration was not set