lsst.pex.config  13.0-4-gbcd7061+2
 All Classes Namespaces Files Functions Variables Properties Macros Pages
Classes | Functions | Variables
lsst.pex.config.registry Namespace Reference

Classes

class  ConfigurableWrapper
 
class  Registry
 
class  RegistryAdaptor
 
class  RegistryInstanceDict
 
class  RegistryField
 

Functions

def makeRegistry
 
def registerConfigurable
 
def registerConfig
 

Variables

tuple __all__ = ("Registry", "makeRegistry", "RegistryField", "registerConfig", "registerConfigurable")
 

Function Documentation

def lsst.pex.config.registry.makeRegistry (   doc,
  configBaseType = Config 
)
A convenience function to create a new registry.

The returned value is an instance of a trivial subclass of Registry whose only purpose is to
customize its doc string and set attrList.

Definition at line 214 of file registry.py.

def lsst.pex.config.registry.registerConfig (   name,
  registry,
  target 
)
A decorator that adds a class as a ConfigClass in a Registry, and associates it with the given
configurable.

Definition at line 235 of file registry.py.

def lsst.pex.config.registry.registerConfigurable (   name,
  registry,
  ConfigClass = None 
)
A decorator that adds a class as a configurable in a Registry.

If the 'ConfigClass' argument is None, the class's ConfigClass attribute will be used.

Definition at line 224 of file registry.py.

Variable Documentation

tuple lsst.pex.config.registry.__all__ = ("Registry", "makeRegistry", "RegistryField", "registerConfig", "registerConfigurable")

Definition at line 30 of file registry.py.