A collection of multiple ParamSet objects.
The collection is basically a light-weight wrapper / container around references to multiple sets.
In order to ensure unique param names, every param in the collection is referred to with "<set_id>.<param_id>". Parameters from ParamSets with empty (i.e.
$set_idare referenced directly. Multiple ParamSets with
""can be combined, but their parameter names must be unique.
subsetis currently not allowed.
addcurrently only works when adding complete sets not single params.
When you either ask for 'values' or set them, the operation is delegated to the individual, contained param set references. The collection itself does not maintain a
valuesstate. This also implies that if you directly change
valuesin one of the referenced sets, this change is reflected in the collection.
Dependencies: It is possible to currently handle dependencies
regarding parameters inside of the same set - in this case simply add the dependency to the set, best before adding the set to the collection
across sets, where a param from one set depends on the state of a param from another set - in this case add call
add_depon the collection.
If you call
depson the collection, you are returned a complete table of dependencies, from sets and across sets.
sets:: list of ParamSet Parameter objects are cloned.
selfRemoves sets of given ids from collection.