lsst.pex.config  16.0+3
Public Member Functions | Properties | List of all members
lsst.pex.config.configChoiceField.ConfigInstanceDict Class Reference
Inheritance diagram for lsst.pex.config.configChoiceField.ConfigInstanceDict:
lsst.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

A dict of instantiated configs, used to populate a ConfigChoiceField.

typemap must support the following:
- typemap[name]: return the config class associated with the given name

Definition at line 112 of file configChoiceField.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 118 of file configChoiceField.py.

Member Function Documentation

◆ __contains__()

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

Definition at line 129 of file configChoiceField.py.

◆ __getitem__()

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

Definition at line 219 of file configChoiceField.py.

◆ __iter__()

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

Definition at line 135 of file configChoiceField.py.

◆ __len__()

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

Definition at line 132 of file configChoiceField.py.

◆ __setattr__()

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

Definition at line 267 of file configChoiceField.py.

◆ __setitem__()

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

Definition at line 235 of file configChoiceField.py.

Property Documentation

◆ active

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

Definition at line 217 of file configChoiceField.py.

◆ name

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

Definition at line 201 of file configChoiceField.py.

◆ names

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

Definition at line 195 of file configChoiceField.py.

◆ types

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

Definition at line 127 of file configChoiceField.py.


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