lsst.pex.config  18.1.0-2-g919ecaf
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]``).

Definition at line 129 of file configChoiceField.py.

Constructor & Destructor Documentation

◆ __init__()

def pex.config.configChoiceField.ConfigInstanceDict.__init__ (   self,
  config,
  field 
)

Definition at line 142 of file configChoiceField.py.

Member Function Documentation

◆ __contains__()

def pex.config.configChoiceField.ConfigInstanceDict.__contains__ (   self,
  k 
)

Definition at line 153 of file configChoiceField.py.

◆ __getitem__()

def pex.config.configChoiceField.ConfigInstanceDict.__getitem__ (   self,
  k,
  at = None,
  label = "default" 
)

Definition at line 243 of file configChoiceField.py.

◆ __iter__()

def pex.config.configChoiceField.ConfigInstanceDict.__iter__ (   self)

Definition at line 159 of file configChoiceField.py.

◆ __len__()

def pex.config.configChoiceField.ConfigInstanceDict.__len__ (   self)

Definition at line 156 of file configChoiceField.py.

◆ __setattr__()

def pex.config.configChoiceField.ConfigInstanceDict.__setattr__ (   self,
  attr,
  value,
  at = None,
  label = "assignment" 
)

Definition at line 291 of file configChoiceField.py.

◆ __setitem__()

def pex.config.configChoiceField.ConfigInstanceDict.__setitem__ (   self,
  k,
  value,
  at = None,
  label = "assignment" 
)

Definition at line 259 of file configChoiceField.py.

Property Documentation

◆ active

pex.config.configChoiceField.ConfigInstanceDict.active = property(_getActive)
static

Definition at line 236 of file configChoiceField.py.

◆ name

pex.config.configChoiceField.ConfigInstanceDict.name = property(_getName, _setName, _delName)
static

Definition at line 221 of file configChoiceField.py.

◆ names

pex.config.configChoiceField.ConfigInstanceDict.names = property(_getNames, _setNames, _delNames)
static

Definition at line 215 of file configChoiceField.py.

◆ types

pex.config.configChoiceField.ConfigInstanceDict.types = property(lambda x: x._field.typemap)
static

Definition at line 151 of file configChoiceField.py.


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