Public Member Functions | |
def | __delattr__ |
def | __init__ |
def | __repr__ |
def | __setattr__ |
def | dumpPython |
def | getParameter |
def | hasParameter |
def | insertContentsInto |
def | isFrozen |
def | isModified |
def | parameterNames_ |
def | parameters_ |
def | setIsFrozen |
Private Member Functions | |
def | __addParameter |
def | __setParameters |
Static Private Member Functions | |
def | __raiseBadSetAttr |
Private Attributes | |
_isFrozen | |
_isModified | |
Base class for classes which allow addition of _ParameterTypeBase data
def Mixins._Parameterizable.__init__ | ( | self, | |
arg, | |||
kargs | |||
) |
Definition at line 110 of file Mixins.py.
References Mixins._Parameterizable.__setParameters().
|
private |
Definition at line 178 of file Mixins.py.
References Mixins._Parameterizable.__raiseBadSetAttr(), Mixins._ParameterTypeBase._isModified, Mixins._SimpleParameterTypeBase._isModified, Mixins._Parameterizable._isModified, editorTools.UserCodeTool.dumpPython(), Mixins._ParameterTypeBase.dumpPython(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool.dumpPython(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ApplyTool.dumpPython(), Mixins.UsingBlock.dumpPython(), ConfigToolBase.ConfigToolBase.dumpPython(), Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController.dumpPython(), Mixins._Parameterizable.dumpPython(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.dumpPython(), Config.Process.dumpPython(), and Config.SubProcess.dumpPython().
Referenced by Mixins._Parameterizable.__setattr__(), Mixins._Parameterizable.__setParameters(), and Types.EDAlias.__setParameters().
def Mixins._Parameterizable.__delattr__ | ( | self, | |
name | |||
) |
Definition at line 223 of file Mixins.py.
References Mixins._ParameterTypeBase.isFrozen(), and Mixins._Parameterizable.isFrozen().
|
staticprivate |
Definition at line 229 of file Mixins.py.
Referenced by Mixins._Parameterizable.__addParameter(), and Types.EDAlias.__addParameter().
def Mixins._Parameterizable.__repr__ | ( | self | ) |
Definition at line 249 of file Mixins.py.
References editorTools.UserCodeTool.dumpPython(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool.dumpPython(), Mixins._ParameterTypeBase.dumpPython(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ApplyTool.dumpPython(), Mixins.UsingBlock.dumpPython(), ConfigToolBase.ConfigToolBase.dumpPython(), Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController.dumpPython(), Mixins._Parameterizable.dumpPython(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.dumpPython(), Config.Process.dumpPython(), and Config.SubProcess.dumpPython().
def Mixins._Parameterizable.__setattr__ | ( | self, | |
name, | |||
value | |||
) |
Definition at line 194 of file Mixins.py.
References Mixins._Parameterizable.__addParameter(), Mixins._ParameterTypeBase._isModified, Mixins._SimpleParameterTypeBase._isModified, Mixins._Parameterizable._isModified, editorTools.UserCodeTool.dumpPython(), Mixins._ParameterTypeBase.dumpPython(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool.dumpPython(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ApplyTool.dumpPython(), Mixins.UsingBlock.dumpPython(), ConfigToolBase.ConfigToolBase.dumpPython(), Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController.dumpPython(), Mixins._Parameterizable.dumpPython(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.dumpPython(), Config.Process.dumpPython(), Config.SubProcess.dumpPython(), Mixins._ParameterTypeBase.isFrozen(), Mixins._Parameterizable.isFrozen(), and reco::JetExtendedAssociation.setValue().
|
private |
Definition at line 190 of file Mixins.py.
References Mixins._Parameterizable.__addParameter().
Referenced by Mixins._Parameterizable.__init__(), and Types.EDAlias.__init__().
def Mixins._Parameterizable.dumpPython | ( | self, | |
options = PrintOptions() |
|||
) |
Definition at line 231 of file Mixins.py.
References join(), and Mixins._Parameterizable.parameterNames_().
Referenced by Mixins._Parameterizable.__addParameter(), Mixins._Parameterizable.__repr__(), and Mixins._Parameterizable.__setattr__().
def Mixins._Parameterizable.getParameter | ( | self, | |
params | |||
) |
_getParameter_ Retrieve the specified parameter from the PSet Provided given the attribute chain returns None if not found
Definition at line 150 of file Mixins.py.
Referenced by Mixins._Parameterizable.hasParameter().
def Mixins._Parameterizable.hasParameter | ( | self, | |
params | |||
) |
_hasParameter_ check that pset provided has the attribute chain specified. Eg, if params is [ 'attr1', 'attr2', 'attr3' ] check for pset.attr1.attr2.attr3 returns True if parameter exists, False if not
Definition at line 136 of file Mixins.py.
References DropBoxMetadata::Parameters.getParameter(), QIE8Simulator.getParameter(), Args.getParameter(), AbsElectronicODERHS.getParameter(), IntegratedCalibrationBase.getParameter(), SiStripLorentzAngleCalibration.getParameter(), SiPixelLorentzAngleCalibration.getParameter(), SiStripBackplaneCalibration.getParameter(), edm::ParameterSet.getParameter(), and Mixins._Parameterizable.getParameter().
def Mixins._Parameterizable.insertContentsInto | ( | self, | |
parameterSet | |||
) |
Definition at line 251 of file Mixins.py.
References Mixins._Parameterizable.parameterNames_().
Referenced by Modules.Service.insertInto(), Mixins._TypedParameterizable.insertInto(), and Types.PSet.insertInto().
def Mixins._Parameterizable.isFrozen | ( | self | ) |
Definition at line 217 of file Mixins.py.
References Mixins._ParameterTypeBase._isFrozen, and Mixins._Parameterizable._isFrozen.
Referenced by Mixins._Parameterizable.__delattr__(), and Mixins._Parameterizable.__setattr__().
def Mixins._Parameterizable.isModified | ( | self | ) |
Definition at line 126 of file Mixins.py.
References Mixins._ParameterTypeBase._isModified, Mixins._SimpleParameterTypeBase._isModified, Mixins._Parameterizable._isModified, and Mixins._Parameterizable.parameterNames_().
def Mixins._Parameterizable.parameterNames_ | ( | self | ) |
Returns the name of the parameters
Definition at line 123 of file Mixins.py.
Referenced by Types.PSet.configValue(), Mixins._TypedParameterizable.dumpConfig(), Mixins._Parameterizable.dumpPython(), Mixins._TypedParameterizable.dumpPython(), Types.EDAlias.dumpPython(), Modules.ESPrefer.dumpPythonAs(), Mixins._TypedParameterizable.dumpPythonAttributes(), Mixins._Parameterizable.insertContentsInto(), Types.EDAlias.insertInto(), Mixins._Parameterizable.isModified(), and Mixins._Parameterizable.parameters_().
def Mixins._Parameterizable.parameters_ | ( | self | ) |
Returns a dictionary of copies of the user-set parameters
Definition at line 170 of file Mixins.py.
References python.multivaluedict.dict, and Mixins._Parameterizable.parameterNames_().
Referenced by Mixins._TypedParameterizable.clone(), Types.PSet.clone(), and Mixins._TypedParameterizable.copy().
def Mixins._Parameterizable.setIsFrozen | ( | self | ) |
Definition at line 219 of file Mixins.py.
Referenced by Modules._Module.__init__().
|
private |
Definition at line 220 of file Mixins.py.
Referenced by SequenceTypes._ModuleSequenceType.isFrozen(), and Mixins._Parameterizable.isFrozen().
|
private |
Definition at line 121 of file Mixins.py.
Referenced by Mixins._Parameterizable.__addParameter(), Mixins._Parameterizable.__setattr__(), Mixins._TypedParameterizable.copy(), and Mixins._Parameterizable.isModified().