lsst.pex.config  19.0.0-9-g98aad11
Public Member Functions | Properties | List of all members
pex.config.configChoiceField.ConfigInstanceDict Class Reference
Inheritance diagram for pex.config.configChoiceField.ConfigInstanceDict:
pex.config.registry.RegistryInstanceDict

Public Member Functions

def __init__ (self, config, field)
 
def __contains__ (self, k)
 
def __len__ (self)
 
def __iter__ (self)
 
def __getitem__ (self, k, at=None, label="default")
 
def __setitem__ (self, k, value, at=None, label="assignment")
 
def __setattr__ (self, attr, value, at=None, label="assignment")
 

Properties

 types = property(lambda x: x._field.typemap)
 
 names = property(_getNames, _setNames, _delNames)
 
 name = property(_getName, _setName, _delName)
 
 active = property(_getActive)
 

Detailed Description

Dictionary of instantiated configs, used to populate a
`~lsst.pex.config.ConfigChoiceField`.

Parameters
----------
config : `lsst.pex.config.Config`
    A configuration instance.
field : `lsst.pex.config.Field`-type
    A configuration field. Note that the `lsst.pex.config.Field.fieldmap`
    attribute must provide key-based access to configuration classes,
    (that is, ``typemap[name]``).

The documentation for this class was generated from the following file: