LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
lsst.pex.config.registry.RegistryField Class Reference
Inheritance diagram for lsst.pex.config.registry.RegistryField:

Public Member Functions

def __init__
 
def __deepcopy__
 

Public Attributes

 registry
 

Static Public Attributes

 instanceDictClass = RegistryInstanceDict
 

Detailed Description

Definition at line 173 of file registry.py.

Constructor & Destructor Documentation

def lsst.pex.config.registry.RegistryField.__init__ (   self,
  doc,
  registry,
  default = None,
  optional = False,
  multi = False 
)

Definition at line 176 of file registry.py.

177  def __init__(self, doc, registry, default=None, optional=False, multi=False):
178  types = RegistryAdaptor(registry)
179  self.registry = registry
180  ConfigChoiceField.__init__(self, doc, types, default, optional, multi)

Member Function Documentation

def lsst.pex.config.registry.RegistryField.__deepcopy__ (   self,
  memo 
)
Customize deep-copying, want a reference to the original registry.
WARNING: this must be overridden by subclasses if they change the 
    constructor signature!

Definition at line 181 of file registry.py.

182  def __deepcopy__(self, memo):
183  """Customize deep-copying, want a reference to the original registry.
184  WARNING: this must be overridden by subclasses if they change the
185  constructor signature!
186  """
187  other = type(self)(doc=self.doc, registry=self.registry,
188  default=copy.deepcopy(self.default),
189  optional=self.optional, multi=self.multi)
190  other.source=self.source
191  return other

Member Data Documentation

lsst.pex.config.registry.RegistryField.instanceDictClass = RegistryInstanceDict
static

Definition at line 174 of file registry.py.

lsst.pex.config.registry.RegistryField.registry

Definition at line 178 of file registry.py.


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